1 Star 0 Fork 0

modelee / t5-qg_squad1-en

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README
language tags license datasets model-index widget
en
qg
question
generation
SQuAD
metric
nlg
t5-small
mit
squad
name results
t5-qg_squad1-en
task
name type
Question Generation
Text2Text-Generation
text
sv1 Louis 14 Louis 14 was a French King.

t5-qg_squad1-en

Model description

This model is a Question Generation model based on T5-small. It is actually a component of QuestEval metric but can be used independently as it is, for QG only.

How to use

from transformers import T5Tokenizer, T5ForConditionalGeneration

tokenizer = T5Tokenizer.from_pretrained("ThomasNLG/t5-qg_squad1-en")

model = T5ForConditionalGeneration.from_pretrained("ThomasNLG/t5-qg_squad1-en")

You can play with the model using the inference API, the text input format should follow this template (accordingly to the training stage of the model):

text_input = "sv1 </s> {ANSWER} </s> {CONTEXT}"

Training data

The model was trained on SQuAD.

Citation info

@article{scialom2020QuestEval,
  title={QuestEval: Summarization Asks for Fact-based Evaluation},
  author={Scialom, Thomas and Dray, Paul-Alexis and Gallinari, Patrick and Lamprier, Sylvain and Piwowarski, Benjamin and Staiano, Jacopo and Wang, Alex},
  journal={arXiv preprint arXiv:2103.12693},
  year={2021}
}

Empty file

About

Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
1
https://gitee.com/modelee/t5-qg_squad1-en.git
git@gitee.com:modelee/t5-qg_squad1-en.git
modelee
t5-qg_squad1-en
t5-qg_squad1-en
main

Search