Views
No views yet
| Architecture | LLaVA (SigLIP2 vision encoder + Llama 3.1 8B) |
| Quantization | 8-bit (group_size=64) |
| Vision encoder | google/siglip2-so400m-patch14-384 |
| Image resolution | 384x384 |
| Total size | ~9.1 GB |
pip install mlx-vlm1import mlx.core as mx
2from mlx_vlm import load, generate
3from mlx_vlm.prompt_utils import apply_chat_template
4from mlx_vlm.utils import load_config
5
6MODEL = "n0kovo/llama-joycaption-beta-one-hf-llava-mlx-8Bit"
7
8model, processor = load(MODEL)
9config = load_config(MODEL)
10
11prompt = apply_chat_template(
12 processor,
13 config,
14 "Write a long descriptive caption for this image in a formal tone.",
15 num_images=1,
16)
17
18output = generate(
19 model,
20 processor,
21 prompt,
22 image="image.jpg",
23 max_tokens=512,
24 temperature=0.6,
25)
26print(output)mlx-lmgroup_size=64); 28 MLP layers with incompatible dimensions (4304, not divisible by 64) are kept in float16