Transformers
PyTorch
TensorBoard
t5
text2text-generation
Generated from Trainer
text-generation-inference
Instructions to use Otavares/t5-small-finetuned-wikisql with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Otavares/t5-small-finetuned-wikisql with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Otavares/t5-small-finetuned-wikisql") model = AutoModelForSeq2SeqLM.from_pretrained("Otavares/t5-small-finetuned-wikisql", device_map="auto") - Notebooks
- Google Colab
- Kaggle
t5-small-finetuned-wikisql
This model is a fine-tuned version of juierror/flan-t5-text2sql-with-schema-v2 on the None dataset. It achieves the following results on the evaluation set:
- Loss: 38.2089
- Rouge2 Precision: 0.8571
- Rouge2 Recall: 0.6
- Rouge2 Fmeasure: 0.7059
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 5e-05
- 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: 5
Training results
| Training Loss | Epoch | Step | Validation Loss | Rouge2 Precision | Rouge2 Recall | Rouge2 Fmeasure |
|---|---|---|---|---|---|---|
| No log | 1.0 | 1 | 55.5586 | 0.8571 | 0.6 | 0.7059 |
| No log | 2.0 | 2 | 47.2978 | 0.8571 | 0.6 | 0.7059 |
| No log | 3.0 | 3 | 42.3317 | 0.8571 | 0.6 | 0.7059 |
| No log | 4.0 | 4 | 39.5028 | 0.8571 | 0.6 | 0.7059 |
| No log | 5.0 | 5 | 38.2089 | 0.8571 | 0.6 | 0.7059 |
Framework versions
- Transformers 4.27.0.dev0
- Pytorch 2.0.0+cu117
- Datasets 2.10.1
- Tokenizers 0.12.1
- Downloads last month
- 10
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support