michael-guenther commited on
Commit
9a2750b
1 Parent(s): ccb5985

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +11 -0
README.md CHANGED
@@ -3277,6 +3277,17 @@ This is caused by tranformers falling back to creating a default BERT model, ins
3277
  Some weights of the model checkpoint at jinaai/jina-embeddings-v2-base-en were not used when initializing BertModel: ['encoder.layer.2.mlp.layernorm.weight', 'encoder.layer.3.mlp.layernorm.weight', 'encoder.layer.10.mlp.wo.bias', 'encoder.layer.5.mlp.wo.bias', 'encoder.layer.2.mlp.layernorm.bias', 'encoder.layer.1.mlp.gated_layers.weight', 'encoder.layer.5.mlp.gated_layers.weight', 'encoder.layer.8.mlp.layernorm.bias', ...
3278
  ```
3279
 
 
 
 
 
 
 
 
 
 
 
 
3280
  ## Contact
3281
 
3282
  Join our [Discord community](https://discord.jina.ai) and chat with other community members about ideas.
 
3277
  Some weights of the model checkpoint at jinaai/jina-embeddings-v2-base-en were not used when initializing BertModel: ['encoder.layer.2.mlp.layernorm.weight', 'encoder.layer.3.mlp.layernorm.weight', 'encoder.layer.10.mlp.wo.bias', 'encoder.layer.5.mlp.wo.bias', 'encoder.layer.2.mlp.layernorm.bias', 'encoder.layer.1.mlp.gated_layers.weight', 'encoder.layer.5.mlp.gated_layers.weight', 'encoder.layer.8.mlp.layernorm.bias', ...
3278
  ```
3279
 
3280
+
3281
+ **User is not logged into Huggingface**
3282
+
3283
+ The model is only availabe under [gated access](https://huggingface.co/docs/hub/models-gated).
3284
+ This means you need to be logged into huggingface load load it.
3285
+ If you receive the following error, you need to provide an access token, either by using the huggingface-cli or providing the token via an environment variable as described above:
3286
+ ```bash
3287
+ OSError: jinaai/jina-embeddings-v2-base-en is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models'
3288
+ If this is a private repository, make sure to pass a token having permission to this repo with `use_auth_token` or log in with `huggingface-cli login` and pass `use_auth_token=True`.
3289
+ ```
3290
+
3291
  ## Contact
3292
 
3293
  Join our [Discord community](https://discord.jina.ai) and chat with other community members about ideas.