Update README.md
Browse files
README.md
CHANGED
@@ -26,6 +26,10 @@ widget:
|
|
26 |
|
27 |
## usage in python
|
28 |
|
|
|
|
|
|
|
|
|
29 |
```
|
30 |
from transformers import pipeline
|
31 |
|
@@ -44,6 +48,7 @@ classifier(
|
|
44 |
) # classify the sentence
|
45 |
|
46 |
```
|
|
|
47 |
## metadata
|
48 |
|
49 |
|
|
|
26 |
|
27 |
## usage in python
|
28 |
|
29 |
+
install transformers as needed: `pip install -U transformers`
|
30 |
+
|
31 |
+
run the following, changing the example text to your use case:
|
32 |
+
|
33 |
```
|
34 |
from transformers import pipeline
|
35 |
|
|
|
48 |
) # classify the sentence
|
49 |
|
50 |
```
|
51 |
+
|
52 |
## metadata
|
53 |
|
54 |
|