Instructions to use xander-717/code-llama-7b-text-to-sql with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use xander-717/code-llama-7b-text-to-sql with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("codellama/CodeLlama-7b-hf") model = PeftModel.from_pretrained(base_model, "xander-717/code-llama-7b-text-to-sql") - Notebooks
- Google Colab
- Kaggle
File size: 51 Bytes
0106e46 | 1 2 3 4 5 | {
"<|im_end|>": 32016,
"<|im_start|>": 32017
}
|