lmqg / flan-t5-small-squad-ae

huggingface.co
Total runs: 17
24-hour runs: 0
7-day runs: -3
30-day runs: 5
Model's Last Updated: February 10 2023
text-generation

Introduction of flan-t5-small-squad-ae

Model Details of flan-t5-small-squad-ae

Model Card of lmqg/flan-t5-small-squad-ae

This model is fine-tuned version of google/flan-t5-small for answer extraction on the lmqg/qg_squad (dataset_name: default) via lmqg .

Overview
Usage
from lmqg import TransformersQG

# initialize model
model = TransformersQG(language="en", model="lmqg/flan-t5-small-squad-ae")

# model prediction
answers = model.generate_a("William Turner was an English painter who specialised in watercolour landscapes")
  • With transformers
from transformers import pipeline

pipe = pipeline("text2text-generation", "lmqg/flan-t5-small-squad-ae")
output = pipe("extract answers: <hl> Beyonce further expanded her acting career, starring as blues singer Etta James in the 2008 musical biopic, Cadillac Records. <hl> Her performance in the film received praise from critics, and she garnered several nominations for her portrayal of James, including a Satellite Award nomination for Best Supporting Actress, and a NAACP Image Award nomination for Outstanding Supporting Actress.")
Evaluation
Score Type Dataset
AnswerExactMatch 55.83 default lmqg/qg_squad
AnswerF1Score 68.13 default lmqg/qg_squad
BERTScore 91.1 default lmqg/qg_squad
Bleu_1 48.25 default lmqg/qg_squad
Bleu_2 43.39 default lmqg/qg_squad
Bleu_3 38.64 default lmqg/qg_squad
Bleu_4 34.6 default lmqg/qg_squad
METEOR 42.59 default lmqg/qg_squad
MoverScore 80.54 default lmqg/qg_squad
ROUGE_L 67.61 default lmqg/qg_squad
Training hyperparameters

The following hyperparameters were used during fine-tuning:

  • dataset_path: lmqg/qg_squad
  • dataset_name: default
  • input_types: ['paragraph_sentence']
  • output_types: ['answer']
  • prefix_types: ['ae']
  • model: google/flan-t5-small
  • max_length: 512
  • max_length_output: 32
  • epoch: 8
  • batch: 64
  • lr: 0.0001
  • fp16: False
  • random_seed: 1
  • gradient_accumulation_steps: 1
  • label_smoothing: 0.15

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

Citation
@inproceedings{ushio-etal-2022-generative,
    title = "{G}enerative {L}anguage {M}odels for {P}aragraph-{L}evel {Q}uestion {G}eneration",
    author = "Ushio, Asahi  and
        Alva-Manchego, Fernando  and
        Camacho-Collados, Jose",
    booktitle = "Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing",
    month = dec,
    year = "2022",
    address = "Abu Dhabi, U.A.E.",
    publisher = "Association for Computational Linguistics",
}

Runs of lmqg flan-t5-small-squad-ae on huggingface.co

17
Total runs
0
24-hour runs
2
3-day runs
-3
7-day runs
5
30-day runs

More Information About flan-t5-small-squad-ae huggingface.co Model

More flan-t5-small-squad-ae license Visit here:

https://choosealicense.com/licenses/cc-by-4.0

flan-t5-small-squad-ae huggingface.co

flan-t5-small-squad-ae huggingface.co is an AI model on huggingface.co that provides flan-t5-small-squad-ae's model effect (), which can be used instantly with this lmqg flan-t5-small-squad-ae model. huggingface.co supports a free trial of the flan-t5-small-squad-ae model, and also provides paid use of the flan-t5-small-squad-ae. Support call flan-t5-small-squad-ae model through api, including Node.js, Python, http.

flan-t5-small-squad-ae huggingface.co Url

https://huggingface.co/lmqg/flan-t5-small-squad-ae

lmqg flan-t5-small-squad-ae online free

flan-t5-small-squad-ae huggingface.co is an online trial and call api platform, which integrates flan-t5-small-squad-ae's modeling effects, including api services, and provides a free online trial of flan-t5-small-squad-ae, you can try flan-t5-small-squad-ae online for free by clicking the link below.

lmqg flan-t5-small-squad-ae online free url in huggingface.co:

https://huggingface.co/lmqg/flan-t5-small-squad-ae

flan-t5-small-squad-ae install

flan-t5-small-squad-ae is an open source model from GitHub that offers a free installation service, and any user can find flan-t5-small-squad-ae on GitHub to install. At the same time, huggingface.co provides the effect of flan-t5-small-squad-ae install, users can directly use flan-t5-small-squad-ae installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

flan-t5-small-squad-ae install url in huggingface.co:

https://huggingface.co/lmqg/flan-t5-small-squad-ae

Url of flan-t5-small-squad-ae

flan-t5-small-squad-ae huggingface.co Url

Provider of flan-t5-small-squad-ae huggingface.co

lmqg
ORGANIZATIONS

Other API from lmqg

huggingface.co

Total runs: 208
Run Growth: 202
Growth Rate: 97.12%
Updated:December 06 2022