Run this model with HF Jobs
Run devvanshhh/flanT5-description-generation 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/devvanshhh/flanT5-description-generation. 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/devvanshhh/flanT5-description-generation 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 devvanshhh/flanT5-description-generation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use devvanshhh/flanT5-description-generation with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("devvanshhh/flanT5-description-generation") model = AutoModelForSeq2SeqLM.from_pretrained("devvanshhh/flanT5-description-generation", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
8f795d7
1
Parent(s): d95e6cf
End of training
Browse filesFiles changed (2)
- README.mdAdded+68
- generation_config.jsonAdded+6
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768---license: apache-2.0base_model: google/flan-t5-smalltags:- generated_from_trainermetrics:- rougemodel-index:- name: flanT5-description-generation results: []---
<!-- This model card has been generated automatically according to the information the Trainer had access to. Youshould probably proofread and complete it, then remove this comment. -->
# flanT5-description-generation
This 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.3688- Rouge1: 6.3055- Rouge2: 5.5351- Rougel: 5.9301- Rougelsum: 5.9371- Gen Len: 4.6041
## 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: 5
### Training results
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len ||:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|:-------:|| No log | 1.0 | 99 | 3.9741 | 7.1174 | 6.3701 | 6.7345 | 6.7347 | 2.4264 || No log | 2.0 | 198 | 1.6340 | 7.0189 | 6.2738 | 6.6359 | 6.6379 | 2.6142 || No log | 3.0 | 297 | 0.7071 | 6.887 | 6.1128 | 6.512 | 6.515 | 3.0406 || No log | 4.0 | 396 | 0.4279 | 6.0645 | 5.1995 | 5.6723 | 5.6926 | 5.5787 || No log | 5.0 | 495 | 0.3688 | 6.3055 | 5.5351 | 5.9301 | 5.9371 | 4.6041 |
### Framework versions
- Transformers 4.34.1- Pytorch 2.1.0+cu118- Datasets 2.14.6- Tokenizers 0.14.1123456{ "decoder_start_token_id": 0, "eos_token_id": 1, "pad_token_id": 0, "transformers_version": "4.34.1"}README.mdAdded+68
generation_config.jsonAdded+6