JadenLong commited on
Commit
d290670
·
verified ·
1 Parent(s): ad5b16b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -60,7 +60,7 @@ embedding_mean = torch.mean(last_hidden_state[0], dim=0)
60
  print(embedding_mean.shape) # expect to be 768
61
 
62
  # embedding with max pooling
63
- embedding_max = torch.max(last_hidden_states[0], dim=0)[0]
64
  print(embedding_max.shape) # expect to be 768
65
  ```
66
 
 
60
  print(embedding_mean.shape) # expect to be 768
61
 
62
  # embedding with max pooling
63
+ embedding_max = torch.max(last_hidden_state[0], dim=0)[0]
64
  print(embedding_max.shape) # expect to be 768
65
  ```
66