While fine tuning Mistral-7B on Azure

Chirag Joshi 15 Reputation points
2023-12-05T12:20:01.9833333+00:00

While fine tuning Mistral-7B on Azure, I’m getting same error multiple time : “Note: you may need to restart the kernel to use updated packages.”

I’ve restarted kernel multiple time but still getting same error. Can anyone help me understand how to fix it.

Screenshot 2023-12-05 at 5.24.55 PM

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,714 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. YutongTie-MSFT 48,501 Reputation points
    2023-12-05T21:20:23.55+00:00

    @Chirag Joshi

    Thanks for reaching out to us, could you please confirm you have install autotrain package successfully in your right environment?

    Another possible reason is you may have same name with multiple folders which caused this issue. Something you can try is to create a New Environment (new_env),

    Step1: Create a New Environment. Step2: Install the packages. Step3: Definitely it will work.

    If you still have the same error, please check on below -

    1. Verify Existence: Confirm that "autotrain" is a legitimate line magic function and is part of the library you are using.
    2. Install and Load Extension: If "autotrain" is provided by an extension, ensure that you've installed the extension and loaded it into your notebook using %load_ext. For example: %load_ext myextension
    3. Correct Environment: Make sure that the library providing "autotrain" is installed in the same Python environment that the notebook is using.

    I hope this helps.

    Regards,

    Yutong

    -Please kindly accept the answer if you feel helpful to support the community, thanks a lot.

    1 person found this answer helpful.
    0 comments No comments