Instructions to use JungIn/Text2SQL_with_tinyllama with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use JungIn/Text2SQL_with_tinyllama with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("TinyLlama/TinyLlama-1.1B-Chat-v1.0") model = PeftModel.from_pretrained(base_model, "JungIn/Text2SQL_with_tinyllama") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from JungIn/Text2SQL_with_tinyllama: direct link, hf CLI and curl.
- Browser
- Download file 1.84 MB
-
https://huggingface.co/JungIn/Text2SQL_with_tinyllama/resolve/8fbcff339ebf07158d624807b5be50afde62a5cf/tokenizer.json
- Command line
-
hf download hf://JungIn/Text2SQL_with_tinyllama@8fbcff339ebf07158d624807b5be50afde62a5cf/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/JungIn/Text2SQL_with_tinyllama/resolve/8fbcff339ebf07158d624807b5be50afde62a5cf/tokenizer.json
1.84 MB
File too large to display, you can check the raw version instead.