Instructions to use dotslashderek/flan-t5-small-prompt-compression with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dotslashderek/flan-t5-small-prompt-compression with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("dotslashderek/flan-t5-small-prompt-compression") model = AutoModelForSeq2SeqLM.from_pretrained("dotslashderek/flan-t5-small-prompt-compression") - Notebooks
- Google Colab
- Kaggle
Ctrl+K