asahi417 commited on
Commit
7a483a3
1 Parent(s): ccc56cf

model update

Browse files
Files changed (1) hide show
  1. README.md +6 -6
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-base-squad-no-answer
@@ -42,7 +42,7 @@ model-index:
42
  value: 0.23715466422245665
43
  - name: BERTScore
44
  type: bertscore
45
- value: 0.90378149447854
46
  - name: MoverScore
47
  type: moverscore
48
  value: 0.6307014769529157
@@ -70,7 +70,7 @@ model_path = 'lmqg/bart-base-squad-no-answer'
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.2196802868921128 | 0.49695872760015636 | 0.23715466422245665 | 0.90378149447854 | 0.6307014769529157 | [link](https://huggingface.co/lmqg/bart-base-squad-no-answer/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 further expanded her acting career, starring as blues singer Etta James in the 2008 musical biopic, Cadillac Records. <hl>"
18
  example_title: "Question Generation Example 1"
19
+ - text: "generate question: <hl> Beyonce further expanded her acting career, starring as blues singer Etta James in the 2008 musical biopic, Cadillac Records. <hl>"
20
  example_title: "Question Generation Example 2"
21
+ - text: "generate question: <hl> Beyonce further expanded her acting career, starring as blues singer Etta James in the 2008 musical biopic, Cadillac Records . <hl>"
22
  example_title: "Question Generation Example 3"
23
  model-index:
24
  - name: lmqg/bart-base-squad-no-answer
 
42
  value: 0.23715466422245665
43
  - name: BERTScore
44
  type: bertscore
45
+ value: 0.9037814976684458
46
  - name: MoverScore
47
  type: moverscore
48
  value: 0.6307014769529157
 
70
  pipe = pipeline("text2text-generation", model_path)
71
 
72
  # Question Generation
73
+ input_text = 'generate question: <hl> Beyonce further expanded her acting career, starring as blues singer Etta James in the 2008 musical biopic, Cadillac Records. <hl>'
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.2196802868921128 | 0.49695872760015636 | 0.23715466422245665 | 0.9037814976684458 | 0.6307014769529157 | [link](https://huggingface.co/lmqg/bart-base-squad-no-answer/raw/main/eval/metric.first.sentence.paragraph_sentence.question.lmqg_qg_squad.default.json) |
85
 
86
 
87