update api text example from nbouali
Browse files
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 |
|:------:|:--------------:|
|