Image Feature Extraction
timm
Safetensors
PerceptionEncoder
inkling2_vision
vision
feature-extraction
Instructions to use immanuelpeter/Inkling-2-Mini-Vision with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use immanuelpeter/Inkling-2-Mini-Vision with timm:
import timm model = timm.create_model("hf-hub:immanuelpeter/Inkling-2-Mini-Vision", pretrained=True) - PerceptionEncoder
How to use immanuelpeter/Inkling-2-Mini-Vision with PerceptionEncoder:
# Use any PE model as a vision encoder import core.vision_encoder.pe as pe model = pe.VisionTransformer.from_config("immanuelpeter/Inkling-2-Mini-Vision", pretrained=True) - Notebooks
- Google Colab
- Kaggle
File size: 466 Bytes
38ed20e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | {
"model_type": "inkling2_vision",
"text_hidden_size": 2304,
"temporal_patch_size": 2,
"native_patch_size": 20,
"adapter_merge_size": 2,
"projection_hidden_dim": 4096,
"projector_bias": false,
"hidden_size": 1024,
"num_hidden_layers": 23,
"num_attention_heads": 16,
"mlp_ratio": 4.0,
"posemb_grid_size": 32,
"layer_norm_eps": 1e-05,
"image_size": 640,
"timm_architecture": "vit_pe_lang_large_patch14_448",
"torch_dtype": "bfloat16"
}
|