emilys commited on
Commit
ad8f63a
·
verified ·
1 Parent(s): 3dca230

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
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("TextClassificationPipeline", model="dell-research-harvard/topic-politics")
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