Cyrile commited on
Commit
45315b3
1 Parent(s): 52d413c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -1
README.md CHANGED
@@ -48,6 +48,7 @@ How to use DistilCamemBERT
48
  --------------------------
49
 
50
  Load DistilCamemBERT and its sub-word tokenizer :
 
51
  ```python
52
  from transformers import AutoTokenizer, AutoModel
53
 
@@ -58,6 +59,7 @@ model.eval()
58
  ```
59
 
60
  Filling masks using pipeline :
 
61
  ```python
62
  from transformers import pipeline
63
 
@@ -70,7 +72,7 @@ results
70
  {'sequence': '<s> Le camembert est parfait :)</s>', 'score': 0.04534877464175224, 'token': 1654},
71
  {'sequence': '<s> Le camembert est succulent :)</s>', 'score': 0.04128391295671463, 'token': 26202},
72
  {'sequence': '<s> Le camembert est magnifique :)</s>', 'score': 0.02425697259604931, 'token': 1509}]
73
- ```
74
 
75
  Citation
76
  --------
 
48
  --------------------------
49
 
50
  Load DistilCamemBERT and its sub-word tokenizer :
51
+
52
  ```python
53
  from transformers import AutoTokenizer, AutoModel
54
 
 
59
  ```
60
 
61
  Filling masks using pipeline :
62
+
63
  ```python
64
  from transformers import pipeline
65
 
 
72
  {'sequence': '<s> Le camembert est parfait :)</s>', 'score': 0.04534877464175224, 'token': 1654},
73
  {'sequence': '<s> Le camembert est succulent :)</s>', 'score': 0.04128391295671463, 'token': 26202},
74
  {'sequence': '<s> Le camembert est magnifique :)</s>', 'score': 0.02425697259604931, 'token': 1509}]
75
+ ```
76
 
77
  Citation
78
  --------