asahi417 commited on
Commit
36ae38a
1 Parent(s): 7519c87

model update

Browse files
Files changed (1) hide show
  1. README.md +10 -10
README.md CHANGED
@@ -14,11 +14,11 @@ pipeline_tag: text2text-generation
14
  tags:
15
  - question generation
16
  widget:
17
- - text: "<hl> Beyonce <hl> further expanded her acting career, starring as blues singer Etta James in the 2008 musical biopic, Cadillac Records."
18
  example_title: "Question Generation Example 1"
19
- - text: "Beyonce further expanded her acting career, starring as blues singer <hl> Etta James <hl> in the 2008 musical biopic, Cadillac Records."
20
  example_title: "Question Generation Example 2"
21
- - text: "Beyonce further expanded her acting career, starring as blues singer Etta James in the 2008 musical biopic, <hl> Cadillac Records <hl> ."
22
  example_title: "Question Generation Example 3"
23
  model-index:
24
  - name: lmqg/bart-large-squad-no-paragraph
@@ -33,19 +33,19 @@ model-index:
33
  metrics:
34
  - name: BLEU4
35
  type: bleu4
36
- value: 0.236757015891728
37
  - name: ROUGE-L
38
  type: rouge-l
39
- value: 0.5129502643237112
40
  - name: METEOR
41
  type: meteor
42
- value: 0.2501352511924703
43
  - name: BERTScore
44
  type: bertscore
45
- value: 0.906402032461714
46
  - name: MoverScore
47
  type: moverscore
48
- value: 0.6397762351274248
49
  ---
50
 
51
  # Language Models Fine-tuning on Question Generation: `lmqg/bart-large-squad-no-paragraph`
@@ -70,7 +70,7 @@ model_path = 'lmqg/bart-large-squad-no-paragraph'
70
  pipe = pipeline("text2text-generation", model_path)
71
 
72
  # Question Generation
73
- input_text = '<hl> Beyonce <hl> further expanded her acting career, starring as blues singer Etta James in the 2008 musical biopic, Cadillac Records.'
74
  question = pipe(input_text)
75
  ```
76
 
@@ -81,7 +81,7 @@ question = pipe(input_text)
81
 
82
  | Dataset | Type | BLEU4 | ROUGE-L | METEOR | BERTScore | MoverScore | Link |
83
  |:--------|:-----|------:|--------:|-------:|----------:|-----------:|-----:|
84
- | [lmqg/qg_squad](https://huggingface.co/datasets/lmqg/qg_squad) | default | 0.236757015891728 | 0.5129502643237112 | 0.2501352511924703 | 0.906402032461714 | 0.6397762351274248 | [link](https://huggingface.co/lmqg/bart-large-squad-no-paragraph/raw/main/eval/metric.first.sentence.paragraph_answer.question.lmqg_qg_squad.default.json) |
85
 
86
 
87
 
 
14
  tags:
15
  - question generation
16
  widget:
17
+ - text: "generate question: <hl> Beyonce <hl> further expanded her acting career, starring as blues singer Etta James in the 2008 musical biopic, Cadillac Records."
18
  example_title: "Question Generation Example 1"
19
+ - text: "generate question: Beyonce further expanded her acting career, starring as blues singer <hl> Etta James <hl> in the 2008 musical biopic, Cadillac Records."
20
  example_title: "Question Generation Example 2"
21
+ - text: "generate question: Beyonce further expanded her acting career, starring as blues singer Etta James in the 2008 musical biopic, <hl> Cadillac Records <hl> ."
22
  example_title: "Question Generation Example 3"
23
  model-index:
24
  - name: lmqg/bart-large-squad-no-paragraph
 
33
  metrics:
34
  - name: BLEU4
35
  type: bleu4
36
+ value: 0.2386146591654172
37
  - name: ROUGE-L
38
  type: rouge-l
39
+ value: 0.5142752621919274
40
  - name: METEOR
41
  type: meteor
42
+ value: 0.2518149650657295
43
  - name: BERTScore
44
  type: bertscore
45
+ value: 0.9070136092258231
46
  - name: MoverScore
47
  type: moverscore
48
+ value: 0.6384645408685703
49
  ---
50
 
51
  # Language Models Fine-tuning on Question Generation: `lmqg/bart-large-squad-no-paragraph`
 
70
  pipe = pipeline("text2text-generation", model_path)
71
 
72
  # Question Generation
73
+ input_text = 'generate question: <hl> Beyonce <hl> further expanded her acting career, starring as blues singer Etta James in the 2008 musical biopic, Cadillac Records.'
74
  question = pipe(input_text)
75
  ```
76
 
 
81
 
82
  | Dataset | Type | BLEU4 | ROUGE-L | METEOR | BERTScore | MoverScore | Link |
83
  |:--------|:-----|------:|--------:|-------:|----------:|-----------:|-----:|
84
+ | [lmqg/qg_squad](https://huggingface.co/datasets/lmqg/qg_squad) | default | 0.2386146591654172 | 0.5142752621919274 | 0.2518149650657295 | 0.9070136092258231 | 0.6384645408685703 | [link](https://huggingface.co/lmqg/bart-large-squad-no-paragraph/raw/main/eval/metric.first.sentence.sentence_answer.question.lmqg_qg_squad.default.json) |
85
 
86
 
87