Summarization
Transformers
PyTorch
English
t5
text2text-generation
hupd
conditional-generation
patents
text-generation-inference
Instructions to use HUPD/hupd-t5-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HUPD/hupd-t5-small with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "summarization" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("summarization", model="HUPD/hupd-t5-small")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("HUPD/hupd-t5-small") model = AutoModelForSeq2SeqLM.from_pretrained("HUPD/hupd-t5-small") - Notebooks
- Google Colab
- Kaggle
Commit History
Update README.md 3fdf05b
Model card c7d01aa
add tokenizer 8078f5d
suzgunmirac commited on
add model 3362270
suzgunmirac commited on