asahi417 commited on
Commit
f49786e
1 Parent(s): eac02c1

model update

Browse files
Files changed (1) hide show
  1. README.md +5 -6
README.md CHANGED
@@ -14,11 +14,11 @@ pipeline_tag: text2text-generation
14
  tags:
15
  - question generation
16
  widget:
17
- - text: "generate question: <hl> Dopo il 1971 <hl> , l' OPEC ha tardato ad adeguare i prezzi per riflettere tale deprezzamento."
18
  example_title: "Question Generation Example 1"
19
- - text: "generate question: L' individuazione del petrolio e lo sviluppo di nuovi giacimenti richiedeva in genere <hl> da cinque a dieci anni <hl> prima di una produzione significativa."
20
  example_title: "Question Generation Example 2"
21
- - text: "generate question: il <hl> Giappone <hl> è stato il paese più dipendente dal petrolio arabo."
22
  example_title: "Question Generation Example 3"
23
  model-index:
24
  - name: lmqg/mt5-small-itquad
@@ -70,8 +70,7 @@ model_path = 'lmqg/mt5-small-itquad'
70
  pipe = pipeline("text2text-generation", model_path)
71
 
72
  # Question Generation
73
- input_text = 'generate question: <hl> Dopo il 1971 <hl> , l' OPEC ha tardato ad adeguare i prezzi per riflettere tale deprezzamento.'
74
- question = pipe(input_text)
75
  ```
76
 
77
  ## Evaluation Metrics
@@ -81,7 +80,7 @@ question = pipe(input_text)
81
 
82
  | Dataset | Type | BLEU4 | ROUGE-L | METEOR | BERTScore | MoverScore | Link |
83
  |:--------|:-----|------:|--------:|-------:|----------:|-----------:|-----:|
84
- | [lmqg/qg_itquad](https://huggingface.co/datasets/lmqg/qg_itquad) | default | 0.07374845292566005 | 0.2192586325405669 | 0.17566508622690377 | 0.8079826348452711 | 0.5678645897809871 | [link](https://huggingface.co/lmqg/mt5-small-itquad/raw/main/eval/metric.first.sentence.paragraph_answer.question.lmqg_qg_itquad.default.json) |
85
 
86
 
87
 
 
14
  tags:
15
  - question generation
16
  widget:
17
+ - text: "<hl> Dopo il 1971 <hl> , l' OPEC ha tardato ad adeguare i prezzi per riflettere tale deprezzamento."
18
  example_title: "Question Generation Example 1"
19
+ - text: "L' individuazione del petrolio e lo sviluppo di nuovi giacimenti richiedeva in genere <hl> da cinque a dieci anni <hl> prima di una produzione significativa."
20
  example_title: "Question Generation Example 2"
21
+ - text: "il <hl> Giappone <hl> è stato il paese più dipendente dal petrolio arabo."
22
  example_title: "Question Generation Example 3"
23
  model-index:
24
  - name: lmqg/mt5-small-itquad
 
70
  pipe = pipeline("text2text-generation", model_path)
71
 
72
  # Question Generation
73
+ question = pipe('<hl> Dopo il 1971 <hl> , l' OPEC ha tardato ad adeguare i prezzi per riflettere tale deprezzamento.')
 
74
  ```
75
 
76
  ## Evaluation Metrics
 
80
 
81
  | Dataset | Type | BLEU4 | ROUGE-L | METEOR | BERTScore | MoverScore | Link |
82
  |:--------|:-----|------:|--------:|-------:|----------:|-----------:|-----:|
83
+ | [lmqg/qg_itquad](https://huggingface.co/datasets/lmqg/qg_itquad) | default | 0.074 | 0.219 | 0.176 | 0.808 | 0.568 | [link](https://huggingface.co/lmqg/mt5-small-itquad/raw/main/eval/metric.first.sentence.paragraph_answer.question.lmqg_qg_itquad.default.json) |
84
 
85
 
86