Update README.md
Browse files
README.md
CHANGED
|
@@ -43,8 +43,8 @@ metrics:
|
|
| 43 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
| 44 |
import torch
|
| 45 |
|
| 46 |
-
tokenizer = AutoTokenizer.from_pretrained("
|
| 47 |
-
model = AutoModelForSequenceClassification.from_pretrained("
|
| 48 |
|
| 49 |
# Example input
|
| 50 |
inputs = tokenizer("The food was a bit bland, but the portion sizes were generous. I was looking forward to trying it, but it didn't quite live up to my expectations.", return_tensors='pt')
|
|
|
|
| 43 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
| 44 |
import torch
|
| 45 |
|
| 46 |
+
tokenizer = AutoTokenizer.from_pretrained("rohittamidapati11/fine_tuned_sentiment_model_rt2")
|
| 47 |
+
model = AutoModelForSequenceClassification.from_pretrained("rohittamidapati11/fine_tuned_sentiment_model_rt2")
|
| 48 |
|
| 49 |
# Example input
|
| 50 |
inputs = tokenizer("The food was a bit bland, but the portion sizes were generous. I was looking forward to trying it, but it didn't quite live up to my expectations.", return_tensors='pt')
|