Update README.md
Browse files
README.md
CHANGED
|
@@ -84,7 +84,7 @@ id2label = {0: "NOT", 1: "OFF"}
|
|
| 84 |
|
| 85 |
# 3. Tokenize and predict
|
| 86 |
text = "Bu harika bir filmdi, çok beğendim." # Example text
|
| 87 |
-
inputs = tokenizer(text, return_tensors="pt", truncation=True
|
| 88 |
|
| 89 |
with torch.no_grad():
|
| 90 |
logits = model(**inputs).logits
|
|
|
|
| 84 |
|
| 85 |
# 3. Tokenize and predict
|
| 86 |
text = "Bu harika bir filmdi, çok beğendim." # Example text
|
| 87 |
+
inputs = tokenizer(text, return_tensors="pt", truncation=True)
|
| 88 |
|
| 89 |
with torch.no_grad():
|
| 90 |
logits = model(**inputs).logits
|