Instructions to use wayne003/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 wayne003/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, "wayne003/code-llama-7b-text-to-sql") - Notebooks
- Google Colab
- Kaggle
Download adapter_model.safetensors from wayne003/code-llama-7b-text-to-sql: direct link, hf CLI and curl.
- Browser
- Download file 1.8 GB
-
https://huggingface.co/wayne003/code-llama-7b-text-to-sql/resolve/main/adapter_model.safetensors
- Command line
-
hf download hf://wayne003/code-llama-7b-text-to-sql/adapter_model.safetensors
-
curl -L -o adapter_model.safetensors https://huggingface.co/wayne003/code-llama-7b-text-to-sql/resolve/main/adapter_model.safetensors
1.8 GB
- Xet hash:
- 2d82ec6a99ed354a98ad3e07cfabbe7e7fc025c06e15cc71e60a9621c947b531
- Size of remote file:
- 1.8 GB
- SHA256:
- d30259d69c3914a04d81c5465a2e260feb984b0d84759867c803dcf75e121e28
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.