asahi417 commited on
Commit
d7f8c4b
·
1 Parent(s): ee70ab2

model update

Browse files
Files changed (1) hide show
  1. README.md +2 -3
README.md CHANGED
@@ -70,8 +70,7 @@ model_path = 'lmqg/bart-base-subjqa-vanilla-restaurants'
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
 
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_subjqa](https://huggingface.co/datasets/lmqg/qg_subjqa) | restaurants | 3.638469921772251e-07 | 0.07317900327037806 | 0.10027521452000411 | 0.829158934600213 | 0.5176015609599814 | [link](https://huggingface.co/lmqg/bart-base-subjqa-vanilla-restaurants/raw/main/eval/metric.first.sentence.paragraph_answer.question.lmqg_qg_subjqa.restaurants.json) |
85
 
86
 
87
 
 
70
  pipe = pipeline("text2text-generation", model_path)
71
 
72
  # Question Generation
73
+ 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.')
 
74
  ```
75
 
76
  ## Evaluation Metrics
 
80
 
81
  | Dataset | Type | BLEU4 | ROUGE-L | METEOR | BERTScore | MoverScore | Link |
82
  |:--------|:-----|------:|--------:|-------:|----------:|-----------:|-----:|
83
+ | [lmqg/qg_subjqa](https://huggingface.co/datasets/lmqg/qg_subjqa) | restaurants | 0.0 | 0.073 | 0.1 | 0.829 | 0.518 | [link](https://huggingface.co/lmqg/bart-base-subjqa-vanilla-restaurants/raw/main/eval/metric.first.sentence.paragraph_answer.question.lmqg_qg_subjqa.restaurants.json) |
84
 
85
 
86