michael-guenther
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -1238,6 +1238,16 @@ This is caused by tranformers falling back to creating a default BERT model, ins
|
|
1238 |
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', ...
|
1239 |
```
|
1240 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1241 |
## Contact
|
1242 |
|
1243 |
Join our [Discord community](https://discord.jina.ai) and chat with other community members about ideas.
|
|
|
1238 |
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', ...
|
1239 |
```
|
1240 |
|
1241 |
+
**User is not logged into Huggingface**
|
1242 |
+
|
1243 |
+
The model is only availabe under [gated access](https://huggingface.co/docs/hub/models-gated).
|
1244 |
+
This means you need to be logged into huggingface load load it.
|
1245 |
+
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:
|
1246 |
+
```bash
|
1247 |
+
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'
|
1248 |
+
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`.
|
1249 |
+
```
|
1250 |
+
|
1251 |
## Contact
|
1252 |
|
1253 |
Join our [Discord community](https://discord.jina.ai) and chat with other community members about ideas.
|