tarekziade HF Staff
Publish MIC usage, slim fixture and reviewed Transformers expectations
0ab6a30 verified Download integration.json from huggingface-mic/MiniCPM-V-4.6-mic: direct link, hf CLI and curl.
- Browser
- Download file 2.15 kB
-
https://huggingface.co/huggingface-mic/MiniCPM-V-4.6-mic/resolve/main/integration.json
- Command line
-
hf download hf://huggingface-mic/MiniCPM-V-4.6-mic/integration.json
-
curl -L -o integration.json https://huggingface.co/huggingface-mic/MiniCPM-V-4.6-mic/resolve/main/integration.json
2.15 kB
| { | |
| "mic": "0.3", | |
| "name": "MiniCPM-V-4.6 image-text chat", | |
| "usage": "AutoProcessor + AutoModelForImageTextToText, chat-template prompt with one image, batched, causal-LM loss", | |
| "architecture": "MiniCPMV4_6ForConditionalGeneration", | |
| "checkpoints": { | |
| "openbmb/MiniCPM-V-4.6": { | |
| "fixture": "huggingface-mic/MiniCPM-V-4.6-mic" | |
| } | |
| }, | |
| "fixtures": { | |
| "huggingface-mic/MiniCPM-V-4.6-mic": { | |
| "built_from": "openbmb/MiniCPM-V-4.6", | |
| "covers": [ | |
| "openbmb/MiniCPM-V-4.6" | |
| ], | |
| "build": { | |
| "seed": 17, | |
| "model_class": "MiniCPMV4_6ForConditionalGeneration" | |
| } | |
| } | |
| }, | |
| "integrations": { | |
| "transformers": { | |
| "entry_point": "integrations/transformers/usage.md", | |
| "format": "runnable-markdown", | |
| "requires": [ | |
| "transformers>=5", | |
| "torch", | |
| "torchvision" | |
| ], | |
| "targets": [ | |
| "fixtures", | |
| "checkpoints" | |
| ], | |
| "variants": { | |
| "default": {}, | |
| "eager": { | |
| "attn_implementation": "eager" | |
| }, | |
| "bfloat16": { | |
| "dtype": "bfloat16" | |
| } | |
| }, | |
| "training": true, | |
| "resources": { | |
| "fixture": { | |
| "memory_gb": 4, | |
| "download_mb": 200 | |
| }, | |
| "openbmb/MiniCPM-V-4.6": { | |
| "memory_gb": 32, | |
| "gpu_memory_gb": 22, | |
| "download_mb": 18000, | |
| "variants": { | |
| "default": { | |
| "devices": [] | |
| }, | |
| "eager": { | |
| "devices": [] | |
| }, | |
| "bfloat16": { | |
| "gpu_memory_gb": 22 | |
| } | |
| }, | |
| "devices": [ | |
| "cuda" | |
| ] | |
| } | |
| } | |
| } | |
| }, | |
| "outputs": { | |
| "runtime": { | |
| "compare": "exact" | |
| }, | |
| "generated_text": { | |
| "compare": "exact" | |
| }, | |
| "logits.probe": { | |
| "compare": "allclose", | |
| "atol": 0.0001, | |
| "rtol": 0.0001 | |
| }, | |
| "training.loss": { | |
| "compare": "allclose", | |
| "atol": 0.0001, | |
| "rtol": 0.0001 | |
| }, | |
| "training.gradients": { | |
| "compare": "all_true" | |
| }, | |
| "training.updated": { | |
| "compare": "true" | |
| } | |
| } | |
| } | |