bwang0911 commited on
Commit
7b306cf
1 Parent(s): b11256f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +0 -16
README.md CHANGED
@@ -3192,22 +3192,6 @@ embeddings = F.normalize(embeddings, p=2, dim=1)
3192
 
3193
  You can use Jina Embedding models directly from transformers package.
3194
 
3195
- First, you need to make sure that you are logged into huggingface. You can either use the huggingface-cli tool (after installing the `transformers` package) and pass your [hugginface access token](https://huggingface.co/docs/hub/security-tokens):
3196
- ```bash
3197
- huggingface-cli login
3198
- ```
3199
- Alternatively, you can provide the access token as an environment variable in the shell:
3200
- ```bash
3201
- export HF_TOKEN="<your token here>"
3202
- ```
3203
- or in Python:
3204
- ```python
3205
- import os
3206
-
3207
- os.environ['HF_TOKEN'] = "<your token here>"
3208
- ```
3209
-
3210
- Then, you can use load and use the model via the `AutoModel` class:
3211
  ```python
3212
  !pip install transformers
3213
  from transformers import AutoModel
 
3192
 
3193
  You can use Jina Embedding models directly from transformers package.
3194
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3195
  ```python
3196
  !pip install transformers
3197
  from transformers import AutoModel