asahi417's picture
model update
86487c5
metadata
license: cc-by-4.0
metrics:
  - bleu4
  - meteor
  - rouge-l
  - bertscore
  - moverscore
language: en
datasets:
  - lmqg/qg_squadshifts
pipeline_tag: text2text-generation
tags:
  - question generation
widget:
  - text: >-
      <hl> Beyonce <hl> further expanded her acting career, starring as blues
      singer Etta James in the 2008 musical biopic, Cadillac Records.
    example_title: Question Generation Example 1
  - text: >-
      Beyonce further expanded her acting career, starring as blues singer <hl>
      Etta James <hl> in the 2008 musical biopic, Cadillac Records.
    example_title: Question Generation Example 2
  - text: >-
      Beyonce further expanded her acting career, starring as blues singer Etta
      James in the 2008 musical biopic,  <hl> Cadillac Records <hl> .
    example_title: Question Generation Example 3
model-index:
  - name: lmqg/bart-base-squadshifts-vanilla-new_wiki
    results:
      - task:
          name: Text2text Generation
          type: text2text-generation
        dataset:
          name: lmqg/qg_squadshifts
          type: new_wiki
          args: new_wiki
        metrics:
          - name: BLEU4
            type: bleu4
            value: 0.10272262447149468
          - name: ROUGE-L
            type: rouge-l
            value: 0.26469263293256473
          - name: METEOR
            type: meteor
            value: 0.2365295094908213
          - name: BERTScore
            type: bertscore
            value: 0.9297296288024615
          - name: MoverScore
            type: moverscore
            value: 0.6436394284680313

Language Models Fine-tuning on Question Generation: lmqg/bart-base-squadshifts-vanilla-new_wiki

This model is fine-tuned version of facebook/bart-base for question generation task on the lmqg/qg_squadshifts (dataset_name: new_wiki).

Overview

Usage


from transformers import pipeline

model_path = 'lmqg/bart-base-squadshifts-vanilla-new_wiki'
pipe = pipeline("text2text-generation", model_path)

# Question Generation
question = pipe('<hl> Beyonce <hl> further expanded her acting career, starring as blues singer Etta James in the 2008 musical biopic, Cadillac Records.')

Evaluation Metrics

Metrics

Dataset Type BLEU4 ROUGE-L METEOR BERTScore MoverScore Link
lmqg/qg_squadshifts new_wiki 0.103 0.265 0.237 0.93 0.644 link

Training hyperparameters

The following hyperparameters were used during fine-tuning:

  • dataset_path: lmqg/qg_squadshifts
  • dataset_name: new_wiki
  • input_types: ['paragraph_answer']
  • output_types: ['question']
  • prefix_types: None
  • model: facebook/bart-base
  • max_length: 512
  • max_length_output: 32
  • epoch: 4
  • batch: 8
  • lr: 0.0001
  • fp16: False
  • random_seed: 1
  • gradient_accumulation_steps: 8
  • label_smoothing: 0.15

The full configuration can be found at fine-tuning config file.

Citation

TBA