Update README.md
Browse files
README.md
CHANGED
@@ -31,8 +31,8 @@ pip install transformers
|
|
31 |
```python
|
32 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
33 |
|
34 |
-
tokenizer = AutoTokenizer.from_pretrained("
|
35 |
-
model = AutoModelForSequenceClassification.from_pretrained("
|
36 |
|
37 |
# Tokenize input text
|
38 |
text = "This is an example CNN news article about politics."
|
|
|
31 |
```python
|
32 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
33 |
|
34 |
+
tokenizer = AutoTokenizer.from_pretrained("Softechlb/articles_classification")
|
35 |
+
model = AutoModelForSequenceClassification.from_pretrained("Softechlb/articles_classification")
|
36 |
|
37 |
# Tokenize input text
|
38 |
text = "This is an example CNN news article about politics."
|