Spaces:
Runtime error
Runtime error
Download llava-phi/scripts/llava_phi/eval/textvqa.sh from RaviNaik/MultiModal-Phi2: direct link, hf CLI and curl.
- Browser
- Download file 581 Bytes
-
https://huggingface.co/spaces/RaviNaik/MultiModal-Phi2/resolve/main/llava-phi/scripts/llava_phi/eval/textvqa.sh
- Command line
-
hf download hf://spaces/RaviNaik/MultiModal-Phi2/llava-phi/scripts/llava_phi/eval/textvqa.sh
-
curl -L -o textvqa.sh https://huggingface.co/spaces/RaviNaik/MultiModal-Phi2/resolve/main/llava-phi/scripts/llava_phi/eval/textvqa.sh
581 Bytes
| python -m llava_phi.eval.model_vqa_loader \ | |
| --model-path ./checkpoints/llavaPhi-v0-3b-finetune \ | |
| --question-file ./playground/data/eval/textvqa/llava_textvqa_val_v051_ocr.jsonl \ | |
| --image-folder /path/to/data/textvqa/train_images \ | |
| --answers-file ./playground/data/eval/textvqa/answers/llavaPhi-v0-3b.jsonl \ | |
| --temperature 0 \ | |
| --conv-mode phi-2_v0 | |
| python -m llava_phi.eval.eval_textvqa \ | |
| --annotation-file ./playground/data/eval/textvqa/TextVQA_0.5.1_val.json \ | |
| --result-file ./playground/data/eval/textvqa/answers/llavaPhi-v0-3b.jsonl | |