bwang0911 commited on
Commit
5078d99
1 Parent(s): 379115b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +0 -22
README.md CHANGED
@@ -3252,28 +3252,6 @@ According to the latest blog post from [LLamaIndex](https://blog.llamaindex.ai/b
3252
 
3253
  <img src="https://miro.medium.com/v2/resize:fit:4800/format:webp/1*ZP2RVejCZovF3FDCg-Bx3A.png" width="780px">
3254
 
3255
- ## Trouble Shooting
3256
-
3257
- **Loading of Model Code failed**
3258
-
3259
- If you forgot to pass the `trust_remote_code=True` flag when calling `AutoModel.from_pretrained` or initializing the model via the `SentenceTransformer` class, you will receive an error that the model weights could not be initialized.
3260
- This is caused by tranformers falling back to creating a default BERT model, instead of a jina-embedding model:
3261
-
3262
- ```bash
3263
- 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', ...
3264
- ```
3265
-
3266
-
3267
- **User is not logged into Huggingface**
3268
-
3269
- The model is only availabe under [gated access](https://huggingface.co/docs/hub/models-gated).
3270
- This means you need to be logged into huggingface load load it.
3271
- 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:
3272
- ```bash
3273
- 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'
3274
- 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`.
3275
- ```
3276
-
3277
  ## Contact
3278
 
3279
  Join our [Discord community](https://discord.jina.ai) and chat with other community members about ideas.
 
3252
 
3253
  <img src="https://miro.medium.com/v2/resize:fit:4800/format:webp/1*ZP2RVejCZovF3FDCg-Bx3A.png" width="780px">
3254
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3255
  ## Contact
3256
 
3257
  Join our [Discord community](https://discord.jina.ai) and chat with other community members about ideas.