Update README.md
Browse files
README.md
CHANGED
|
@@ -59,7 +59,7 @@ with torch.no_grad():
|
|
| 59 |
|
| 60 |
# for classification
|
| 61 |
output = model(**tokens)
|
| 62 |
-
class =
|
| 63 |
```
|
| 64 |
|
| 65 |
## Training procedure
|
|
|
|
| 59 |
|
| 60 |
# for classification
|
| 61 |
output = model(**tokens)
|
| 62 |
+
class = output.logits
|
| 63 |
```
|
| 64 |
|
| 65 |
## Training procedure
|