Run this model with HF Jobs
Run kyryl-opens-ml/flan-t5-small-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/flan-t5-small-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/flan-t5-small-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/flan-t5-small-sql with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use kyryl-opens-ml/flan-t5-small-sql with PEFT:
from peft import PeftModel from transformers import AutoModelForSeq2SeqLM base_model = AutoModelForSeq2SeqLM.from_pretrained("google/flan-t5-small") model = PeftModel.from_pretrained(base_model, "kyryl-opens-ml/flan-t5-small-sql") - Notebooks
- Google Colab
- Kaggle
End of training
Browse filesFiles changed (5)
18 unmodified lines192021222324252618 unmodified lines"rank_pattern": {},"revision": null,"target_modules": ["q","v"],"task_type": "SEQ_2_SEQ_LM"}18 unmodified lines192021222324252618 unmodified lines"rank_pattern": {},"revision": null,"target_modules": ["v","q"],"task_type": "SEQ_2_SEQ_LM"}
1234567891011{"epoch": 0.02,"eval_loss": 2.021235942840576,"eval_runtime": 20.8381,"eval_samples_per_second": 377.05,"eval_steps_per_second": 23.611,"train_loss": 2.7679789066314697,"train_runtime": 0.8665,"train_samples_per_second": 0.115,"train_steps_per_second": 1.154}1234567891011{"epoch": 0.02,"eval_loss": 2.021235942840576,"eval_runtime": 13.6322,"eval_samples_per_second": 576.357,"eval_steps_per_second": 36.091,"train_loss": 2.7679789066314697,"train_runtime": 0.7741,"train_samples_per_second": 0.129,"train_steps_per_second": 1.292}
1234567{"epoch": 0.02,"eval_loss": 2.021235942840576,"eval_runtime": 20.8381,"eval_samples_per_second": 377.05,"eval_steps_per_second": 23.611}1234567{"epoch": 0.02,"eval_loss": 2.021235942840576,"eval_runtime": 13.6322,"eval_samples_per_second": 576.357,"eval_steps_per_second": 36.091}
1234567{"epoch": 0.02,"train_loss": 2.7679789066314697,"train_runtime": 0.8665,"train_samples_per_second": 0.115,"train_steps_per_second": 1.154}1234567{"epoch": 0.02,"train_loss": 2.7679789066314697,"train_runtime": 0.7741,"train_samples_per_second": 0.129,"train_steps_per_second": 1.292}
12 unmodified lines13141516171819202112 unmodified lines"step": 1,"total_flos": 517012193280.0,"train_loss": 2.7679789066314697,"train_runtime": 0.8665,"train_samples_per_second": 0.115,"train_steps_per_second": 1.154}],"logging_steps": 500,12 unmodified lines13141516171819202112 unmodified lines"step": 1,"total_flos": 517012193280.0,"train_loss": 2.7679789066314697,"train_runtime": 0.7741,"train_samples_per_second": 0.129,"train_steps_per_second": 1.292}],"logging_steps": 500,
adapter_config.json+2-2
all_results.json+6-6
eval_results.json+3-3
train_results.json+3-3
trainer_state.json+3-3