cargo run # default args, use liuhaotian/llava-v1.6-vicuna-7b, default-image is image/llava_logo.png, prompt is "is this a cat?"
cargo run -- --image-file "images/llava_v1_5_radar.jpg" --prompt "what does this picture show?"
cargo run -- --model-path "fancyfeast/llama-joycaption-beta-one-hf-llava"
Download the corresponding weights from Hugging Face
Load the model weights and configs
image preprocess
conv template (partial, only implement conv_llava_v1 and conv_chatml_direct, which is enough for LLaVA v1.6)
Model structure Implementation
model forward
main process
quantization
top priority migrate to support llava-hf series model
conda create -n llava python=3.10
pip install transformers protobuf
1 commits
Rust
100.0%
cargo run # default args, use liuhaotian/llava-v1.6-vicuna-7b, default-image is image/llava_logo.png, prompt is "is this a cat?"
cargo run -- --image-file "images/llava_v1_5_radar.jpg" --prompt "what does this picture show?"
cargo run -- --model-path "fancyfeast/llama-joycaption-beta-one-hf-llava"
Download the corresponding weights from Hugging Face
Load the model weights and configs
image preprocess
conv template (partial, only implement conv_llava_v1 and conv_chatml_direct, which is enough for LLaVA v1.6)
Model structure Implementation
model forward
main process
quantization
top priority migrate to support llava-hf series model
conda create -n llava python=3.10
pip install transformers protobuf
1 commits
Rust
100.0%