MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.1k stars 21.15k forks source link

Please help correct the doc #116658

Open Jessieliu111 opened 8 months ago

Jessieliu111 commented 8 months ago

[Enter feedback here]

Hi team,

for the hugging face model, it's confusing where to download the model, whether it's from azureml registry or from hugging face hub. Please confirm with product team, if hugging face model asset ID is in azureml://registry, if the download model traffic will go out to public hugging face hug or not. What kind of model will be downloaded from public hugging face hug? Thanks.

Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

RamanathanChinnappan-MSFT commented 8 months ago

@Jessieliu111 Thanks for your feedback! We will investigate and update as appropriate.

RamanathanChinnappan-MSFT commented 8 months ago

@Jessieliu111 I've delegated this to @ManojBableshwar, a content author, to review and share their valuable insights.

ManojBableshwar commented 5 months ago

Please see FAQ section in docs:

https://learn.microsoft.com/en-us/azure/machine-learning/how-to-deploy-models-from-huggingface?view=azureml-api-2#frequently-asked-questions. You need to use HuggingFace sdk to download the models.

Where are the model weights stored? Hugging Face models are featured in the Azure Machine Learning model catalog through the HuggingFace registry. Hugging Face creates and manages this registry and is made available to Azure Machine Learning as a Community Registry. The model weights aren't hosted on Azure. The weights are downloaded directly from Hugging Face hub to the online endpoints in your workspace when these models deploy. HuggingFace registry in AzureML works as a catalog to help discover and deploy HuggingFace hub models in Azure Machine Learning.