AI SeedbankHelp preserve open and free AI for humanity's future

← All models

vikhyatk_moondream2

vikhyatk · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

Seeders: · Leechers:

Model card

The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.


license: apache-2.0 pipeline_tag: image-text-to-text new_version: moondream/moondream3-preview

⚠️ This repository contains the latest version of Moondream 2, our previous generation model. The latest version of Moondream is Moondream 3 (Preview).


Moondream is a small vision language model designed to run efficiently everywhere.

Website / Demo / GitHub

This repository contains the latest (2025-06-21) release of Moondream 2, as well as historical releases. The model is updated frequently, so we recommend specifying a revision as shown below if you're using it in a production application.

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer
from PIL import Image

model = AutoModelForCausalLM.from_pretrained(
    "vikhyatk/moondream2",
    revision="2025-06-21",
    trust_remote_code=True,
    device_map={"": "cuda"}  # ...or 'mps', on Apple Silicon
)

# Captioning
print("Short caption:")
print(model.caption(image, length="short")["caption"])

print("\nNormal caption:")
for t in model.caption(image, length="normal", stream=True)["caption"]:
    # Streaming generation example, supported for caption() and detect()
    print(t, end="", flush=True)
print(model.caption(image, length="normal"))

# Visual Querying
print("\nVisual query: 'How many people are in the image?'")
print(model.query(image, "How many people are in the image?")["answer"])

# Object Detection
print("\nObject detection: 'face'")
objects = model.detect(image, "face")["objects"]
print(f"Found {len(objects)} face(s)")

# Pointing
print("\nPointing: 'person'")
points = model.point(image, "person")["points"]
print(f"Found {len(points)} person(s)")

Changelog

2025-06-21 (full release notes)

  • Grounded Reasoning Introduces a new step-by-step reasoning mode that explicitly grounds reasoning in spatial positions within the image before answering, leading to more precise visual interpretation (e.g., chart median calculations, accurate counting). Enable with reasoning=True in the query skill to trade off speed vs. accuracy.
  • Sharper Object Detection Uses reinforcement learning on higher-quality bounding-box annotations to reduce object clumping and improve fine-grained detections (e.g., distinguishing “blue bottle” vs. “bottle”).
  • Faster Text Generation Yields 20–40 % faster response generation via a new “superword” tokenizer and lightweight tokenizer transfer hypernetwork, which reduces the number of tokens emitted without loss in accuracy and eases future multilingual extensions.
  • Improved UI Understanding Boosts ScreenSpot (UI element localization) performance from an [email protected] of 60.3 to 80.4, making Moondream more effective for UI-focused applications.
  • Reinforcement Learning Enhancements RL fine-tuning applied across 55 vision-language tasks to reinforce grounded reasoning and detection capabilities, with a roadmap to expand to ~120 tasks in the next update.

2025-04-15 (full release notes)

  1. Improved chart understanding (ChartQA up from 74.8 to 77.5, 82.2 with PoT)
  2. Added temperature and nucleus sampling to reduce repetitive outputs
  3. Better OCR for documents and tables (prompt with “Transcribe the text” or “Transcribe the text in natural reading order”)
  4. Object detection supports document layout detection (figure, formula, text, etc)
  5. UI understanding (ScreenSpot [email protected] up from 53.3 to 60.3)
  6. Improved text understanding (DocVQA up from 76.5 to 79.3, TextVQA up from 74.6 to 76.3)

2025-03-27 (full release notes)

  1. Added support for long-form captioning
  2. Open vocabulary image tagging
  3. Improved counting accuracy (e.g. CountBenchQA increased from 80 to 86.4)
  4. Improved text understanding (e.g. OCRBench increased from 58.3 to 61.2)
  5. Improved object detection, especially for small objects (e.g. COCO up from 30.5 to 51.2)
  6. Fixed token streaming bug affecting multi-byte unicode characters
  7. gpt-fast style compile() now supported in HF Transformers implementation

Magnet link

Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:

magnet:?xt=urn:btih:47cb9587d3b4882f84abe2ed308eb2fcea0d953f&dn=vikhyatk_moondream2

Open magnet in torrent client · infohash 47cb9587d3b4882f84abe2ed308eb2fcea0d953f

Files & hashes

