This model is fine-tuned version of
google/mt5-small
for question generation and answer extraction jointly on the
lmqg/qg_frquad
(dataset_name: default) via
lmqg
.
from lmqg import TransformersQG
# initialize model
model = TransformersQG(language="fr", model="lmqg/mt5-small-frquad-qg-ae")
# model prediction
question_answer_pairs = model.generate_qa("Créateur » (Maker), lui aussi au singulier, « le Suprême Berger » (The Great Shepherd) ; de l'autre, des réminiscences de la théologie de l'Antiquité : le tonnerre, voix de Jupiter, « Et souvent ta voix gronde en un tonnerre terrifiant », etc.")
With
transformers
from transformers import pipeline
pipe = pipeline("text2text-generation", "lmqg/mt5-small-frquad-qg-ae")
# answer extraction
answer = pipe("generate question: Créateur » (Maker), lui aussi au singulier, « <hl> le Suprême Berger <hl> » (The Great Shepherd) ; de l'autre, des réminiscences de la théologie de l'Antiquité : le tonnerre, voix de Jupiter, « Et souvent ta voix gronde en un tonnerre terrifiant », etc.")
# question generation
question = pipe("extract answers: Pourtant, la strophe spensérienne, utilisée cinq fois avant que ne commence le chœur, constitue en soi un vecteur dont les répétitions structurelles, selon Ricks, relèvent du pur lyrisme tout en constituant une menace potentielle. Après les huit sages pentamètres iambiques, l'alexandrin final <hl> permet une pause <hl>, « véritable illusion d'optique » qu'accentuent les nombreuses expressions archaïsantes telles que did swoon, did seem, did go, did receive, did make, qui doublent le prétérit en un temps composé et paraissent à la fois « très précautionneuses et très peu pressées ».")
@inproceedings{ushio-etal-2022-generative,
title = "{G}enerative {L}anguage {M}odels for {P}aragraph-{L}evel {Q}uestion {G}eneration",
author = "Ushio, Asahi and
Alva-Manchego, Fernando and
Camacho-Collados, Jose",
booktitle = "Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing",
month = dec,
year = "2022",
address = "Abu Dhabi, U.A.E.",
publisher = "Association for Computational Linguistics",
}
Runs of lmqg mt5-small-frquad-qg-ae on huggingface.co
45
Total runs
0
24-hour runs
8
3-day runs
21
7-day runs
22
30-day runs
More Information About mt5-small-frquad-qg-ae huggingface.co Model
mt5-small-frquad-qg-ae huggingface.co is an AI model on huggingface.co that provides mt5-small-frquad-qg-ae's model effect (), which can be used instantly with this lmqg mt5-small-frquad-qg-ae model. huggingface.co supports a free trial of the mt5-small-frquad-qg-ae model, and also provides paid use of the mt5-small-frquad-qg-ae. Support call mt5-small-frquad-qg-ae model through api, including Node.js, Python, http.
mt5-small-frquad-qg-ae huggingface.co is an online trial and call api platform, which integrates mt5-small-frquad-qg-ae's modeling effects, including api services, and provides a free online trial of mt5-small-frquad-qg-ae, you can try mt5-small-frquad-qg-ae online for free by clicking the link below.
lmqg mt5-small-frquad-qg-ae online free url in huggingface.co:
mt5-small-frquad-qg-ae is an open source model from GitHub that offers a free installation service, and any user can find mt5-small-frquad-qg-ae on GitHub to install. At the same time, huggingface.co provides the effect of mt5-small-frquad-qg-ae install, users can directly use mt5-small-frquad-qg-ae installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
mt5-small-frquad-qg-ae install url in huggingface.co: