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
Download tokenizer.json from kyryl-opens-ml/duckdb-text2sql-codellama: direct link, hf CLI and curl.
- Browser
- Download file 1.84 MB
-
https://huggingface.co/kyryl-opens-ml/duckdb-text2sql-codellama/resolve/a4e88d237d9b43deb723dbefd2f08b1f9dc84cc0/tokenizer.json
- Command line
-
hf download hf://kyryl-opens-ml/duckdb-text2sql-codellama@a4e88d237d9b43deb723dbefd2f08b1f9dc84cc0/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/kyryl-opens-ml/duckdb-text2sql-codellama/resolve/a4e88d237d9b43deb723dbefd2f08b1f9dc84cc0/tokenizer.json
1.84 MB
File too large to display, you can check the raw version instead.