Instructions to use ncncomplete/t5-summarizer-fast with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ncncomplete/t5-summarizer-fast with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("ncncomplete/t5-summarizer-fast") model = AutoModelForSeq2SeqLM.from_pretrained("ncncomplete/t5-summarizer-fast", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from ncncomplete/t5-summarizer-fast: direct link, hf CLI and curl.
- Browser
- Download file 2.11 MB
-
https://huggingface.co/ncncomplete/t5-summarizer-fast/resolve/main/tokenizer.json
- Command line
-
hf download hf://ncncomplete/t5-summarizer-fast/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/ncncomplete/t5-summarizer-fast/resolve/main/tokenizer.json
2.11 MB
File too large to display, you can check the raw version instead.