# Inference Endpoints for text embeddings inference not working

**URL:** <https://discuss.huggingface.co/t/inference-endpoints-for-text-embeddings-inference-not-working/102610>\
**Category:** Inference Endpoints on the Hub\
**Created:** [August 16, 2024, 9:07am UTC](https://discuss.huggingface.co/t/inference-endpoints-for-text-embeddings-inference-not-working/102610 "2024-08-16T09:07:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicolas-devatine](https://avatars.discourse-cdn.com/v4/letter/n/9de053/32.png) [@nicolas-devatine](https://discuss.huggingface.co/u/nicolas-devatine)\
**Post date:** [August 16, 2024, 9:07am UTC](https://discuss.huggingface.co/t/inference-endpoints-for-text-embeddings-inference-not-working/102610/1 "2024-08-16T09:07:25Z")

</div>

Hi,

I’m trying to create an inference endpoint for text embeddings inference using this model : [Alibaba-NLP/gte-multilingual-base · Hugging Face](https://huggingface.co/Alibaba-NLP/gte-multilingual-base)

After setting up the endpoint, it won’t start and gives me the error: `Error: 'config.json' does not contain 'id2label'`

I don’t understand how to solve this because I’m not doing classification and I specified the container to be for “Text Embeddings Inference” and the task “Sentence Embeddings”.

Any idea on why I got this error and how can I solve it?

Thank you for your help!

---

<div class="post-metadata">

**Author:** ![meganariley](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/meganariley/32/56966_2.png) [@meganariley](https://discuss.huggingface.co/u/meganariley)\
**Post date:** [August 16, 2024, 6:14pm UTC](https://discuss.huggingface.co/t/inference-endpoints-for-text-embeddings-inference-not-working/102610/2 "2024-08-16T18:14:36Z")

</div>

Hi @nicolas-devatine Thanks for reporting! We’re taking a closer look into this and I’ll update you soon.

---

<div class="post-metadata">

**Author:** ![nbroad](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/nbroad/32/26465_2.png) [@nbroad](https://discuss.huggingface.co/u/nbroad)\
**Post date:** [August 16, 2024, 8:37pm UTC](https://discuss.huggingface.co/t/inference-endpoints-for-text-embeddings-inference-not-working/102610/3 "2024-08-16T20:37:43Z")

</div>

> **[Alibaba-NLP/gte-multilingual-base · HERE IS HOW YOU USE THIS WITH TEI OR...](https://huggingface.co/Alibaba-NLP/gte-multilingual-base/discussions/7#66bfb82ea03b764ca92a2221)**
>
> testing to see if this works for TEI
