Can't find 'adapter_config.json' for console_chat.py
Hello,
I cannot run console_chat.py.
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
Hi @williamj77, could you show more details about how you ran console_chat.py? For example, run it locally or in ACA? Have you finished finetune?
Hello,
It is run locally.
Again, where is the adapters_name file?
adapters_name = "?" # Ensure this path is correctly set before running
williamj
The project is for finetuning. The missing file might be caused by not finishing finetuning. Is finetuning what you want to achieve? If so, you may refer to this document https://github.com/microsoft/vscode-ai-toolkit/blob/main/doc/finetune.md
Hello,
Yes, I am finetuning.
I believe the job finished.
I wish to run everything locally.
williamj
From: Alex Wang Sent: Thursday, April 10, 2025 2:32 AM To: microsoft/vscode-ai-toolkit Cc: William Johnston ; Mention Subject: Re: [microsoft/vscode-ai-toolkit] Can't find 'adapter_config.json' for console_chat.py (Issue #190)
The project is for finetuning. The missing file might be caused by not finishing finetuning. Is finetuning what you want to achieve? If so, you may refer to this document https://github.com/microsoft/vscode-ai-toolkit/blob/main/doc/finetune.md
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***> a1exwang left a comment (microsoft/vscode-ai-toolkit#190) The project is for finetuning. The missing file might be caused by not finishing finetuning. Is finetuning what you want to achieve? If so, you may refer to this document https://github.com/microsoft/vscode-ai-toolkit/blob/main/doc/finetune.md
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
Hello,
Here are screenshots of the output directories.
Did the finetune job finish?
https://www.dropbox.com/scl/fi/cz3t8vgg8vcmr3fu0ifjb/finetune-checkpoint-output.png?rlkey=y7p1slwnfqacc2t7pb1yoq60x&st=7evsf364&dl=0
https://www.dropbox.com/scl/fi/fkh8h95ecje2rwes9q9ez/finetune-output.png?rlkey=pt4v3y58k56kw53b6j0glgscz&st=fj253gnm&dl=0
williamj
It seems the finetuning result exists. Could you try running python gradio-chat.py --baseonly and see if you can successfully run the base model without adapters?
I needed to add this folder directory:
adapters_name = "../models/checkpoints/checkpoint-1875"
Thank you.
williamj