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 (8)
15 unmodified lines1617181920212216 unmodified lines39404142434445464748495015 unmodified linesThis model is a fine-tuned version of [google/flan-t5-small](https://huggingface.co/google/flan-t5-small) on the None dataset.It achieves the following results on the evaluation set:- Loss: 2.0285## Model description16 unmodified lines- train_batch_size: 16- eval_batch_size: 16- seed: 42- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: linear- num_epochs: 0.001### Training results### Framework versions15 unmodified lines1617181920212216 unmodified lines3940414243444546474849505152535455565715 unmodified linesThis model is a fine-tuned version of [google/flan-t5-small](https://huggingface.co/google/flan-t5-small) on the None dataset.It achieves the following results on the evaluation set:- Loss: 0.1668## Model description16 unmodified lines- train_batch_size: 16- eval_batch_size: 16- seed: 42- distributed_type: multi-GPU- num_devices: 8- total_train_batch_size: 128- total_eval_batch_size: 128- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: linear- num_epochs: 10.0### Training results| Training Loss | Epoch | Step | Validation Loss ||:-------------:|:-----:|:----:|:---------------:|| 0.4073 | 6.33 | 500 | 0.1755 |### Framework versions
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"}
123version https://git-lfs.github.com/spec/v1oid sha256:4ed3301e7ce1a78f37bd682a8fecf5e91b951e21ea2a9b2d43f49e3bc69baa77size 2765880123version https://git-lfs.github.com/spec/v1oid sha256:b665b8f584f09c5ba48c254e7814251fa797afeb904c0b34a1402cd9362d057fsize 2765880
1234567891011{"epoch": 0.0,"eval_loss": 2.0285420417785645,"eval_runtime": 13.2838,"eval_samples_per_second": 591.473,"eval_steps_per_second": 37.038,"train_loss": 2.6510977745056152,"train_runtime": 0.8011,"train_samples_per_second": 12.483,"train_steps_per_second": 1.248}1234567891011{"epoch": 10.0,"eval_loss": 0.1668280065059662,"eval_runtime": 1.7776,"eval_samples_per_second": 4420.127,"eval_steps_per_second": 34.879,"train_loss": 0.35002156511137755,"train_runtime": 70.584,"train_samples_per_second": 1416.752,"train_steps_per_second": 11.192}
1234567{"epoch": 0.0,"eval_loss": 2.0285420417785645,"eval_runtime": 13.2838,"eval_samples_per_second": 591.473,"eval_steps_per_second": 37.038}1234567{"epoch": 10.0,"eval_loss": 0.1668280065059662,"eval_runtime": 1.7776,"eval_samples_per_second": 4420.127,"eval_steps_per_second": 34.879}
1234567{"epoch": 0.0,"train_loss": 2.6510977745056152,"train_runtime": 0.8011,"train_samples_per_second": 12.483,"train_steps_per_second": 1.248}1234567{"epoch": 10.0,"train_loss": 0.35002156511137755,"train_runtime": 70.584,"train_samples_per_second": 1416.752,"train_steps_per_second": 11.192}
1234567891011121314151617181920212223242526272829{"best_metric": null,"best_model_checkpoint": null,"epoch": 0.0016,"eval_steps": 500,"global_step": 1,"is_hyper_param_search": false,"is_local_process_zero": true,"is_world_process_zero": true,"log_history": [{"epoch": 0.0,"step": 1,"total_flos": 517012193280.0,"train_loss": 2.6510977745056152,"train_runtime": 0.8011,"train_samples_per_second": 12.483,"train_steps_per_second": 1.248}],"logging_steps": 500,"max_steps": 1,"num_input_tokens_seen": 0,"num_train_epochs": 1,"save_steps": 500,"total_flos": 517012193280.0,"train_batch_size": 16,"trial_name": null,"trial_params": null1234567891011121314151617181920212223242526272829303132333435363738394041424344{"best_metric": null,"best_model_checkpoint": null,"epoch": 10.0,"eval_steps": 500,"global_step": 790,"is_hyper_param_search": false,"is_local_process_zero": true,"is_world_process_zero": true,"log_history": [{"epoch": 6.33,"grad_norm": 0.20978006720542908,"learning_rate": 0.0003670886075949367,"loss": 0.4073,"step": 500},{"epoch": 6.33,"eval_loss": 0.1755284070968628,"eval_runtime": 1.8212,"eval_samples_per_second": 4314.295,"eval_steps_per_second": 34.044,"step": 500},{"epoch": 10.0,"step": 790,"total_flos": 3267517032169472.0,"train_loss": 0.35002156511137755,"train_runtime": 70.584,"train_samples_per_second": 1416.752,"train_steps_per_second": 11.192}],"logging_steps": 500,"max_steps": 790,"num_input_tokens_seen": 0,"num_train_epochs": 10,"save_steps": 500,"total_flos": 3267517032169472.0,"train_batch_size": 16,"trial_name": null,"trial_params": null
123version https://git-lfs.github.com/spec/v1oid sha256:acdf1673b45bf8cf82f8d15db1b4588093fb6a9c8de2bf726eb15278ebb70f95size 5112123version https://git-lfs.github.com/spec/v1oid sha256:50056c87829ee7b1ccaaf40166a7f45dc67bf22c7549e07f6ec646d078d3eaafsize 5112
README.md+9-2
adapter_config.json+2-2
adapter_model.safetensors+1-1
all_results.json+9-9
eval_results.json+5-5
train_results.json+5-5
trainer_state.json+27-12
training_args.bin+1-1