nbouali commited on
Commit
c21d936
1 Parent(s): 0cf7d36

update api text example from nbouali

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -13,7 +13,7 @@ widget:
13
 
14
  This model is finetuned on a sequence classification task that associates each sequence with the appropriate recipe category.
15
 
16
- ### How to use it ?
17
 
18
  ```python
19
  from transformers import AutoTokenizer, AutoModelForSequenceClassification
@@ -30,7 +30,7 @@ print(nlp("Lasagnes à la bolognaise"))
30
  ```
31
  [{'label': 'LABEL_6', 'score': 0.9921900033950806}]
32
  ```
33
- ### Label encoding
34
 
35
  | label | Recipe Category |
36
  |:------:|:--------------:|
13
 
14
  This model is finetuned on a sequence classification task that associates each sequence with the appropriate recipe category.
15
 
16
+ ### How to use it?
17
 
18
  ```python
19
  from transformers import AutoTokenizer, AutoModelForSequenceClassification
30
  ```
31
  [{'label': 'LABEL_6', 'score': 0.9921900033950806}]
32
  ```
33
+ ### Label encoding:
34
 
35
  | label | Recipe Category |
36
  |:------:|:--------------:|