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 1
Browse filesFiles changed (3)
19 unmodified lines202122232425262719 unmodified lines"revision": null,"target_modules": ["q_proj","v_proj","k_proj"],"task_type": "CAUSAL_LM"}19 unmodified lines202122232425262719 unmodified lines"revision": null,"target_modules": ["q_proj","k_proj","v_proj"],"task_type": "CAUSAL_LM"}
123version https://git-lfs.github.com/spec/v1oid sha256:205f9b7869cc91557c2c8f819da12420cc5e3de7b807864f6ff68d57fa1aed7dsize 402679744123version https://git-lfs.github.com/spec/v1oid sha256:836ad091c0f38aba6c1107035f18e98676a155829bcad0872da481d2a27b52e8size 402679744
123version https://git-lfs.github.com/spec/v1oid sha256:caa161f97bf89275f0e9416189dbc59ce9e8ff3aaf2d0c0126b3a16c44562260size 4728123version https://git-lfs.github.com/spec/v1oid sha256:2bd037dce2740b231dc92beca9dad792eebaca618173197b67b011d6d66bde27size 4792
adapter_config.json+2-2
adapter_model.safetensors+1-1
training_args.bin+2-2