model update
Browse files
README.md
CHANGED
@@ -53,11 +53,29 @@ model-index:
|
|
53 |
value: 0.583354319136371
|
54 |
---
|
55 |
|
56 |
-
#
|
57 |
This model is fine-tuned version of [google/mt5-small](https://huggingface.co/google/mt5-small) for question generation task on the
|
58 |
-
[lmqg/qg_esquad](https://huggingface.co/datasets/lmqg/qg_esquad) (dataset_name: default).
|
59 |
This model is fine-tuned on the answer extraction task as well as the question generation.
|
60 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
61 |
### Overview
|
62 |
- **Language model:** [google/mt5-small](https://huggingface.co/google/mt5-small)
|
63 |
- **Language:** es
|
@@ -74,10 +92,12 @@ from transformers import pipeline
|
|
74 |
model_path = 'lmqg/mt5-small-esquad-multitask'
|
75 |
pipe = pipeline("text2text-generation", model_path)
|
76 |
|
77 |
-
# Question Generation
|
78 |
-
question = pipe('generate question: del <hl> Ministerio de Desarrollo Urbano <hl> , Gobierno de la India.')
|
79 |
# Answer Extraction
|
80 |
answer = pipe('extract answers: <hl> En la diáspora somalí, múltiples eventos islámicos de recaudación de fondos se llevan a cabo cada año en ciudades como Birmingham, Londres, Toronto y Minneapolis, donde los académicos y profesionales somalíes dan conferencias y responden preguntas de la audiencia. <hl> El propósito de estos eventos es recaudar dinero para nuevas escuelas o universidades en Somalia, para ayudar a los somalíes que han sufrido como consecuencia de inundaciones y / o sequías, o para reunir fondos para la creación de nuevas mezquitas como.')
|
|
|
|
|
|
|
|
|
81 |
```
|
82 |
|
83 |
## Evaluation Metrics
|
@@ -114,4 +134,16 @@ The following hyperparameters were used during fine-tuning:
|
|
114 |
The full configuration can be found at [fine-tuning config file](https://huggingface.co/lmqg/mt5-small-esquad-multitask/raw/main/trainer_config.json).
|
115 |
|
116 |
## Citation
|
117 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
value: 0.583354319136371
|
54 |
---
|
55 |
|
56 |
+
# Model Card of `lmqg/mt5-small-esquad-multitask`
|
57 |
This model is fine-tuned version of [google/mt5-small](https://huggingface.co/google/mt5-small) for question generation task on the
|
58 |
+
[lmqg/qg_esquad](https://huggingface.co/datasets/lmqg/qg_esquad) (dataset_name: default) via [`lmqg`](https://github.com/asahi417/lm-question-generation).
|
59 |
This model is fine-tuned on the answer extraction task as well as the question generation.
|
60 |
|
61 |
+
Please cite our paper if you use the model ([TBA](TBA)).
|
62 |
+
|
63 |
+
```
|
64 |
+
|
65 |
+
@inproceedings{ushio-etal-2022-generative,
|
66 |
+
title = "{G}enerative {L}anguage {M}odels for {P}aragraph-{L}evel {Q}uestion {G}eneration: {A} {U}nified {B}enchmark and {E}valuation",
|
67 |
+
author = "Ushio, Asahi and
|
68 |
+
Alva-Manchego, Fernando and
|
69 |
+
Camacho-Collados, Jose",
|
70 |
+
booktitle = "Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing",
|
71 |
+
month = dec,
|
72 |
+
year = "2022",
|
73 |
+
address = "Abu Dhabi, U.A.E.",
|
74 |
+
publisher = "Association for Computational Linguistics",
|
75 |
+
}
|
76 |
+
|
77 |
+
```
|
78 |
+
|
79 |
### Overview
|
80 |
- **Language model:** [google/mt5-small](https://huggingface.co/google/mt5-small)
|
81 |
- **Language:** es
|
|
|
92 |
model_path = 'lmqg/mt5-small-esquad-multitask'
|
93 |
pipe = pipeline("text2text-generation", model_path)
|
94 |
|
|
|
|
|
95 |
# Answer Extraction
|
96 |
answer = pipe('extract answers: <hl> En la diáspora somalí, múltiples eventos islámicos de recaudación de fondos se llevan a cabo cada año en ciudades como Birmingham, Londres, Toronto y Minneapolis, donde los académicos y profesionales somalíes dan conferencias y responden preguntas de la audiencia. <hl> El propósito de estos eventos es recaudar dinero para nuevas escuelas o universidades en Somalia, para ayudar a los somalíes que han sufrido como consecuencia de inundaciones y / o sequías, o para reunir fondos para la creación de nuevas mezquitas como.')
|
97 |
+
|
98 |
+
# Question Generation
|
99 |
+
question = pipe('generate question: del <hl> Ministerio de Desarrollo Urbano <hl> , Gobierno de la India.')
|
100 |
+
|
101 |
```
|
102 |
|
103 |
## Evaluation Metrics
|
|
|
134 |
The full configuration can be found at [fine-tuning config file](https://huggingface.co/lmqg/mt5-small-esquad-multitask/raw/main/trainer_config.json).
|
135 |
|
136 |
## Citation
|
137 |
+
|
138 |
+
@inproceedings{ushio-etal-2022-generative,
|
139 |
+
title = "{G}enerative {L}anguage {M}odels for {P}aragraph-{L}evel {Q}uestion {G}eneration: {A} {U}nified {B}enchmark and {E}valuation",
|
140 |
+
author = "Ushio, Asahi and
|
141 |
+
Alva-Manchego, Fernando and
|
142 |
+
Camacho-Collados, Jose",
|
143 |
+
booktitle = "Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing",
|
144 |
+
month = dec,
|
145 |
+
year = "2022",
|
146 |
+
address = "Abu Dhabi, U.A.E.",
|
147 |
+
publisher = "Association for Computational Linguistics",
|
148 |
+
}
|
149 |
+
|