asahi417 commited on
Commit
3510a6a
1 Parent(s): 3532c99

model update

Browse files
Files changed (1) hide show
  1. README.md +2 -3
README.md CHANGED
@@ -70,8 +70,7 @@ model_path = 'lmqg/t5-small-squadshifts-nyt'
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_squadshifts](https://huggingface.co/datasets/lmqg/qg_squadshifts) | nyt | 0.0770766394528476 | 0.2343085731350795 | 0.23703719732964137 | 0.9219972069648569 | 0.6371016730193491 | [link](https://huggingface.co/lmqg/t5-small-squadshifts-nyt/raw/main/eval/metric.first.sentence.paragraph_answer.question.lmqg_qg_squadshifts.nyt.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_squadshifts](https://huggingface.co/datasets/lmqg/qg_squadshifts) | nyt | 0.077 | 0.234 | 0.237 | 0.922 | 0.637 | [link](https://huggingface.co/lmqg/t5-small-squadshifts-nyt/raw/main/eval/metric.first.sentence.paragraph_answer.question.lmqg_qg_squadshifts.nyt.json) |
84
 
85
 
86