TJKlein commited on
Commit
0b01beb
1 Parent(s): 71f69a9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -38,7 +38,7 @@ batch = tokenizer.batch_encode_plus(
38
  truncation=True
39
  )
40
 
41
- # Compute the embeddings
42
 
43
  outputs = model(**batch, output_hidden_states=True, return_dict=True)
44
 
 
38
  truncation=True
39
  )
40
 
41
+ # Compute the embeddings and keep only the _**[CLS]**_ embedding (the first token)
42
 
43
  outputs = model(**batch, output_hidden_states=True, return_dict=True)
44