research-backup / mbart-large-cc25-squad-qa

huggingface.co
Total runs: 25
24-hour runs: 0
7-day runs: -2
30-day runs: 9
Model's Last Updated: May 06 2023
text-generation

Introduction of mbart-large-cc25-squad-qa

Model Details of mbart-large-cc25-squad-qa

Model Card of lmqg/mbart-large-cc25-squad-qa

This model is fine-tuned version of facebook/mbart-large-cc25 for question answering task on the lmqg/qg_squad (dataset_name: default) via lmqg .

Overview
Usage
from lmqg import TransformersQG

# initialize model
model = TransformersQG(language="en", model="lmqg/mbart-large-cc25-squad-qa")

# model prediction
answers = model.answer_q(list_question="What is a person called is practicing heresy?", list_context=" Heresy is any provocative belief or theory that is strongly at variance with established beliefs or customs. A heretic is a proponent of such claims or beliefs. Heresy is distinct from both apostasy, which is the explicit renunciation of one's religion, principles or cause, and blasphemy, which is an impious utterance or action concerning God or sacred things.")
  • With transformers
from transformers import pipeline

pipe = pipeline("text2text-generation", "lmqg/mbart-large-cc25-squad-qa")
output = pipe("question: What is a person called is practicing heresy?, context: Heresy is any provocative belief or theory that is strongly at variance with established beliefs or customs. A heretic is a proponent of such claims or beliefs. Heresy is distinct from both apostasy, which is the explicit renunciation of one's religion, principles or cause, and blasphemy, which is an impious utterance or action concerning God or sacred things.")
Evaluation
Score Type Dataset
AnswerExactMatch 62.63 default lmqg/qg_squad
AnswerF1Score 76.98 default lmqg/qg_squad
BERTScore 92.7 default lmqg/qg_squad
Bleu_1 69.46 default lmqg/qg_squad
Bleu_2 64.72 default lmqg/qg_squad
Bleu_3 60.19 default lmqg/qg_squad
Bleu_4 56.23 default lmqg/qg_squad
METEOR 43.17 default lmqg/qg_squad
MoverScore 84.01 default lmqg/qg_squad
ROUGE_L 74.73 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_question']
  • output_types: ['answer']
  • prefix_types: None
  • model: facebook/mbart-large-cc25
  • max_length: 512
  • max_length_output: 32
  • epoch: 16
  • batch: 16
  • lr: 6e-05
  • fp16: False
  • random_seed: 1
  • gradient_accumulation_steps: 4
  • 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 research-backup mbart-large-cc25-squad-qa on huggingface.co

25
Total runs
0
24-hour runs
-2
3-day runs
-2
7-day runs
9
30-day runs

More Information About mbart-large-cc25-squad-qa huggingface.co Model

More mbart-large-cc25-squad-qa license Visit here:

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

mbart-large-cc25-squad-qa huggingface.co

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

mbart-large-cc25-squad-qa huggingface.co Url

https://huggingface.co/research-backup/mbart-large-cc25-squad-qa

research-backup mbart-large-cc25-squad-qa online free

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

research-backup mbart-large-cc25-squad-qa online free url in huggingface.co:

https://huggingface.co/research-backup/mbart-large-cc25-squad-qa

mbart-large-cc25-squad-qa install

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

mbart-large-cc25-squad-qa install url in huggingface.co:

https://huggingface.co/research-backup/mbart-large-cc25-squad-qa

Url of mbart-large-cc25-squad-qa

mbart-large-cc25-squad-qa huggingface.co Url

Provider of mbart-large-cc25-squad-qa huggingface.co

research-backup
ORGANIZATIONS

Other API from research-backup