# How to update the endpoint\_url of huggingface vectorizer of an existing collection ? given the model is same

**URL:** <https://forum.weaviate.io/t/how-to-update-the-endpoint-url-of-huggingface-vectorizer-of-an-existing-collection-given-the-model-is-same/10417>\
**Category:** Support\
**Created:** [February 17, 2025, 2:43pm UTC](https://forum.weaviate.io/t/how-to-update-the-endpoint-url-of-huggingface-vectorizer-of-an-existing-collection-given-the-model-is-same/10417 "2025-02-17T14:43:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Haris\_khan\_Khakwani](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/haris_khan_khakwani/32/3596_2.png) [@Haris\_khan\_Khakwani](https://forum.weaviate.io/u/Haris_khan_Khakwani)\
**Post date:** [February 17, 2025, 2:43pm UTC](https://forum.weaviate.io/t/how-to-update-the-endpoint-url-of-huggingface-vectorizer-of-an-existing-collection-given-the-model-is-same/10417/1 "2025-02-17T14:43:24Z")

</div>

example

```python
client.collections.create(
    "DemoCollection",
    vectorizer_config=[
        Configure.NamedVectors.text2vec_huggingface(
            name="title_vector",
            source_properties=["title"],
            # NOTE: Use only one of (`model`), (`passage_model` and `query_model`), or (`endpoint_url`)
            #model="sentence-transformers/all-MiniLM-L6-v2",
            # passage_model="sentence-transformers/facebook-dpr-ctx_encoder-single-nq-base", # Required if using `query_model`
            # query_model="sentence-transformers/facebook-dpr-question_encoder-single-nq-base", # Required if using `passage_model`
            endpoint_url="<custom_huggingface_url>",
            #
            # wait_for_model=True,
            # use_cache=True,
            # use_gpu=True,
        )
    ],
)

```

---

<div class="post-metadata">

**Author:** ![DudaNogueira](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/dudanogueira/32/7846_2.png) [@DudaNogueira](https://forum.weaviate.io/u/DudaNogueira)\
**Post date:** [February 18, 2025, 1:10pm UTC](https://forum.weaviate.io/t/how-to-update-the-endpoint-url-of-huggingface-vectorizer-of-an-existing-collection-given-the-model-is-same/10417/2 "2025-02-18T13:10:50Z")

</div>

hi @Haris_khan_Khakwani !!

Unfortunately, we currently don’t have the option to change huggingface’s baseurl url on run time ☹

Most of other modules, for example, text2vec-cohere do have this option:

> **[Text Embeddings | Weaviate](https://weaviate.io/developers/weaviate/model-providers/cohere/embeddings#runtime-parameters)**
>
> Weaviate's integration with Cohere's APIs allows you to access their models' capabilities directly from Weaviate.

For now, I believe the only option is migrating your data to a new collection with the new endpoint ☹ I know, should be easier 😬

We will work on adding this feature in future releases.

Thanks!
