Instructions to use dotslashderek/flan-t5-small-compression with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dotslashderek/flan-t5-small-compression with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("dotslashderek/flan-t5-small-compression") model = AutoModelForSeq2SeqLM.from_pretrained("dotslashderek/flan-t5-small-compression", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "decoder_start_token_id": 0, | |
| "eos_token_id": [ | |
| 1 | |
| ], | |
| "no_repeat_ngram_size": 3, | |
| "num_beams": 4, | |
| "pad_token_id": 0, | |
| "transformers_version": "4.57.1" | |
| } | |