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 (4)
123version https://git-lfs.github.com/spec/v1oid sha256:e6dc7d42cfcb58887f3d7fda8cc1a7bda580b734c510d8e60b5cf23eb195732fsize 558155232123version https://git-lfs.github.com/spec/v1oid sha256:6dc1e35a6f8cc433c27c951fd3c65ffd39fc2dc7edb0b5478c216fd6fc17f040size 558155232
1234567{"epoch": 0.01,"train_loss": 0.8435632705688476,"train_runtime": 143.2906,"train_samples_per_second": 0.268,"train_steps_per_second": 0.035}1234567{"epoch": 0.02,"train_loss": 0.7934048771858215,"train_runtime": 58.3306,"train_samples_per_second": 0.146,"train_steps_per_second": 0.034}
1234567{"epoch": 0.01,"train_loss": 0.8435632705688476,"train_runtime": 143.2906,"train_samples_per_second": 0.268,"train_steps_per_second": 0.035}1234567{"epoch": 0.02,"train_loss": 0.7934048771858215,"train_runtime": 58.3306,"train_samples_per_second": 0.146,"train_steps_per_second": 0.034}
123version https://git-lfs.github.com/spec/v1oid sha256:7ce936f620d4e344f33400396b71d9d80a46d45713aa43b380f1ba1dae1d7b42size 4920123version https://git-lfs.github.com/spec/v1oid sha256:04af191af62497ef20934508f88febadfc9430b80b36cc7df4b908525e630246size 4920
adapter_model.safetensors+1-1
all_results.json+5-5
train_results.json+5-5
training_args.bin+1-1