Run this model with HF Jobs
Run huggirus/code-llama-7b-text-to-sql on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/huggirus/code-llama-7b-text-to-sql. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/huggirus/code-llama-7b-text-to-sql on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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
Training in progress, epoch 2
Browse filesFiles changed (2)
1223version https://git-lfs.github.com/spec/v1oid sha256:4e9687cec15feebcd75af10a81f260423c47af655b15231096cda173a32ca54aoid sha256:57782cd3001606013e35b43f1f503a04437534efe8509a5430cde1093eab7b3fsize 180390798412323version https://git-lfs.github.com/spec/v1oid sha256:a05df00c2718c988b0d101e26a119d6d15b22c1e1b639a8de5dbdca5226d05d8size 5727oid sha256:a8aab9956009450c461d9a40e8573ae2bb730d47c5bd8165bf37028a1823e635size 6808adapter_model.safetensors+1-1
runs/Jan27_18-55-32_ai1/events.out.tfevents.1706378136.ai1.6039.0+2-2