Translation
Transformers
PyTorch
Polish
t5
text2text-generation
T5
summarization
question answering
reading comprehension
text-generation-inference
Instructions to use allegro/plt5-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use allegro/plt5-base with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" 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("translation", model="allegro/plt5-base")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("allegro/plt5-base") model = AutoModelForSeq2SeqLM.from_pretrained("allegro/plt5-base") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- e5a7e9c95553d046840d70341156d3ea6b64ae2529631b8397f03c9568714bb0
- Size of remote file:
- 1.1 GB
- SHA256:
- dd2bddf97a982797c62e7486335370550bf61b2017ac70fa6541a7a5efffcc7b
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.