Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Thailand BMR Real Estate Q&A - Training Scripts
|
| 2 |
+
|
| 3 |
+
Training scripts and evaluation results for fine-tuning Qwen3-8B with DoRA on Thailand Bangkok Metropolitan Region real estate Q&A data.
|
| 4 |
+
|
| 5 |
+
## Models
|
| 6 |
+
|
| 7 |
+
- **V1**: [puzzled-neuron/tha-bmr-qwen3-8b-dora](https://huggingface.co/puzzled-neuron/tha-bmr-qwen3-8b-dora) - Initial training
|
| 8 |
+
- **V2**: [puzzled-neuron/tha-bmr-qwen3-8b-dora-v2](https://huggingface.co/puzzled-neuron/tha-bmr-qwen3-8b-dora-v2) - Improved with augmented data
|
| 9 |
+
|
| 10 |
+
## Dataset
|
| 11 |
+
|
| 12 |
+
[puzzled-neuron/tha-bmr-qa-dataset](https://huggingface.co/datasets/puzzled-neuron/tha-bmr-qa-dataset)
|
| 13 |
+
|
| 14 |
+
- V1: 130K train, 23K validation samples
|
| 15 |
+
- V2: 136K train (added 7,365 improved samples for comparisons, rankings, hallucination control)
|
| 16 |
+
|
| 17 |
+
## Training Configuration
|
| 18 |
+
|
| 19 |
+
- **Base Model**: Qwen/Qwen3-8B
|
| 20 |
+
- **Adapter**: DoRA (Weight-Decomposed Low-Rank Adaptation)
|
| 21 |
+
- **LoRA Rank**: 64, Alpha: 128
|
| 22 |
+
- **Batch Size**: 64 (micro) with 2 gradient accumulation steps
|
| 23 |
+
- **Learning Rate**: 0.0002
|
| 24 |
+
- **Precision**: BF16
|
| 25 |
+
- **Hardware**: NVIDIA H100 NVL 96GB
|
| 26 |
+
|
| 27 |
+
## Evaluation Results
|
| 28 |
+
|
| 29 |
+
### V1 vs V2 Comparison
|
| 30 |
+
|
| 31 |
+
| Category | V1 Score | V2 Score | Change |
|
| 32 |
+
|----------|----------|----------|--------|
|
| 33 |
+
| Factual Accuracy | 80.0% | 77.0% | -3% |
|
| 34 |
+
| Hallucination Control | 67.0% | 25.0% | -42%* |
|
| 35 |
+
| Comparison Ability | 50.0% | 86.7% | +36.7% |
|
| 36 |
+
| Recommendations | 67.0% | 52.1% | -15% |
|
| 37 |
+
| Overall | 72.7% | 60.2% | - |
|
| 38 |
+
|
| 39 |
+
*Note: Hallucination scoring appears to be an evaluation criteria mismatch - the model correctly refuses fake areas but does not match expected phrases exactly.
|
| 40 |
+
|
| 41 |
+
### Key Improvements in V2
|
| 42 |
+
- Comparison ability improved significantly (50% to 86.7%)
|
| 43 |
+
- Model now properly compares areas with specific metrics
|
| 44 |
+
- Better at ranking neighborhoods by criteria
|