README.md 1.4 KB
Newer Older
1
---
2
language: fr
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
---

# camembert-large-fquad

## Description

A native French Question Answering model [CamemBERT-large](https://camembert-model.fr/) fine-tuned on [FQuAD](https://fquad.illuin.tech/).

## FQuAD Leaderboard and evaluation scores

The results of Camembert-large-fquad can be compared with other state-of-the-art models of the [FQuAD Leaderboard](https://illuin-tech.github.io/FQuAD-explorer/).

On the test set the model scores,

```shell
{"f1": 91.5, "exact_match": 82.0}
```

On the development set the model scores,

```shell
{"f1": 91.0, "exact_match": 81.2}
```

Note : You can also explore the results of the model on [FQuAD-Explorer](https://illuin-tech.github.io/FQuAD-explorer/) !

## Usage

```python
from transformers import pipeline

nlp = pipeline('question-answering', model='illuin/camembert-large-fquad', tokenizer='illuin/camembert-large-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鈥檜n des fondateurs de l'impressionnisme."
})
```

## Citation

If you use our work, please cite:

```bibtex
@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}
}
```