Commit
·
c3d8e5d
1
Parent(s):
6b393d1
Update README.md
Browse files
README.md
CHANGED
|
@@ -21,9 +21,7 @@ Base version of e5-v2 finetunned on an annotated subset of C4 (Numind/C4_sentime
|
|
| 21 |
Below is an example to encode text and get embedding.
|
| 22 |
|
| 23 |
```python
|
| 24 |
-
import torch
|
| 25 |
-
|
| 26 |
-
from torch import Tensor
|
| 27 |
from transformers import AutoTokenizer, AutoModel
|
| 28 |
|
| 29 |
|
|
|
|
| 21 |
Below is an example to encode text and get embedding.
|
| 22 |
|
| 23 |
```python
|
| 24 |
+
import torch
|
|
|
|
|
|
|
| 25 |
from transformers import AutoTokenizer, AutoModel
|
| 26 |
|
| 27 |
|