Run this model with HF Jobs
Run asaha-cdcp/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/asaha-cdcp/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/asaha-cdcp/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 asaha-cdcp/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 asaha-cdcp/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, "asaha-cdcp/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:e48b609319d9f57bc2e8b8fa78b053ad90c50c8912f177c33f45318990085d26size 402679744123version https://git-lfs.github.com/spec/v1oid sha256:205f9b7869cc91557c2c8f819da12420cc5e3de7b807864f6ff68d57fa1aed7dsize 402679744
123version https://git-lfs.github.com/spec/v1oid sha256:c7e0103fb662a1b571ebba6567697c1cf34d0988044694850d9bd2f9ac1d5f13size 6821123version https://git-lfs.github.com/spec/v1oid sha256:f71d577b1e8b1f6c62a5e9d10ae60c6a8345a20dc045d4bfd1920a1de6b48da7size 8274
adapter_model.safetensors+1-1
runs/Jan24_17-46-22_ip-10-100-14-144/events.out.tfevents.1706118453.ip-10-100-14-144.17439.0+2-2