atahanuz commited on
Commit
086e5c8
·
verified ·
1 Parent(s): 7a7ea92

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
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, max_length=128)
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