Instructions to use xshubhamx/flan-t5-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use xshubhamx/flan-t5-small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="xshubhamx/flan-t5-small")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("xshubhamx/flan-t5-small") model = AutoModelForSequenceClassification.from_pretrained("xshubhamx/flan-t5-small", device_map="auto") - Notebooks
- Google Colab
- Kaggle
flan-t5-small
This model is a fine-tuned version of google/flan-t5-small on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: nan
- Accuracy: 1
- F1 Micro: 1
- F1 Macro: 1
- F1 Weighted: 1
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: 8
- eval_batch_size: 8
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 15
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Micro | F1 Macro | F1 Weighted |
|---|---|---|---|---|---|---|---|
| 0.0 | 1.0 | 643 | nan | 1 | 1 | 1 | 1 |
| 0.0 | 2.0 | 1286 | nan | 1 | 1 | 1 | 1 |
| 0.0 | 3.0 | 1929 | nan | 1 | 1 | 1 | 1 |
| 0.0 | 4.0 | 2572 | nan | 1 | 1 | 1 | 1 |
| 0.0 | 5.0 | 3215 | nan | 1 | 1 | 1 | 1 |
| 0.0 | 6.0 | 3858 | nan | 1 | 1 | 1 | 1 |
| 0.0 | 7.0 | 4501 | nan | 1 | 1 | 1 | 1 |
| 0.0 | 8.0 | 5144 | nan | 1 | 1 | 1 | 1 |
| 0.0 | 9.0 | 5787 | nan | 1 | 1 | 1 | 1 |
| 0.0 | 10.0 | 6430 | nan | 1 | 1 | 1 | 1 |
| 0.0 | 11.0 | 7073 | nan | 1 | 1 | 1 | 1 |
| 0.0 | 12.0 | 7716 | nan | 1 | 1 | 1 | 1 |
| 0.0 | 13.0 | 8359 | nan | 1 | 1 | 1 | 1 |
| 0.0 | 14.0 | 9002 | nan | 1 | 1 | 1 | 1 |
| 0.0 | 15.0 | 9645 | nan | 1 | 1 | 1 | 1 |
Framework versions
- Transformers 4.39.3
- Pytorch 2.1.2
- Datasets 2.18.0
- Tokenizers 0.15.2
- Downloads last month
- 3
Model tree for xshubhamx/flan-t5-small
Base model
google/flan-t5-small