Update README.md
Browse files
README.md
CHANGED
@@ -113,14 +113,14 @@ The following hyperparameters were used during training:
|
|
113 |
|
114 |
```python
|
115 |
from transformers import pipeline
|
116 |
-
ckpt = "
|
117 |
|
118 |
classifier = pipeline("text-classification", model=ckpt)
|
119 |
|
120 |
headline = "Your headline"
|
121 |
text = "Your article text here..."
|
122 |
|
123 |
-
classifier(headline + "[SEP]" + text)
|
124 |
```
|
125 |
|
126 |
### Framework versions
|
|
|
113 |
|
114 |
```python
|
115 |
from transformers import pipeline
|
116 |
+
ckpt = "Narrativaai/fake-news-detection-spanish"
|
117 |
|
118 |
classifier = pipeline("text-classification", model=ckpt)
|
119 |
|
120 |
headline = "Your headline"
|
121 |
text = "Your article text here..."
|
122 |
|
123 |
+
classifier(headline + " [SEP] " + text)
|
124 |
```
|
125 |
|
126 |
### Framework versions
|