Run this model with HF Jobs

Run immanuelpeter/MoonViT-V2 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/immanuelpeter/MoonViT-V2. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/immanuelpeter/MoonViT-V2 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

MoonViT-V2

This repository packages the Kimi K3 MoonViT-V2 Tower and Projector. It reproduces K3's image path without downloading the full 96-shard, 2.8T-parameter checkpoint. AI4Industry/MoonViT-V2 publishes the Tower alone.

Contents

File Tensors What it holds
model.safetensors 165 MoonViT-V2 Tower, bit-identical to AI4Industry/MoonViT-V2
projector.safetensors 3 Kimi K3 patchmergerv2
projector_config.json Projector shapes, read from the weights
config.json, configuration_moonvit_v2.py, modeling_moonvit_v2.py, image_processing_moonvit_v2.py, preprocessor_config.json Vendored from AI4Industry/MoonViT-V2

Architecture

Component Details
Tower 27 layers, 1024 hidden, 12 heads, 1536 QKV, patch size 14
Token compression 2x2 pixel shuffle plus temporal pooling, no learned parameters
Projector Linear(4096, 4096) no bias, GELU, Linear(4096, 7168) no bias, RMSNorm(7168)

Usage

See examples/inference.py for a complete image-to-projected-features example.

Validation

The parity check compares all 165 Tower tensors and three Projector tensors with the pinned Kimi K3 parent using torch.equal. Fixed-image Tower, merged and projected outputs also match pinned official vLLM vision source in FP32 under vLLM's own TORCH_SDPA.

Reproduction

The export script extracts mm_projector from shard 95 and vision_tower from shard 96 of moonshotai/Kimi-K3. It preserves the original BF16 weights and verifies all 165 Tower tensors against AI4Industry/MoonViT-V2 before writing.

Credits

Moonshot AI released the Kimi K3 weights. The modeling and image-processing code comes unchanged from AI4Industry/MoonViT-V2.

License

Kimi K3 License, the same license as the source model.

Downloads last month
851
Safetensors
Model size
0.4B params
Tensor type
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for immanuelpeter/MoonViT-V2

Finetuned
(58)
this model

Collection including immanuelpeter/MoonViT-V2