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