Run this model with HF Jobs
Run philschmid/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/philschmid/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/philschmid/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 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
Training in progress, epoch 3
Browse filesFiles changed (2)
123version https://git-lfs.github.com/spec/v1oid sha256:7ddc8e3fcfb36ce0c14f1e3d9965cd615b7f11dcb4e38ddc57c04666b868f7e0size 1803907984123version https://git-lfs.github.com/spec/v1oid sha256:a30e2d7eb20cce84990e2f2b7dc35a9305e95aa56011eee205a53610a1df0d44size 1803907984
123version https://git-lfs.github.com/spec/v1oid sha256:ec4e1e878560d9f2fb4335ca1027345b7e21f15f0dadfb39b9b910ab99b277b3size 6821123version https://git-lfs.github.com/spec/v1oid sha256:4deaaa2c83b8c63f81fab226d4953430297bd72b7292596c6a1ef25e743a65f6size 8274
adapter_model.safetensors+1-1
runs/Jan22_14-36-54_ip-172-31-27-157/events.out.tfevents.1705934222.ip-172-31-27-157.4225.0+2-2