Commit
·
036e104
1
Parent(s):
9c98c60
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,5 +1,43 @@
|
|
| 1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
-
# FQUAD test set :
|
| 4 |
-
'''shell
|
| 5 |
-
{'exact_match': 57.214554579673774, 'f1': 80.75789384679857}''
|
|
|
|
| 1 |
+
---
|
| 2 |
+
|
| 3 |
+
language:
|
| 4 |
+
- fr
|
| 5 |
+
tags:
|
| 6 |
+
- fr
|
| 7 |
+
|
| 8 |
+
---
|
| 9 |
+
Best french QA model shared on HF!
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
### FQuAD Evaluation
|
| 13 |
+
```shell
|
| 14 |
+
{'exact_match': 57.214554579673774, 'f1': 80.75789384679857}''
|
| 15 |
+
```
|
| 16 |
+
|
| 17 |
+
## Usage
|
| 18 |
+
|
| 19 |
+
```python
|
| 20 |
+
from transformers import pipeline
|
| 21 |
+
|
| 22 |
+
nlp = pipeline('question-answering', model='CATIE-AQ/camembert_fquad_squad2fr_piafs_newsquadfr', tokenizer='CATIE-AQ/camembert_fquad_squad2fr_piafs_newsquadfr')
|
| 23 |
+
|
| 24 |
+
nlp({
|
| 25 |
+
'question': "Qui est Claude Monet?",
|
| 26 |
+
'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."
|
| 27 |
+
})
|
| 28 |
+
```
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
This model was trained on our servers with several datasets :
|
| 32 |
+
- fquad
|
| 33 |
+
- squad2fr (traduction from squad2 de pragnakalp)
|
| 34 |
+
- piaf 1.0+1.1+1.2
|
| 35 |
+
- newsquadfr
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
The CATIE (Centre Aquitain des Technologies de l'Information et Électroniques) is a center for technologic transfer specialized in digital technologies.
|
| 40 |
+
CATIE has a multidisciplinary approach through three fields of action : human factors and cognition, digital systems and AI.
|
| 41 |
+
https://www.catie.fr/en/home/
|
| 42 |
+
|
| 43 |
|
|
|
|
|
|
|
|
|