Update README.md
Browse filesformat added in secction Model in Action
README.md
CHANGED
@@ -101,7 +101,7 @@ Epoch Training Loss Validation Loss Accuracy F1 Precision Recall
|
|
101 |
|
102 |
## Model in Action
|
103 |
Fast usage with pipelines:
|
104 |
-
|
105 |
###libraries required
|
106 |
!pip install transformers
|
107 |
from transformers import pipeline
|
@@ -122,3 +122,4 @@ pipeline_nlp("mujer al volante peligro!")
|
|
122 |
#[{‘label': 'LABEL_1', 'score': 0.9967633485794067},
|
123 |
# {'label': 'LABEL_1', 'score': 0.9755664467811584},
|
124 |
# {'label': 'LABEL_0', 'score': 0.9955045580863953}]
|
|
|
|
101 |
|
102 |
## Model in Action
|
103 |
Fast usage with pipelines:
|
104 |
+
``` python
|
105 |
###libraries required
|
106 |
!pip install transformers
|
107 |
from transformers import pipeline
|
|
|
122 |
#[{‘label': 'LABEL_1', 'score': 0.9967633485794067},
|
123 |
# {'label': 'LABEL_1', 'score': 0.9755664467811584},
|
124 |
# {'label': 'LABEL_0', 'score': 0.9955045580863953}]
|
125 |
+
```
|