Back to all models
question-answering mask_token: <mask>
Context
Query this model
🔥 This model is currently loaded and running on the Inference API. ⚠️ This model could not be loaded by the inference API. ⚠️ This model can be loaded on the Inference API on-demand.
JSON Output
API endpoint
								$ curl -X POST \
https://api-inference.huggingface.co/models/illuin/camembert-base-fquad
Share Copied link to clipboard

Monthly model downloads

illuin/camembert-base-fquad illuin/camembert-base-fquad
194 downloads
last 30 days

pytorch

tf

Contributed by

Illuin Technology company
2 team members · 2 models

How to use this model directly from the 🤗/transformers library:

			
Copy to clipboard
from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("illuin/camembert-base-fquad") model = AutoModelForQuestionAnswering.from_pretrained("illuin/camembert-base-fquad")

camembert-base-fquad

Description

A native French Question Answering model CamemBERT-base fine-tuned on FQuAD.

Evaluation results

On the development set.

{"f1": 88.1, "exact_match": 78.1}

On the test set.

{"f1": 88.3, "exact_match": 78.0}

Usage

from transformers import pipeline

nlp = pipeline('question-answering', model='illuin/camembert-base-fquad', tokenizer='illuin/camembert-base-fquad')

nlp({
    'question': "Qui est Claude Monet?",
    'context': "Claude Monet, né le 14 novembre 1840 à Paris et mort le 5 décembre 1926 à Giverny, est un peintre français et l’un des fondateurs de l'impressionnisme."
})

Citation

If you use our work, please cite:

@article{dHoffschmidt2020FQuADFQ,
  title={FQuAD: French Question Answering Dataset},
  author={Martin d'Hoffschmidt and Maxime Vidal and Wacim Belblidia and Tom Brendl'e and Quentin Heinrich},
  journal={ArXiv},
  year={2020},
  volume={abs/2002.06071}
}