Run this model with HF Jobs
Run devvanshhh/flan-search-terms 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/flan-search-terms. 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/flan-search-terms 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/flan-search-terms with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use devvanshhh/flan-search-terms with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("devvanshhh/flan-search-terms") model = AutoModelForSeq2SeqLM.from_pretrained("devvanshhh/flan-search-terms", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
66a09ff
1
Parent(s): bc90b9d
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: flan-search-terms 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. -->
# flan-search-terms
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.0077- Rouge1: 5.2275- Rouge2: 4.3657- Rougel: 4.8365- Rougelsum: 4.8414- Gen Len: 8.819
## 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 ||:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|:-------:|| 0.0301 | 1.0 | 1500 | 0.0188 | 6.3132 | 5.5233 | 5.9306 | 5.9285 | 4.9403 || 0.0167 | 2.0 | 3000 | 0.0118 | 5.6248 | 4.8018 | 5.2386 | 5.238 | 7.2617 || 0.0136 | 3.0 | 4500 | 0.0093 | 5.2543 | 4.4034 | 4.8643 | 4.8675 | 8.599 || 0.0114 | 4.0 | 6000 | 0.0080 | 5.3013 | 4.448 | 4.9117 | 4.9183 | 8.5447 || 0.0105 | 5.0 | 7500 | 0.0077 | 5.2275 | 4.3657 | 4.8365 | 4.8414 | 8.819 |
### 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