North Micro Vision Instruct is a 2.4B-parameter open-weight vision-language model with native-resolution image support, released under the Apache 2.0 license. It is designed as a compact foundation for prototyping, task-specific fine-tuning, and specialized multimodal applications.
English, German, French, Spanish, Italian, Portuguese, Hindi, Japanese, Korean, Chinese, Arabic, and more
Tokenizer vocabulary size
262,144
LM Backbone context window
128K tokens
Multimodal training context
8K tokens
Checkpoint precision
bfloat16
License
Apache 2.0
The language backbone supports a 128K-token context window, but the validated operating range for multimodal prompts is up to 8K tokens. Longer multimodal contexts may rely on extrapolation and have not been benchmarked.
Quickstart
Installation
Install
PyTorch
for your platform first. North Micro Vision requires Transformers 5.16.0, together with
accelerate
for automatic device placement and Pillow for image loading. Until Transformers 5.16.0 is released, install the runtime dependencies and Transformers from source:
Flash Attention 2 is optional. On supported CUDA systems, install it with:
uv pip install flash-attn --no-build-isolation
If you do not use
uv
, replace
uv pip
with
pip
in the commands above.
Transformers
The following example loads an image from a URL and asks the model to describe it. Prompts can interleave text with one or more images; for text-only prompts, omit the image entries.
import torch
from transformers import AutoModelForImageTextToText, AutoProcessor
model_id = "CohereLabs/North-Micro-Vision-Instruct"
processor = AutoProcessor.from_pretrained(
model_id,
)
model = AutoModelForImageTextToText.from_pretrained(
model_id,
dtype="auto",
device_map="auto",
)
# To enable Flash Attention 2, load the model with the following settings:# model = AutoModelForImageTextToText.from_pretrained(# model_id,# dtype=torch.bfloat16,# attn_implementation="flash_attention_2",# device_map="auto",# )
image_url = "https://cdn-uploads.huggingface.co/production/uploads/66d732effe6684fc16b12c28/Io_5OCmftsmH-n158ZtPs.png"
messages = [
{
"role": "user",
"content": [
{"type": "image", "url": image_url},
{"type": "text", "text": "What do you see?"},
],
}
]
inputs = processor.apply_chat_template(
messages,
tokenize=True,
add_generation_prompt=True,
return_tensors="pt",
return_dict=True,
).to(model.device)
outputs = model.generate(
**inputs,
max_new_tokens=128,
do_sample=True,
temperature=0.7,
top_p=0.8,
top_k=20,
)
generated_ids = [
output_ids[len(input_ids) :]
for input_ids, output_ids inzip(inputs.input_ids, outputs)
]
response = processor.batch_decode(
generated_ids,
skip_special_tokens=True,
clean_up_tokenization_spaces=False,
)[0]
print(response)
The example uses the recommended Transformers sampling settings. For deterministic output, set
do_sample=False
and omit
temperature
,
top_p
, and
top_k
.
Architecture
North Micro Vision combines a custom-trained 400M-parameter native-resolution vision encoder with an in-house 2B-parameter language model North Micro LLM. The language model follows our Command A+ architecture, interleaving three sliding-window attention layers that use rotary positional embeddings with one global attention layer without positional embeddings. The vision encoder combines 2D RoPE with learned 1D positional embeddings to preserve spatial structure across native-resolution inputs.
The projector maps visual features into the language model's embedding space. Following DeepStack, patch embeddings from multiple vision-encoder layers are injected into corresponding early LLM layers, giving the language model access to visual representations at different levels of abstraction.
High-level North Micro Vision architecture, consisting of a native-resolution vision encoder, a projector, and a language model.
Grounding Coordinates
Bounding boxes are returned as
[x1, y1, x2, y2]
on a normalized 0–1000 scale. Map them back to the original image by scaling each axis:
In partnership with NVIDIA, we're also shipping an AutoModel recipe for North Micro Vision, so developers can fine-tune and deploy it on NVIDIA GPUs right out of the box.
The complete comparison is provided below. We ran vision-language and text-only evaluations with
VLMEvalKit
, capping generation at 1,024 tokens; see the
technical blog post
for the full methodology.
North-Micro-Vision-Instruct huggingface.co is an AI model on huggingface.co that provides North-Micro-Vision-Instruct's model effect (), which can be used instantly with this CohereLabs North-Micro-Vision-Instruct model. huggingface.co supports a free trial of the North-Micro-Vision-Instruct model, and also provides paid use of the North-Micro-Vision-Instruct. Support call North-Micro-Vision-Instruct model through api, including Node.js, Python, http.
North-Micro-Vision-Instruct huggingface.co is an online trial and call api platform, which integrates North-Micro-Vision-Instruct's modeling effects, including api services, and provides a free online trial of North-Micro-Vision-Instruct, you can try North-Micro-Vision-Instruct online for free by clicking the link below.
CohereLabs North-Micro-Vision-Instruct online free url in huggingface.co:
North-Micro-Vision-Instruct is an open source model from GitHub that offers a free installation service, and any user can find North-Micro-Vision-Instruct on GitHub to install. At the same time, huggingface.co provides the effect of North-Micro-Vision-Instruct install, users can directly use North-Micro-Vision-Instruct installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
North-Micro-Vision-Instruct install url in huggingface.co: