Debopam Dey
commited on
Update README.md
Browse files
README.md
CHANGED
|
@@ -39,7 +39,7 @@ from transformers import BertTokenizer, BertForSequenceClassification
|
|
| 39 |
|
| 40 |
# Load the model and tokenizer from the Hugging Face model hub
|
| 41 |
mymodel = BertForSequenceClassification.from_pretrained("pritam2014/SentimentBERT")
|
| 42 |
-
mytokenizer = BertTokenizer.from_pretrained("
|
| 43 |
```
|
| 44 |
```
|
| 45 |
def preprocess_text(text):
|
|
|
|
| 39 |
|
| 40 |
# Load the model and tokenizer from the Hugging Face model hub
|
| 41 |
mymodel = BertForSequenceClassification.from_pretrained("pritam2014/SentimentBERT")
|
| 42 |
+
mytokenizer = BertTokenizer.from_pretrained("pritam2014/SentimentBERT",use_auth_token=True)
|
| 43 |
```
|
| 44 |
```
|
| 45 |
def preprocess_text(text):
|