Instructions to use jurieyel/text2sql-tinyllama-4bit-tokenizer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jurieyel/text2sql-tinyllama-4bit-tokenizer with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("jurieyel/text2sql-tinyllama-4bit-tokenizer", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Unsloth Studio new
How to use jurieyel/text2sql-tinyllama-4bit-tokenizer with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for jurieyel/text2sql-tinyllama-4bit-tokenizer to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for jurieyel/text2sql-tinyllama-4bit-tokenizer to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for jurieyel/text2sql-tinyllama-4bit-tokenizer to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="jurieyel/text2sql-tinyllama-4bit-tokenizer", max_seq_length=2048, )
Upload model trained with Unsloth
Browse filesUpload model trained with Unsloth 2x faster
- tokenizer_config.json +1 -1
tokenizer_config.json
CHANGED
|
@@ -38,7 +38,7 @@
|
|
| 38 |
"input_ids",
|
| 39 |
"attention_mask"
|
| 40 |
],
|
| 41 |
-
"model_max_length":
|
| 42 |
"pad_token": "<unk>",
|
| 43 |
"padding_side": "right",
|
| 44 |
"sep_token": null,
|
|
|
|
| 38 |
"input_ids",
|
| 39 |
"attention_mask"
|
| 40 |
],
|
| 41 |
+
"model_max_length": 2048,
|
| 42 |
"pad_token": "<unk>",
|
| 43 |
"padding_side": "right",
|
| 44 |
"sep_token": null,
|