Update README.md
Browse files
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
|
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')
|