Part of the NekoLM-300M-V3 family — a small ~300M-parameter bilingual (Russian + English) dense language model trained from scratch as an indie open-source experiment.
What this specific checkpoint is: an experimental vision-language prototype built on top of NekoLM-300M-V3.
Attaches a vision encoder + projector directly to the 300M backbone (modeling_nekolm_vision.py, requires trust_remote_code=True). This prototype paved the way for the much more capable 512px SigLIP-2 + Audio setup in nekonode/NekoLM-1B-V4-Omni-Instruct.
This is a 300M model trained from scratch on a small hobby/indie compute budget. It's meant for tinkering, local experiments, and learning how small models behave across base pretraining, SFT, thinking traces, looped layers, and vision — not for replacing a 7B+ production assistant. It will make factual mistakes and struggle with complex coding or long reasoning chains.
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "nekonode/NekoLM-300M-V3-Vision"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(
repo,
trust_remote_code=True,
dtype=torch.bfloat16,
device_map="auto",
).eval()
messages = [{"role": "user", "content": "Привет! Кто ты?"}]
prompt = tok.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tok(prompt, return_tensors="pt").to(model.device)
out = model.generate(**inputs, max_new_tokens=128, do_sample=True, temperature=0.5, repetition_penalty=1.15)
print(tok.decode(out[0, inputs["input_ids"].shape[1]:], skip_special_tokens=True))