Skip to content

Error running MiniGPT-v2 demo code #552

@YangJae96

Description

@YangJae96

Hi. Thanks for great work!

I tired to run below command.

python demo_v2.py --cfg-path eval_configs/minigptv2_eval.yaml  --gpu-id 0

but facing below problem.

OSError: /root/.llama/checkpoints/Llama-2-7b-chat does not appear to have a file named config.json. Checkout 'https://huggingface.co//root/.llama/checkpoints/Llama-2-7b-chat/None' for available files.

I've locally downloaded the Llama 2 Chat 7B model through

pip install llama-stack
llama model list --show-all
llama model download --source meta --model-id Llama-2-7b-chat

I've followed the instruction in README and changed the path of the llama_model model.

For MiniGPT-v2, set the LLM path here at Line 14.

Image

I think this issues has been raised few times. But I can't find the solution.
Can anyone please help?!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions