This is a multimodal implementation of
Phi2 model inspired by
LlaVA-Phi.
Use the code below to get started with the model.
1git clone https://github.com/zhuyiche/llava-phi.git
2cd llava-phi
1conda create -n llava_phi python=3.10 -y
2conda activate llava_phi
3pip install --upgrade pip # enable PEP 660 support
4pip install -e .
1python llava_phi/eval/run_llava_phi.py --model-path="RaviNaik/Llava-Phi2" \
2 --image-file="https://huggingface.co/Navyabhat/Llava-Phi2/resolve/main/people.jpg?download=true" \
3 --query="How many people are there in the image?"
This implementation is based on wonderful work done by:
LlaVA-Phi
Llava
Phi2