Sompote commited on
Commit
642cfe0
·
verified ·
1 Parent(s): b3128ec

Update model card with holdout comparison table

Browse files
Files changed (1) hide show
  1. README.md +19 -11
README.md CHANGED
@@ -16,21 +16,25 @@ pipeline_tag: text-generation
16
 
17
  # GeoTech-SLM-9B-LoRA
18
 
19
- LoRA adapters (`sd-a30/` and `grpo-60/`) for [Qwen/Qwen3.5-9B](https://huggingface.co/Qwen/Qwen3.5-9B), trained for geotechnical design calculations. Serve them as a thinking-mode vote of 8 (32,768 tokens, temperature 0.8, top-p 0.95, top-k 20). Details are in the paper *A local small language model with frontier-agent fallback for geotechnical design calculations* (Youwai, KMUTT, 2026).
20
 
21
  **Do not merge the `grpo-60` adapter into bf16**; apply it as a runtime LoRA on the merged `sd-a30` model, or most of the GRPO update is lost. This model is not a substitute for a licensed engineer's checks.
22
 
23
- ## Performance (GeoTechBench v0.4.1 holdout, N = 338)
24
 
25
- | System | Inference | Correct |
26
- | --- | --- | ---: |
27
- | Qwen3.5-9B base | greedy | 150 |
28
- | Qwen3.5-9B base | one thinking reply | 208 |
29
- | This model (SD + Dr.GRPO) | one thinking reply | 208 |
30
- | This model (SD + Dr.GRPO) | vote of 8 | 256 (75.7%) |
31
- | DeepSeek-V4.1-Flash | API, reasoning | 280 |
32
- | Hybrid + Claude fallback (cross-validated) | local vote, else Claude | 334/338 at $0.480 |
33
- | Claude Opus 5.5 agent alone | agent + tools | 338/338 at $0.910 |
 
 
 
 
34
 
35
  ## Usage
36
 
@@ -48,6 +52,10 @@ model = PeftModel.from_pretrained(model, repo, subfolder="grpo-60") # runtime L
48
 
49
  For the vote-of-8 result, draw 8 samples with `enable_thinking=True`, `max_new_tokens=32768`, temperature 0.8, top-p 0.95 and top-k 20, then majority-vote the answers. For vLLM, serve the merged `sd-a30` model and attach `grpo-60` with `--enable-lora --max-lora-rank 32`.
50
 
 
 
 
 
51
  ## Citation
52
 
53
  ```bibtex
 
16
 
17
  # GeoTech-SLM-9B-LoRA
18
 
19
+ LoRA adapters (`sd-a30/` and `grpo-60/`) for [Qwen/Qwen3.5-9B](https://huggingface.co/Qwen/Qwen3.5-9B), trained for geotechnical design calculations. Details are in the paper *A local small language model with frontier-agent fallback for geotechnical design calculations* (Youwai, KMUTT, 2026).
20
 
21
  **Do not merge the `grpo-60` adapter into bf16**; apply it as a runtime LoRA on the merged `sd-a30` model, or most of the GRPO update is lost. This model is not a substitute for a licensed engineer's checks.
22
 
23
+ ## Performance (GeoTechBench v0.4.1 holdout, N = 338, thinking mode, 32k budget)
24
 
25
+ | | Base 9B | SD (sdA-30) | SD+GRPO-60 |
26
+ | --- | ---: | ---: | ---: |
27
+ | Single reply at 32k (T 0.6) | 208 | 210 | 208 |
28
+ | Same replies cut at 14k | 154 | 163 | 179 |
29
+ | Median reply length (tokens) | 13,820 | 12,847 | 12,031 |
30
+ | Truncated at 14k | 46.4% | 38.5% | 32.8% |
31
+ | Truncated at 32k | 7.1% | 7.7% | 5.6% |
32
+ | Accuracy of finished replies at 32k | 66.2% | 67.3% | 65.2% |
33
+ | Vote of 8 (T 0.8), majority | pending (running) | 245 | 256 |
34
+ | Vote of 8, mean single sample | pending (running) | 213.4 | 216.5 |
35
+ | Vote of 8, pass@8 | pending (running) | 283 | 287 |
36
+
37
+ At 14k, SD+GRPO vs base is +42/−17 (exact McNemar p = 0.0015). At 32k the single-reply differences are not significant (p = 0.905 for SD vs base, p = 1.0 for GRPO vs base).
38
 
39
  ## Usage
40
 
 
52
 
53
  For the vote-of-8 result, draw 8 samples with `enable_thinking=True`, `max_new_tokens=32768`, temperature 0.8, top-p 0.95 and top-k 20, then majority-vote the answers. For vLLM, serve the merged `sd-a30` model and attach `grpo-60` with `--enable-lora --max-lora-rank 32`.
54
 
55
+ ## License
56
+
57
+ These adapters are released under [Apache 2.0](https://huggingface.co/Qwen/Qwen3.5-9B/blob/main/LICENSE), following the base model [Qwen/Qwen3.5-9B](https://huggingface.co/Qwen/Qwen3.5-9B).
58
+
59
  ## Citation
60
 
61
  ```bibtex