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 1
Browse filesFiles changed (3)
18 unmodified lines1920212223222526232425262728293018 unmodified lines "rank_pattern": {}, "revision": null, "target_modules": [ "k_proj", "gate_proj", "up_proj", "v_proj", "o_proj", "k_proj", "down_proj", "o_proj", "v_proj", "gate_proj", "q_proj" ], "task_type": "CAUSAL_LM",1223version https://git-lfs.github.com/spec/v1oid sha256:3123c2f933de4f9d83378ee15aab2c4e8aa4ca9a90696e7068068687ac77ed6boid sha256:e97cc80049f60fedabd9911baf1b5cf3a2f5b5475018cfebeeb3f7b502f03498size 18039079841223version https://git-lfs.github.com/spec/v1oid sha256:3f77249db5465acfe4483264e74ba40238496278dbeb3bbdd9e2b1d5af32ea20oid sha256:f1c216b63f63d6d40868c196b6d6973869741b5da0f0eabf6c410b5a89939547size 4728adapter_config.json+4-4
adapter_model.safetensors+1-1
training_args.bin+1-1