Run this model with HF Jobs
Run kyryl-opens-ml/duckdb-text2sql-codellama 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/duckdb-text2sql-codellama. 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/duckdb-text2sql-codellama 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/duckdb-text2sql-codellama with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use kyryl-opens-ml/duckdb-text2sql-codellama 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/duckdb-text2sql-codellama") - Notebooks
- Google Colab
- Kaggle
Model save
Browse filesFiles changed (5)
18 unmodified lines1920212223222324252618 unmodified lines "rank_pattern": {}, "revision": null, "target_modules": [ "q_proj", "v_proj" "v_proj", "q_proj" ], "task_type": "CAUSAL_LM", "use_rslora": false1223version https://git-lfs.github.com/spec/v1oid sha256:3f6d7ac808f2755b12a3e102fd2740d98bf2f91fcdbd71376e1407b6d1b92b6aoid sha256:50acbcc5ddbbc992015b1d41cdfc047b7724396a15aee565a6716c05f6870d3fsize 5581552321234345667{ "epoch": 0.02, "train_loss": 0.8489210605621338, "train_runtime": 59.8561, "train_loss": 0.8337423205375671, "train_runtime": 59.4867, "train_samples_per_second": 0.143, "train_steps_per_second": 0.033 "train_steps_per_second": 0.034}1234345667{ "epoch": 0.02, "train_loss": 0.8489210605621338, "train_runtime": 59.8561, "train_loss": 0.8337423205375671, "train_runtime": 59.4867, "train_samples_per_second": 0.143, "train_steps_per_second": 0.033 "train_steps_per_second": 0.034}1223version https://git-lfs.github.com/spec/v1oid sha256:bf150bc9f2774be017f4c04486a93c671fae74b5dcfa4460bff230a1dca10d89oid sha256:f871652404bc22c09856b16eaf5aab1fcaf6ed44b3193925300fd9645ff1abf1size 4920adapter_config.json+2-2
adapter_model.safetensors+1-1
all_results.json+3-3
train_results.json+3-3
training_args.bin+1-1