How to deploy Llama 3.1 in AzureML job using transformers

matsuo_basho 30 Reputation points
2024-08-13T20:22:04.1633333+00:00

I run pipeline jobs programatically using AzureML. Is there a way to finetune the Llama 3.1 models? I see this tutorial, but I'm not interested in just a deployment. I need to finetune.

https://learn.microsoft.com/en-us/azure/machine-learning/how-to-deploy-models-llama?view=azureml-api-2&tabs=llama-three

I know I can go the route of authenticating with HuggingFace from within my script detailed here, but I don't want to give Meta my contact info, birthdate, etc to use llama.

I also see an option to deploy the model from the Model Catalog. This includes finetuning, but it's for text generation. I have a more complex finetuning task - masked language model followed by a sequence-to-sequence task.

User's image

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

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.