Instructions to use allenai/t5-small-squad2-question-generation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use allenai/t5-small-squad2-question-generation with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("allenai/t5-small-squad2-question-generation") model = AutoModelForSeq2SeqLM.from_pretrained("allenai/t5-small-squad2-question-generation", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
7e7d6d8 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:c37b4de2726f0d2de5358819e986df85608d53824ead2b2ee8d0c335b4586225
size 242032202
|