quicktensor commited on
Commit
4b6e9a6
1 Parent(s): efcae58

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -27,7 +27,7 @@ With huggingface transformers you only need to be a bit careful with how you poo
27
  ```python
28
  from transformers import AutoTokenizer, AutoModel
29
 
30
- pooler = lambda x: x[:, 0, :] # Choose CLS token and normalize
31
 
32
  sentences = ["This is an example sentence", "Each sentence is converted"]
33
  tokenizer = AutoTokenizer.from_pretrained('quicktensor/dexml_lf-amazontitles-1.3m')
 
27
  ```python
28
  from transformers import AutoTokenizer, AutoModel
29
 
30
+ pooler = lambda x: x[:, 0, :] # Choose CLS token
31
 
32
  sentences = ["This is an example sentence", "Each sentence is converted"]
33
  tokenizer = AutoTokenizer.from_pretrained('quicktensor/dexml_lf-amazontitles-1.3m')