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