Query regarding microsoft phi-2 SLM model

Abhishek Bhadoriya 0 Reputation points

Hello Microsoft community,
We are excited with recently launched model called Phi-2. The SLM performance compared to LLMs ( <10 millions parameters) is impressive. We are excited to test the model but however we couldn't find any information on finetuning it. Is it possible to fine-tune the model for specific task like categorisation? If so, How can one fine tune phi-2 model and use it for inference?

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,714 questions
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
1,067 questions
Azure AI Language
Azure AI Language
An Azure service that provides natural language capabilities including sentiment analysis, entity extraction, and automated question answering.
388 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Mansooreh Karami 5 Reputation points Microsoft Employee

    @romungi-MSFT I can see there is now a fine-tuning option available. I have tried to fine-tune Phi-2 on my data. However, for 160 samples, I ran it for 5 days and it was still running. I stopped the job and tried again, 2 days passed, and it is still running. Is that usually the case? How much do you think it should take? Thanks

    1 person found this answer helpful.
    0 comments No comments