Commit
·
794c624
1
Parent(s):
691a03c
update README
Browse files
README.md
CHANGED
|
@@ -16,7 +16,7 @@ batch = tokenizer(a, max_length=128, truncation=True, padding=True, return_tenso
|
|
| 16 |
out = iseeek.bert(**batch)
|
| 17 |
|
| 18 |
# [CLS] representation
|
| 19 |
-
feature = last_hidden_state[:,0,:]
|
| 20 |
|
| 21 |
```
|
| 22 |
|
|
|
|
| 16 |
out = iseeek.bert(**batch)
|
| 17 |
|
| 18 |
# [CLS] representation
|
| 19 |
+
feature = out.last_hidden_state[:,0,:]
|
| 20 |
|
| 21 |
```
|
| 22 |
|