Downloads · 30 days
17.2K
0% of all-time downloads
valhalla/t5-base-e2e-qg
t5-base-e2e-qg is a machine learning model from valhalla. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as mit.
This is t5-base model trained for end-to-end question generation task. Simply input the text and the model will generate multile questions.
Downloads · 30 days
17.2K
0% of all-time downloads
All-time downloads
5.3M
Public
Repo size
1.8 GB
Likes
30
Public
Click a slice to open those files.
.bin892 MB · 100%
From the Hugging Face model README
This is t5-base model trained for end-to-end question generation task. Simply input the text and the model will generate multile questions.
You can play with the model using the inference API, just put the text and see the results!
For more deatils see this repo.
You'll need to clone the repo.
from pipelines import pipeline
text = "Python is an interpreted, high-level, general-purpose programming language. Created by Guido van Rossum \
and first released in 1991, Python's design philosophy emphasizes code \
readability with its notable use of significant whitespace."
nlp = pipeline("e2e-qg", model="valhalla/t5-base-e2e-qg")
nlp(text)
=> [
'Who created Python?',
'When was Python first released?',
"What is Python's design philosophy?"
]