Instructions to use kbalde/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 kbalde/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, "kbalde/code-llama-7b-text-to-sql") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
fe6ad21 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:b1c3b7d0a3f80d530f5196879b7cd995ec4a081d1b354881dc38843b55e4c715
size 4728
|