AyoubChLin commited on
Commit
306a116
1 Parent(s): c10f24b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -28,8 +28,8 @@ pip install transformers
28
  ```python
29
  from transformers import AutoTokenizer, AutoModelForSequenceClassification
30
 
31
- tokenizer = AutoTokenizer.from_pretrained("IT-community/Bart_News_text_classification")
32
- model = AutoModelForSequenceClassification.from_pretrained("IT-community/Bart_News_text_classification")
33
 
34
  # Tokenize input text
35
  text = "This is an example CNN news article about politics."
 
28
  ```python
29
  from transformers import AutoTokenizer, AutoModelForSequenceClassification
30
 
31
+ tokenizer = AutoTokenizer.from_pretrained("IT-community/BART_cnn_news_text_classification")
32
+ model = AutoModelForSequenceClassification.from_pretrained("IT-community/BART_cnn_news_text_classification")
33
 
34
  # Tokenize input text
35
  text = "This is an example CNN news article about politics."