pierre-catie
commited on
Commit
•
567e377
1
Parent(s):
7d641e7
Update README.md
Browse files
README.md
CHANGED
@@ -6,7 +6,10 @@ tags:
|
|
6 |
- fr
|
7 |
|
8 |
---
|
9 |
-
Best french QA model shared on HF!
|
|
|
|
|
|
|
10 |
|
11 |
|
12 |
### FQuAD Evaluation
|
@@ -26,13 +29,19 @@ nlp({
|
|
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 |
|
|
|
6 |
- fr
|
7 |
|
8 |
---
|
9 |
+
### Best french QA model shared on HF!
|
10 |
+
It also has a great unique feature : it will output a low probability if the answer is not in the context!
|
11 |
+
|
12 |
+
( Depending on the sensibility of your use case, you will choose a threshold under which the answer should be rejected.)
|
13 |
|
14 |
|
15 |
### FQuAD Evaluation
|
|
|
29 |
'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."
|
30 |
})
|
31 |
```
|
32 |
+
```python
|
33 |
+
{'score': 0.19230681657791138,
|
34 |
+
'start': 20,
|
35 |
+
'end': 36,
|
36 |
+
'answer': 'un peintre français'}
|
37 |
+
```
|
38 |
|
39 |
This model was trained on our servers with several datasets :
|
40 |
- fquad
|
41 |
- squad2fr (traduction from squad2 de pragnakalp)
|
42 |
- piaf 1.0+1.1+1.2
|
43 |
- newsquadfr
|
44 |
+
- one dataset of ours of squad v2.0 type, the answer is NOT in the context.
|
45 |
|
46 |
|
47 |
|