David Pollack
commited on
Commit
•
459f7eb
1
Parent(s):
d4753b5
fix readme typo
Browse files
README.md
CHANGED
@@ -16,7 +16,7 @@ This is a dummy model that can be used for testing the transformers `pipeline` w
|
|
16 |
## How to use
|
17 |
|
18 |
```python
|
19 |
-
classifier = pipeline("dhpollack/distilbert-dummy-sentiment")
|
20 |
results = classifier(["this is a test", "another test"])
|
21 |
```
|
22 |
|
|
|
16 |
## How to use
|
17 |
|
18 |
```python
|
19 |
+
classifier = pipeline("sentiment-analysis", "dhpollack/distilbert-dummy-sentiment")
|
20 |
results = classifier(["this is a test", "another test"])
|
21 |
```
|
22 |
|