Can't find 'adapter_config.json' for console_chat.py for Windows AI Toolkit

William Johnston 106 Reputation points
2025-06-20T16:40:02.71+00:00

Hello,

I cannot run console_chat.py using Windows AI Toolkit.

Here is the error:

"An error occurred: Can't find 'adapter_config.json' at ..."

Is there updated code for the microsoft/Phi-3-mini-4k-instruct project?

williamj

Developer technologies Visual Studio Extensions
0 comments No comments
{count} vote

Accepted answer
  1. Daniel Holland (PROTINGENT INC) 80 Reputation points Microsoft External Staff
    2025-06-20T22:32:18.49+00:00

    I am running Phi 1-5 and I'm receiving the same error. I fixed this by changing the adapters_name variable in the console_chat.py to reflect the checkpoint directory during my training run for finetuning. I my case, I changed as follows:

     # adapters_name = "../models/qlora/qlora/gpu-cpu_model/adapter"  # Ensure this path is correctly set before running
        adapters_name = "../models/checkpoints/checkpoint-1875"
    
    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.