valhalla/t5-small-e2e-qg

Model

T5 for question-generation

7

10 commits

1 linked in READMEs

updated Jul 30, 2021

See the code

README

T5 for question-generation

This is t5-small 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.

Model in action 🚀

You'll need to clone the repo.

Open In Colab

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")
nlp(text)
=> [
 'Who created Python?',
 'When was Python first released?',
 "What is Python's design philosophy?"
]
endpoints_compatible
pytorch
question-generation
t5
text2text-generation
text-generation-inference
transformers

valhalla/t5-small-e2e-qg

Model

T5 for question-generation

7

10 commits

1 linked in READMEs

updated Jul 30, 2021

See the code

README

T5 for question-generation

This is t5-small 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.

Model in action 🚀

You'll need to clone the repo.

Open In Colab

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")
nlp(text)
=> [
 'Who created Python?',
 'When was Python first released?',
 "What is Python's design philosophy?"
]
endpoints_compatible
pytorch
question-generation
t5
text2text-generation
text-generation-inference
transformers