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