asahi417 commited on
Commit
a4b0b50
1 Parent(s): 50eb84d

model update

Browse files
Files changed (1) hide show
  1. README.md +37 -5
README.md CHANGED
@@ -53,11 +53,29 @@ model-index:
53
  value: 0.551016955735025
54
  ---
55
 
56
- # Language Models Fine-tuning on Question Generation: `lmqg/mt5-small-dequad-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_dequad](https://huggingface.co/datasets/lmqg/qg_dequad) (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:** en
@@ -74,10 +92,12 @@ from transformers import pipeline
74
  model_path = 'lmqg/mt5-small-dequad-multitask'
75
  pipe = pipeline("text2text-generation", model_path)
76
 
77
- # Question Generation
78
- question = pipe('generate question: <hl> Beyonce <hl> further expanded her acting career, starring as blues singer Etta James in the 2008 musical biopic, Cadillac Records.')
79
  # Answer Extraction
80
  answer = pipe('extract answers: <hl> Beyonce further expanded her acting career, starring as blues singer Etta James in the 2008 musical biopic, Cadillac Records. <hl> Her performance in the film received praise from critics, and she garnered several nominations for her portrayal of James, including a Satellite Award nomination for Best Supporting Actress, and a NAACP Image Award nomination for Outstanding Supporting Actress.')
 
 
 
 
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-dequad-multitask/raw/main/trainer_config.json).
115
 
116
  ## Citation
117
- TBA
 
 
 
 
 
 
 
 
 
 
 
 
 
53
  value: 0.551016955735025
54
  ---
55
 
56
+ # Model Card of `lmqg/mt5-small-dequad-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_dequad](https://huggingface.co/datasets/lmqg/qg_dequad) (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:** en
 
92
  model_path = 'lmqg/mt5-small-dequad-multitask'
93
  pipe = pipeline("text2text-generation", model_path)
94
 
 
 
95
  # Answer Extraction
96
  answer = pipe('extract answers: <hl> Beyonce further expanded her acting career, starring as blues singer Etta James in the 2008 musical biopic, Cadillac Records. <hl> Her performance in the film received praise from critics, and she garnered several nominations for her portrayal of James, including a Satellite Award nomination for Best Supporting Actress, and a NAACP Image Award nomination for Outstanding Supporting Actress.')
97
+
98
+ # Question Generation
99
+ question = pipe('generate question: <hl> Beyonce <hl> further expanded her acting career, starring as blues singer Etta James in the 2008 musical biopic, Cadillac Records.')
100
+
101
  ```
102
 
103
  ## Evaluation Metrics
 
134
  The full configuration can be found at [fine-tuning config file](https://huggingface.co/lmqg/mt5-small-dequad-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
+