Instructions to use AlekseyKulnevich/Pegasus-QuestionGeneration with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AlekseyKulnevich/Pegasus-QuestionGeneration with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("AlekseyKulnevich/Pegasus-QuestionGeneration") model = AutoModelForSeq2SeqLM.from_pretrained("AlekseyKulnevich/Pegasus-QuestionGeneration") - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#1 opened almost 3 years ago
by
SFconvertbot