File size: 1,088 Bytes
036e104 9c98c60 |
1 2 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 |
---
language:
- fr
tags:
- fr
---
Best french QA model shared on HF!
### FQuAD Evaluation
```shell
{'exact_match': 57.214554579673774, 'f1': 80.75789384679857}''
```
## Usage
```python
from transformers import pipeline
nlp = pipeline('question-answering', model='CATIE-AQ/camembert_fquad_squad2fr_piafs_newsquadfr', tokenizer='CATIE-AQ/camembert_fquad_squad2fr_piafs_newsquadfr')
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."
})
```
This model was trained on our servers with several datasets :
- fquad
- squad2fr (traduction from squad2 de pragnakalp)
- piaf 1.0+1.1+1.2
- newsquadfr
The CATIE (Centre Aquitain des Technologies de l'Information et Électroniques) is a center for technologic transfer specialized in digital technologies.
CATIE has a multidisciplinary approach through three fields of action : human factors and cognition, digital systems and AI.
https://www.catie.fr/en/home/
|