Instructions to use philschmid/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 philschmid/code-llama-7b-text-to-sql with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/CodeLlama-7b-hf") model = PeftModel.from_pretrained(base_model, "philschmid/code-llama-7b-text-to-sql") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
8468dc5 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:a69c8f2e54987395dfda54585ac2e7121eef865e5c7064771081943c634838fc
size 4728
|