Update README.md
Browse files
README.md
CHANGED
@@ -25,7 +25,7 @@ This model is a finetuned RoBERTa-large, for classifying whether news articles a
|
|
25 |
|
26 |
```python
|
27 |
from transformers import pipeline
|
28 |
-
classifier = pipeline("
|
29 |
classifier("Kennedy wins election")
|
30 |
```
|
31 |
|
|
|
25 |
|
26 |
```python
|
27 |
from transformers import pipeline
|
28 |
+
classifier = pipeline("text-classification", model="dell-research-harvard/topic-politics")
|
29 |
classifier("Kennedy wins election")
|
30 |
```
|
31 |
|