Instructions to use allenai/PRIMERA-multinews with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use allenai/PRIMERA-multinews with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("allenai/PRIMERA-multinews") model = AutoModelForSeq2SeqLM.from_pretrained("allenai/PRIMERA-multinews") - Notebooks
- Google Colab
- Kaggle
Using the model with Transformer pipeline
#7 opened almost 3 years ago
by
yungsinatra0
Adding `safetensors` variant of this model
#6 opened about 3 years ago
by
SFconvertbot