Translation
Transformers
PyTorch
Polish
t5
text2text-generation
T5
summarization
question answering
reading comprehension
text-generation-inference
Run this model with HF Jobs
Run allegro/plt5-base on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/allegro/plt5-base. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/allegro/plt5-base on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("allegro/plt5-base") model = AutoModelForSeq2SeqLM.from_pretrained("allegro/plt5-base", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit ·
bbdbe4d
1
Parent(s): 2323f05
Update README.md
Browse files14 unmodified lines1516171819202117 unmodified lines394041424344454614 unmodified lineslicense: cc-by-4.0---# plT5 Small**plT5** models are T5-based language models trained on Polish corpora. Models were optimized for the original T5 denoising target.## Corpus17 unmodified lines```pythonfrom transformers import AutoTokenizer, AutoModeltokenizer = AutoTokenizer.from_pretrained("allegro/plT5-small")model = AutoModel.from_pretrained("allegro/plT5-small")```## License14 unmodified lines1516171819202117 unmodified lines394041424344454614 unmodified lineslicense: cc-by-4.0---# plT5 Base**plT5** models are T5-based language models trained on Polish corpora. Models were optimized for the original T5 denoising target.## Corpus17 unmodified lines```pythonfrom transformers import AutoTokenizer, AutoModeltokenizer = AutoTokenizer.from_pretrained("allegro/plT5-base")model = AutoModel.from_pretrained("allegro/plT5-base")```## License
README.md+3-3