julien-c HF staff commited on
Commit
8fea54f
1 Parent(s): 282cfed

Migrate model card from transformers-repo

Browse files

Read announcement at https://discuss.huggingface.co/t/announcement-all-model-cards-will-be-migrated-to-hf-co-model-repos/2755
Original file history: https://github.com/huggingface/transformers/commits/master/model_cards/illuin/camembert-base-fquad/README.md

Files changed (1) hide show
  1. README.md +56 -0
README.md ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: fr
3
+ tags:
4
+ - question-answering
5
+ - camembert
6
+ license: gpl-3.0
7
+ datasets:
8
+ - fquad
9
+ ---
10
+
11
+ # camembert-base-fquad
12
+
13
+ ## Description
14
+
15
+ A native French Question Answering model [CamemBERT-base](https://camembert-model.fr/) fine-tuned on [FQuAD](https://fquad.illuin.tech/).
16
+
17
+ ## Evaluation results
18
+
19
+ On the development set.
20
+
21
+ ```shell
22
+ {"f1": 88.1, "exact_match": 78.1}
23
+ ```
24
+
25
+ On the test set.
26
+
27
+ ```shell
28
+ {"f1": 88.3, "exact_match": 78.0}
29
+ ```
30
+
31
+ ## Usage
32
+
33
+ ```python
34
+ from transformers import pipeline
35
+
36
+ nlp = pipeline('question-answering', model='illuin/camembert-base-fquad', tokenizer='illuin/camembert-base-fquad')
37
+
38
+ nlp({
39
+ 'question': "Qui est Claude Monet?",
40
+ '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."
41
+ })
42
+ ```
43
+
44
+ ## Citation
45
+
46
+ If you use our work, please cite:
47
+
48
+ ```bibtex
49
+ @article{dHoffschmidt2020FQuADFQ,
50
+ title={FQuAD: French Question Answering Dataset},
51
+ author={Martin d'Hoffschmidt and Maxime Vidal and Wacim Belblidia and Tom Brendl'e and Quentin Heinrich},
52
+ journal={ArXiv},
53
+ year={2020},
54
+ volume={abs/2002.06071}
55
+ }
56
+ ```