Upload folder using huggingface_hub
Browse files
README.md
CHANGED
|
@@ -60,7 +60,7 @@ from transformers import AutoModelForCausalLM, AutoTokenizer
|
|
| 60 |
import torch
|
| 61 |
|
| 62 |
model = AutoModelForCausalLM.from_pretrained(
|
| 63 |
-
"
|
| 64 |
trust_remote_code=True,
|
| 65 |
torch_dtype=torch.bfloat16,
|
| 66 |
device_map="auto"
|
|
@@ -78,12 +78,6 @@ outputs = model.generate(inputs, max_new_tokens=256)
|
|
| 78 |
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
|
| 79 |
```
|
| 80 |
|
| 81 |
-
## Limitations
|
| 82 |
-
|
| 83 |
-
- Trained on synthetic data for a specific database schema
|
| 84 |
-
- Best suited for similar SQL query patterns seen during training
|
| 85 |
-
- May not generalize well to very different database schemas
|
| 86 |
-
|
| 87 |
## License
|
| 88 |
|
| 89 |
This model is released under the Apache 2.0 license, following the base model's license.
|
|
|
|
| 60 |
import torch
|
| 61 |
|
| 62 |
model = AutoModelForCausalLM.from_pretrained(
|
| 63 |
+
"hybridaione/LFM2.5-1.2B-Text2SQL",
|
| 64 |
trust_remote_code=True,
|
| 65 |
torch_dtype=torch.bfloat16,
|
| 66 |
device_map="auto"
|
|
|
|
| 78 |
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
|
| 79 |
```
|
| 80 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 81 |
## License
|
| 82 |
|
| 83 |
This model is released under the Apache 2.0 license, following the base model's license.
|