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