junmingg commited on
Commit
818c8d0
·
verified ·
1 Parent(s): b8f8c46

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +44 -21
README.md CHANGED
@@ -1,21 +1,44 @@
1
- ---
2
- base_model: unsloth/qwen2.5-coder-7b-instruct-bnb-4bit
3
- tags:
4
- - text-generation-inference
5
- - transformers
6
- - unsloth
7
- - qwen2
8
- license: apache-2.0
9
- language:
10
- - en
11
- ---
12
-
13
- # Uploaded finetuned model
14
-
15
- - **Developed by:** junmingg
16
- - **License:** apache-2.0
17
- - **Finetuned from model :** unsloth/qwen2.5-coder-7b-instruct-bnb-4bit
18
-
19
- This qwen2 model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.
20
-
21
- [<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: Qwen/Qwen2.5-Coder-7B-Instruct
4
+ datasets:
5
+ - b-mc2/sql-create-context
6
+ language:
7
+ - en
8
+ library_name: transformers
9
+ pipeline_tag: text-generation
10
+ tags:
11
+ - text-to-sql
12
+ - text2sql
13
+ - sql
14
+ - qlora
15
+ - peft
16
+ - unsloth
17
+ - qwen2.5
18
+ ---
19
+
20
+ # Qwen2.5-Coder-7B Text-to-SQL — filtered-train variant (QLoRA)
21
+
22
+ Same recipe as [`junmingg/qwen2.5-coder-7b-text2sql`](https://huggingface.co/junmingg/qwen2.5-coder-7b-text2sql),
23
+ but the **80 training rows whose gold SQL is unparseable** (0.32% — WikiSQL label noise) were dropped before
24
+ fine-tuning (24,920 train rows). This is the **label-noise ablation** described in the main model card.
25
+
26
+ ## Results (held-out 500 examples — identical references)
27
+
28
+ | Model | Exact match | Semantic equiv. | SQL validity |
29
+ |---|---|---|---|
30
+ | Base (zero-shot) | 3.8% | 67.0% | 100.0% |
31
+ | Main model (full 25k train) | 78.8% | 86.2% | 99.2% |
32
+ | **This model (filtered 24.9k train)** | 78.6% | 85.4% | **99.8%** |
33
+
34
+ On the valid-reference subset (497 rows) this model reaches **100%** validity. Cleaning the noisy labels moved
35
+ **validity, not accuracy** — exact-match and semantic-equivalence are unchanged within run-to-run noise.
36
+
37
+ **Use the main model unless you specifically want this ablation.** Usage, training details, evaluation
38
+ methodology, and limitations are identical to the
39
+ [main model card](https://huggingface.co/junmingg/qwen2.5-coder-7b-text2sql). Code + harness:
40
+ https://github.com/junmingg/Unsloth-Qwen2.5-Coder-7b-Text-to-SQL-SFT
41
+
42
+ ## License & attribution
43
+
44
+ Apache-2.0 (base model). Training data: `b-mc2/sql-create-context` (CC-BY-4.0).