Instructions to use gatilin/north-micro-vision-encoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use gatilin/north-micro-vision-encoder with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="gatilin/north-micro-vision-encoder")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("gatilin/north-micro-vision-encoder") model = AutoModelForMultimodalLM.from_pretrained("gatilin/north-micro-vision-encoder", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 650 Bytes
9820884 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | {
"strict_load": true,
"source_revision": "fa548d9aa62c1220bfd21fc6cfc465f1bd2a1a40",
"image": "COCO128 000000000030",
"device": "cpu",
"dtype": "torch.bfloat16",
"grid_thw": [
[
1,
16,
16
]
],
"pixel_values_shape": [
256,
1536
],
"vision_shape": [
256,
1152
],
"merged_shape": [
64,
2048
],
"deepstack_shapes": [
[
64,
2048
],
[
64,
2048
],
[
64,
2048
]
],
"repeat_max_abs_error": 0.0,
"finite": true,
"elapsed_seconds": 25.41,
"limitations": "No complete VLM forward or GPU numerical parity test."
}
|