Run this model with HF Jobs
Run kyryl-opens-ml/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/kyryl-opens-ml/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/kyryl-opens-ml/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 kyryl-opens-ml/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 kyryl-opens-ml/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, "kyryl-opens-ml/code-llama-7b-text-to-sql") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 0
Browse filesFiles changed (3)
18 unmodified lines1920212222232425262627282829303118 unmodified lines "rank_pattern": {}, "revision": null, "target_modules": [ "up_proj", "k_proj", "q_proj", "down_proj", "o_proj", "v_proj", "up_proj", "gate_proj", "q_proj" "v_proj" ], "task_type": "CAUSAL_LM", "use_rslora": false1223version https://git-lfs.github.com/spec/v1oid sha256:8dc272a52243a4711c593e108f08a92a6578d7671f9c444e2ed087a17acae48doid sha256:f6ee884771591cdbb88eefe3629f72af8300dfd9d452c5030c108c373c06e9f7size 18039079841223version https://git-lfs.github.com/spec/v1oid sha256:f1c216b63f63d6d40868c196b6d6973869741b5da0f0eabf6c410b5a89939547oid sha256:b79705674739015c4e5f3e491c133c31dcf6efddbf8d1d48a413ad0ddcf434cdsize 4728adapter_config.json+3-3
adapter_model.safetensors+1-1
training_args.bin+1-1