Update README.md
Browse files
README.md
CHANGED
|
@@ -29,5 +29,5 @@ model.to("cuda")
|
|
| 29 |
pairs = ["pandas usually live in the jungles"]
|
| 30 |
with torch.no_grad():
|
| 31 |
inputs = tokenizer(pairs, padding=True, truncation=True, return_tensors='pt', max_length=512)
|
| 32 |
-
logits = model(**inputs
|
| 33 |
```
|
|
|
|
| 29 |
pairs = ["pandas usually live in the jungles"]
|
| 30 |
with torch.no_grad():
|
| 31 |
inputs = tokenizer(pairs, padding=True, truncation=True, return_tensors='pt', max_length=512)
|
| 32 |
+
logits = model(**inputs)[0][:, 0]
|
| 33 |
```
|