Update README.md
Browse files
README.md
CHANGED
@@ -114,4 +114,4 @@ outputs = model(**inputs)
|
|
114 |
predicted_class = torch.argmax(outputs.logits, dim=1).item()
|
115 |
|
116 |
label_map = {0: "positive", 1: "negative", 2: "neutral"}
|
117 |
-
print("Predicted Sentiment:", label_map[predicted_class])
|
|
|
114 |
predicted_class = torch.argmax(outputs.logits, dim=1).item()
|
115 |
|
116 |
label_map = {0: "positive", 1: "negative", 2: "neutral"}
|
117 |
+
print("Predicted Sentiment:", label_map[predicted_class])
|