# nanoVLM: The simplest repository to train your VLM in pure PyTorch

DevFeed: [nanoVLM: The simplest repository to train your VLM in pure PyTorch](<https://devfeed.tech/articles/nanovlm-the-simplest-repository-to-train-your-vlm-in-pure-pytorch-7363.md>)

Original publisher: [Read original article](<https://huggingface.co/blog/nanovlm>)

Author: Aritra Roy Gosthipaty; Luis; Andres Marafioti; Sergio Paniego; merve; Pedro Cuenca; Vaibhav Srivastav

Published: 2025-05-21T00:00:00Z

Content type: article

Language: en

Sources: [Hugging Face - Blog](<https://devfeed.tech/sources/hugging-face-blog.md>)

Topics: [vlm](<https://devfeed.tech/topics/vlm.md>), [PyTorch](<https://devfeed.tech/topics/pytorch.md>), [Language models](<https://devfeed.tech/topics/language-models.md>), [llama](<https://devfeed.tech/topics/llama.md>), [Transformer](<https://devfeed.tech/topics/transformer.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>)

Tags: [community](<https://devfeed.tech/tags/community.md>), [llama](<https://devfeed.tech/tags/llama.md>), [llm](<https://devfeed.tech/tags/llm.md>), [nanovlm](<https://devfeed.tech/tags/nanovlm.md>), [object-detection](<https://devfeed.tech/tags/object-detection.md>), [open](<https://devfeed.tech/tags/open.md>), [pytorch](<https://devfeed.tech/tags/pytorch.md>), [research](<https://devfeed.tech/tags/research.md>), [train](<https://devfeed.tech/tags/train.md>), [training](<https://devfeed.tech/tags/training.md>), [vision](<https://devfeed.tech/tags/vision.md>), [vlm](<https://devfeed.tech/tags/vlm.md>)

## AI overview

nanoVLM is a minimal, readable pure-PyTorch toolkit for building and training vision-language models. It processes images and text to generate text, focuses on visual question answering, and is designed to help beginners explore VLMs through a compact codebase and guided training workflow.

## Source excerpt

We're on a journey to advance and democratize artificial intelligence through open source and open science.