izhx commited on
Commit
f7d567e
1 Parent(s): 139a658

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -2
README.md CHANGED
@@ -4655,6 +4655,7 @@ The **gte-multilingual-base** model is the latest in the [GTE](https://huggingfa
4655
  - **It is recommended to install xformers and enable unpadding for acceleration,
4656
  refer to [enable-unpadding-and-xformers](https://huggingface.co/Alibaba-NLP/new-impl#recommendation-enable-unpadding-and-acceleration-with-xformers).**
4657
  - **How to use it offline: [new-impl/discussions/2](https://huggingface.co/Alibaba-NLP/new-impl/discussions/2#662b08d04d8c3d0a09c88fa3)**
 
4658
 
4659
 
4660
 
@@ -4662,8 +4663,6 @@ refer to [enable-unpadding-and-xformers](https://huggingface.co/Alibaba-NLP/new-
4662
  ```
4663
  # Requires transformers>=4.36.0
4664
 
4665
- # Requires transformers>=4.36.0
4666
-
4667
  import torch.nn.functional as F
4668
  from transformers import AutoModel, AutoTokenizer
4669
 
 
4655
  - **It is recommended to install xformers and enable unpadding for acceleration,
4656
  refer to [enable-unpadding-and-xformers](https://huggingface.co/Alibaba-NLP/new-impl#recommendation-enable-unpadding-and-acceleration-with-xformers).**
4657
  - **How to use it offline: [new-impl/discussions/2](https://huggingface.co/Alibaba-NLP/new-impl/discussions/2#662b08d04d8c3d0a09c88fa3)**
4658
+ - **How to use with [TEI](https://github.com/huggingface/text-embeddings-inference): [refs/pr/7](https://huggingface.co/Alibaba-NLP/gte-multilingual-base/discussions/7#66bfb82ea03b764ca92a2221)**
4659
 
4660
 
4661
 
 
4663
  ```
4664
  # Requires transformers>=4.36.0
4665
 
 
 
4666
  import torch.nn.functional as F
4667
  from transformers import AutoModel, AutoTokenizer
4668