Instructions to use AaronTekle/SQLQwen with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use AaronTekle/SQLQwen with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-Coder-0.5B-Instruct") model = PeftModel.from_pretrained(base_model, "AaronTekle/SQLQwen") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -152,7 +152,7 @@ completed fine-tuning run shows:
|
|
| 152 |
* **100% syntax-valid SQL generation** across the 50-example held-out benchmark
|
| 153 |
* successful local fine-tuning of a code-focused language model using an **NVIDIA GeForce RTX 3050**
|
| 154 |
|
| 155 |
-
##
|
| 156 |
```python
|
| 157 |
|
| 158 |
from peft import PeftModel
|
|
|
|
| 152 |
* **100% syntax-valid SQL generation** across the 50-example held-out benchmark
|
| 153 |
* successful local fine-tuning of a code-focused language model using an **NVIDIA GeForce RTX 3050**
|
| 154 |
|
| 155 |
+
## Example Import (PEFT library):
|
| 156 |
```python
|
| 157 |
|
| 158 |
from peft import PeftModel
|