Update README.md
Browse files
README.md
CHANGED
@@ -2708,7 +2708,7 @@ embeddings = model.encode(
|
|
2708 |
)
|
2709 |
```
|
2710 |
|
2711 |
-
|
2712 |
|
2713 |
```python
|
2714 |
!pip install -U sentence-transformers
|
@@ -2761,17 +2761,6 @@ This is caused by tranformers falling back to creating a default BERT model, ins
|
|
2761 |
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', ...
|
2762 |
```
|
2763 |
|
2764 |
-
|
2765 |
-
**User is not logged into Huggingface**
|
2766 |
-
|
2767 |
-
The model is only availabe under [gated access](https://huggingface.co/docs/hub/models-gated).
|
2768 |
-
This means you need to be logged into huggingface load load it.
|
2769 |
-
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:
|
2770 |
-
```bash
|
2771 |
-
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'
|
2772 |
-
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`.
|
2773 |
-
```
|
2774 |
-
|
2775 |
## Contact
|
2776 |
|
2777 |
Join our [Discord community](https://discord.jina.ai) and chat with other community members about ideas.
|
|
|
2708 |
)
|
2709 |
```
|
2710 |
|
2711 |
+
The latest sentence-transformers also supports Jina embeddings:
|
2712 |
|
2713 |
```python
|
2714 |
!pip install -U sentence-transformers
|
|
|
2761 |
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', ...
|
2762 |
```
|
2763 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2764 |
## Contact
|
2765 |
|
2766 |
Join our [Discord community](https://discord.jina.ai) and chat with other community members about ideas.
|