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