Update README.md
Browse files
README.md
CHANGED
|
@@ -52,7 +52,7 @@ The model classifies sentences into these 9 frame categories:
|
|
| 52 |
```python
|
| 53 |
from transformers import pipeline
|
| 54 |
|
| 55 |
-
classifier = pipeline("text-classification", model="mattdr/
|
| 56 |
|
| 57 |
text = "The new policy will cost taxpayers millions of dollars while providing few benefits."
|
| 58 |
result = classifier(text)
|
|
|
|
| 52 |
```python
|
| 53 |
from transformers import pipeline
|
| 54 |
|
| 55 |
+
classifier = pipeline("text-classification", model="mattdr/cross-domain-frame-classifier")
|
| 56 |
|
| 57 |
text = "The new policy will cost taxpayers millions of dollars while providing few benefits."
|
| 58 |
result = classifier(text)
|