huggingface / text-embeddings-inference

A blazing fast inference solution for text embeddings models
https://huggingface.co/docs/text-embeddings-inference/quick_tour
Apache License 2.0
2.66k stars 166 forks source link

Suggest supporting thenlper/gte-small-zh #279

Open xiayouran opened 4 months ago

xiayouran commented 4 months ago

System Info

Question: The reasoning results of TEI and sentence-transformers are inconsistent.

TEI version: 1.2 sentence-transformers: 2.3.1 embedding-model: thenlper/gte-small-zh

Information

Tasks

Reproduction

input text: 你好

TEI output: [[ 0.042778727, 0.016915003, 0.06579812, 0.04357415, -0.05951346, -0.028851831, ...]]

sentence-transformer output: [ 0.00476761, -0.04274084, -0.05193182, -0.01289688, -0.07046074, 0.01860032, ...]

Expected behavior

The outputs of TEI and sentence-transformers should be the same.

vrdn-23 commented 4 months ago

Related #234