tipsv2-b14-mic / integration.json
tarekziade's picture
tarekziade HF Staff
Publish MIC usage, slim fixture and reviewed Transformers expectations
1ba3c8e verified
Raw History Blame Contribute Delete
2.15 kB
{
"mic": "0.3",
"name": "TIPSv2 image-text (encode_image / encode_text)",
"usage": "AutoModel + encode_image / encode_text, batched images, seeded contrastive training step",
"architecture": "Tipsv2Model",
"checkpoints": {
"google/tipsv2-b14": {
"fixture": "huggingface-mic/tipsv2-b14-mic"
}
},
"fixtures": {
"huggingface-mic/tipsv2-b14-mic": {
"built_from": "google/tipsv2-b14",
"covers": [
"google/tipsv2-b14"
],
"build": {
"seed": 17,
"model_class": "Tipsv2Model"
}
}
},
"integrations": {
"transformers": {
"entry_point": "integrations/transformers/usage.md",
"format": "runnable-markdown",
"requires": [
"transformers>=5",
"torch",
"pillow",
"numpy",
"torchvision"
],
"targets": [
"fixtures",
"checkpoints"
],
"variants": {
"default": {},
"eager": {
"attn_implementation": "eager"
},
"bfloat16": {
"dtype": "bfloat16"
}
},
"training": true,
"resources": {
"fixture": {
"memory_gb": 4,
"download_mb": 40,
"variants": {
"bfloat16": {
"devices": []
}
}
},
"google/tipsv2-b14": {
"memory_gb": 6,
"download_mb": 700,
"variants": {
"bfloat16": {
"devices": []
}
}
}
}
}
},
"outputs": {
"runtime": {
"compare": "exact"
},
"logits.per_image": {
"compare": "allclose",
"atol": 0.0001,
"rtol": 0.0001
},
"embeds.image_probe": {
"compare": "allclose",
"atol": 0.0001,
"rtol": 0.0001
},
"embeds.text_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"
}
}
}