Azure ML HuggingFace custom model

Adrien O'Hana 15 Reputation points
2023-11-17T12:33:58.8466667+00:00

Hello,

I see now in preview we can select models from the HuggingFace Hub and deploy them on an Azure ML endpoint.

What if my model is a custom model ? I see two options

A) Ask Huggingface to add it to their model list (if they start doing that for everyone the catalog will become a huge mess)
B) Deploy on Azure ML via the HuggingFace Hub (only CPU and East US for now, apparent separate subscription)

What I'm looking for is a tutorial/method to deploy a huggingface hub custom model on an azure endpoint, selecting my own compute instance (not via the huggingface hub).

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
3,078 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Arthuro 20 Reputation points
    2024-06-06T12:38:41.1666667+00:00

    I managed to deploy a custom model from hugging face but it will work with basically every other model as well. You can follow these steps: Notebook

    2 people found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.