Run this model with HF Jobs
Run torphix/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/torphix/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/torphix/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 torphix/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 torphix/code-llama-7b-text-to-sql with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("stabilityai/stablelm-2-zephyr-1_6b") model = PeftModel.from_pretrained(base_model, "torphix/code-llama-7b-text-to-sql") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 4
Browse filesFiles changed (2)
123version https://git-lfs.github.com/spec/v1oid sha256:b10530da569d4cb7aaebe355af33782dcbf5e9cce94689c69dd07bfbd05feea2size 968929888123version https://git-lfs.github.com/spec/v1oid sha256:017e2bc8f6e67b38c25329598f49ded7b237b73441556e0f4c5a19ddfa29cbd7size 968929888
123version https://git-lfs.github.com/spec/v1oid sha256:62e1efecab3d55349f94c1799c2d515c279bf7ec49d6620105343fa7e9247044size 5105123version https://git-lfs.github.com/spec/v1oid sha256:5813b581854abf66faa2275cc92d395a9dc58e98ae4f1e46be6896fee7005f58size 5453
adapter_model.safetensors+1-1
runs/Feb04_10-27-12_a9d26f360246/events.out.tfevents.1707042444.a9d26f360246.6700.0+2-2