PathSizesha1sha256
README.md4.3 KB (4,445 B)a184097686475f15bedb9a860891208f083d9ac924cb16e1accd51e91302836bf87388740f0c78d1a29fc2895b68b4b2ed452bbc
added_tokens.json1.1 KB (1,080 B)7debb4784a7d53328d4d021fc46314bec4af3833eca8e90d1be6af3afeb1a37f070f9492645c551a9fb2e1ce2a4a8b21f04ffc8b
config.json277 B (277 B)595955a88c97a629afa97f7001ca548bff992561c4d59ae1179c1792ad49b8aeb59092101cc948d7b1914ed549689aed2c1fa083
config.py2.6 KB (2,647 B)9856d6b19f1821e0e28f4cf264de3d55cd796f76ee7707c9b4d091dd6d3441ceebc54a36be4023e97d0504e59b5ea7d71147854b
configuration_moondream.py3.3 KB (3,343 B)4b1f9051605c296344c271b6d21c1e2e412a99e83dd654ce842b71fbe050e4d4098d2818ba7fccd7eea186e7c24b672ba756a489
fourier_features.py558 B (558 B)b93162eb8252d2d937a69f17971c76b8be87aedd83729dd2b1341ed388c850c799ac417a73eae78ff1b2f0418ed7a88f69acf69d
generation_config.json69 B (69 B)529f4671aff0ac82e201a14349eb86a1f75048e0a5a8484e27670c431bf1c5c9f972c27bdb8a3873ede65e2118440115b4c8d770
handler.py2.1 KB (2,101 B)c8d1fb92080a3c9031dbd04e084eda50a1e0fbc5c7b6dc4288ed81475187a87def69d33889095e1df24fc7bb6f3bd93e270d5fd7
hf_moondream.py5.4 KB (5,534 B)526b6550651a398b255d9aa81ecebfac645e55b77c1d25f918a50547843919e202700780e69c1680fece415c7242ffa11891c9b5
image_crops.py8.0 KB (8,145 B)1aa2f1e51953eced347b47830080fe2b5211b3d71f3f469fcbd3291966c6f9fda5c90f8044d39b391261bac14ef6bbcfb76496cb
layers.py4.5 KB (4,558 B)6fee6e8fa4487a13bac9e34c7d19ff1eeaccf7d99b3bab95b3571b39bd3d37c124bb6205bf881b55652e89cda360e522079962d8
lora.py2.2 KB (2,299 B)b6fc4b91c90cbfc20ff1313be0f6b697d219e08ed180359b1739e9a087a9c756c4671e536debb702d591370741af75ce4e27762d
merges.txt445.6 KB (456,318 B)226b0752cac7789c48f0cb3ec53eda48b7be36cc1ce1664773c50f3e0cc8842619a93edc4624525b728b188a9e0be33b7726adc5
model.safetensors3.59 GB (3,854,538,968 B)38969052dcbe551974411dccaa6e3e5b36bb941370a7d94c0c8349eb58ed2d9e636ef2d0916960f321ecabeac6354b8ba3d7403f
moondream.py34.7 KB (35,491 B)d8121971e38fca68e3dbaa90c21b94a0f4dc964776e0517ccdfe03ce1e57772ac733c6fb14cf4a3744fc85d956df9d1ef69f7d52
region.py4.4 KB (4,545 B)9224e2c246ff05e559db3df36b1b27840be6fb95225bd962af02fedbf6d4a423c3282cada452fdc11efb478558b82df659dbf726
region_model.py1.3 KB (1,331 B)6ac7b4364eba1fdd1d3981e4669aed01a2b0cec47e72c196778cbe59e810cdb67a0b9995a1f31fe95b0eafc6d6ab5b64fc0cbf6c
requirements.txt42 B (42 B)ed78945ccd526abc22bae8959164529e1827cf0c80d4bfa20536d2e695c5a08813c63cbff708f7d8eeea27bc329f067b0fd4e169
rope.py1.5 KB (1,573 B)737fa0805b07524adc8abf8b52ce529c482229470032ace75443a81888b957b28b7fd00ac808effdfdace14855d31b5c14ea5770
special_tokens_map.json99 B (99 B)0204ed10c186a4c7c68f55dff8f26087a45898d66f50ab5a5a509a1c309d6171f339b196a900dc9c99ad0408ff23bb615fdae7ad
text.py6.7 KB (6,851 B)07cbafd4f7d235b8e639622494b35ad2e2b96de49ec56dd5f1a78c9116c8f60e83db90c887034e0183ec3acb6245a91b493ce352
tokenizer.json2.0 MB (2,114,924 B)c1148447551675ea739c440ee3e247df9f354d8f337da36be7a71a6e88aa9148967a7bc8736f4b47c7de8e19ba92b89e80734cfc
tokenizer_config.json7.2 KB (7,339 B)5145e0895f2fe7f1ccb3eb9da69ec74ec9c680db1906c7514a738bd743a05d7d95c8e9aeddb4d8c9ffdda4fb6ee05653fb6b97c4
utils.py1.4 KB (1,415 B)a4627a1eb94097bbb1349cf7daf1852a481c46d808d33430923d83ad26dfdbbc58d6df0f363a4c3c05cbfd8018f6e2c98c82ed59
versions.txt131 B (131 B)4991388ef39fe6daed2e291db36fa6990d80e68a81cb485db69a530cd400dc0d54be04727865f886cc52645abdc5a36f6eb6ab94
vision.py5.0 KB (5,087 B)de1aa5e8935061c59f5f59f4ebeb2a52e22b0e6ff524cd4227df0394b0b1e73f281c93791267849729fc13a874a9071fff6f1eed
vision_encoder.py10.0 KB (10,214 B)98dd65a59581dac66a3601da9aadd1534f019006cc8fc22277d7f21417361d0cbf6203b4923814a24ccc336d33ed78754f4de2bf
vocab.json779.4 KB (798,156 B)84ef7fb594b5c0979e48bdeddb60a0adef33df0b3ba3c3109ff33976c4bd966589c11ee14fcaa1f4c9e5e154c2ed7f99d80709e7
weights.py9.5 KB (9,709 B)79a615cb016070e8f7e13857c702cce94b18d1bce47fb56bd1830cb71b7017dfbbb96ce0c66d4e328674c64091015b3e7e1eef29

Cite this release

Canonical URL
https://aiseedbank.org/models/vikhyatk_moondream2/
Slug
vikhyatk_moondream2
Infohash
47cb9587d3b4882f84abe2ed308eb2fcea0d953f
License
apache-2.0
Signing key fingerprint
85a3b32c3712427b

Every file carries a locally computed sha256 — verify a download against the signed sums: vikhyatk_moondream2.SHA256SUMS (+ minisign signature).

Provenance

Upstream repositoryvikhyatk/moondream2
Revision (pinned)6b714b26eea5cbd9f31e4edb2541c170afa935ba
Fetched at2026-09-04T06:37:21Z
License at fetchapache-2.0
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-04T06:37:59Z

apache-2.03.59 GB (3,858,027,249 bytes)transformerssafetensorsmoondream1text-generationimage-text-to-textcustom_codeeval-resultsendpoints_compatible