anaksor-ocr
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Tags anime-style illustrations with up to 98,782 Danbooru tags in one pass, covering artists, characters, copyrights, general traits, year and rating. For people who label or search image collections.
Haruka-Tagger is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.
pip install -U huggingface_hub hf download KaraKaraWitch/haruka-tagger
Haruka-Tagger is an image tagger for Danbooru-style art. In one pass it scores every tag in a list of 98,782, which spans artist names, characters, copyrights, general traits, year and rating. It uses an 86M-parameter EVA02 backbone with a small attention tree on top and was trained on about 9.25 million deduplicated images.
It suits people who label, organize or search large collections of anime-style images and want far more tags than the usual taggers give.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Image archives | Archivists | Add rich tags to big collections of illustrations | Tagging a folder of fan art with characters and artists |
| Dataset building | ML engineers | Caption training images with detailed tags | Preparing labels for an image model dataset |
| Search and browsing | Site builders | Make illustration libraries searchable by tag | Finding every image of one character |
| Research | Researchers | Study long-tail tagging with a large vocabulary | Testing rare artist and character tags |
You can skip it if your images are photographs or you only need a handful of common tags.
| Use case | Who | What they get back |
|---|---|---|
| Tag one image | Anyone | Scored tags across artist, character, general and more |
| Batch labeling | ML engineers | Tags for many images at about 605 images per second |
| See why a tag fired | Researchers | A heatmap showing where the model looked |
You need Python, the download tool and a way to run either the PyTorch weights or the ONNX graph.
pip install -U huggingface_hub hf download KaraKaraWitch/haruka-tagger
The repository includes haruka_infer.py, a self-contained command-line script. It tags an image, can inspect the query tree, and can save a heatmap that shows where each tag came from.
python haruka_infer.py image.jpg --save-vis tree_vis.jpg
| Category | Tags | Suggested threshold |
|---|---|---|
| Artist | 38,447 | 0.25, or 0.15 for high recall |
| Character | 31,471 | 0.35, or 0.25 for rare and crossover characters |
| General | 21,748 | 0.35, or 0.45 for high precision |
| Copyright | 7,091 | 0.35 |
| Year | 21 | 0.25 |
| Rating | 4 | argmax or 0.50 |
You run the script on image.jpg and ask it to save a visualization. You get tags with scores for artist, character, general, copyright, year and rating, plus tree_vis.jpg showing where on the image each tag came from.
If you are new to this, a tagger looks at a picture and lists words that describe it, like a character name or an outfit. A first small try is the command above on one illustration, then reading the tags above the thresholds.
For people who know the field, it trains the backbone together with a two-level attention tree of 18 queries from the first step, using slot-sigmoid routing. Damped repeat-factor sampling and per-tag loss weights keep rare tags alive without letting tags like 1girl dominate the gradient.
Common taggers such as WD-v3 stop at roughly 10,000 to 13,500 tags, and this one covers the long tail of artists and rare characters.
Tags anime-style illustrations with up to 98,782 Danbooru tags in one pass, covering artists, characters, copyrights, general traits, year and rating. For people who label or search image collections.
Made by KaraKaraWitch on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.
What it is: Haruka-Tagger is an image tagger for Danbooru-style art. In one pass it scores every tag in a list of 98,782, which spans artist names, characters, copyrights, general traits, year and rating. It uses an 86M-parameter EVA02 backbone with a small attention tree on top and was trained on about 9.25 million deduplicated images.
Who it suits: It suits people who label, organize or search large collections of anime-style images and want far more tags than the usual taggers give.
Industry | Who uses it | How they use it | Example
Image archives | Archivists | Add rich tags to big collections of illustrations | Tagging a folder of fan art with characters and artists
Dataset building | ML engineers | Caption training images with detailed tags | Preparing labels for an image model dataset
Search and browsing | Site builders | Make illustration libraries searchable by tag | Finding every image of one character
Research | Researchers | Study long-tail tagging with a large vocabulary | Testing rare artist and character tags
You can skip it if your images are photographs or you only need a handful of common tags.
Where to use it:
Use case | Who | What they get back
Tag one image | Anyone | Scored tags across artist, character, general and more
Batch labeling | ML engineers | Tags for many images at about 605 images per second
See why a tag fired | Researchers | A heatmap showing where the model looked
How to set it up: You need Python, the download tool and a way to run either the PyTorch weights or the ONNX graph.
pip install -U huggingface_hub
hf download KaraKaraWitch/haruka-tagger
How to use it: The repository includes haruka_infer.py, a self-contained command-line script. It tags an image, can inspect the query tree, and can save a heatmap that shows where each tag came from.
python haruka_infer.py image.jpg --save-vis tree_vis.jpg
Category | Tags | Suggested threshold
Artist | 38,447 | 0.25, or 0.15 for high recall
Character | 31,471 | 0.35, or 0.25 for rare and crossover characters
General | 21,748 | 0.35, or 0.45 for high precision
Copyright | 7,091 | 0.35
Year | 21 | 0.25
Rating | 4 | argmax or 0.50
Example: You run the script on image.jpg and ask it to save a visualization. You get tags with scores for artist, character, general, copyright, year and rating, plus tree_vis.jpg showing where on the image each tag came from.
For newcomers and experts: If you are new to this, a tagger looks at a picture and lists words that describe it, like a character name or an outfit. A first small try is the command above on one illustration, then reading the tags above the thresholds.
For people who know the field, it trains the backbone together with a two-level attention tree of 18 queries from the first step, using slot-sigmoid routing. Damped repeat-factor sampling and per-tag loss weights keep rare tags alive without letting tags like 1girl dominate the gradient.
Title: Tags per category
Artist: 38,447 tags
Character: 31,471 tags
General: 21,748 tags
Copyright: 7,091 tags
Year: 21 tags
Rating: 4 tags
An image is resized to 448 by 448
The EVA02 backbone makes patch features
The 18-query attention tree pools them
The head scores all 98,782 tags at once
Good to know: Common taggers such as WD-v3 stop at roughly 10,000 to 13,500 tags, and this one covers the long tail of artists and rare characters.
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download KaraKaraWitch/haruka-tagger
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 5 KB
Listed Hugging Face models in the same category that share the most tags with this one.
| Product | Downloads, last 30 days | Likes | Parameters | License | Last change |
|---|---|---|---|---|---|
| Haruka-Tagger This page | 0 | 10 | — | apache-2.0 | |
| MageTrailShares danbooru · anime | 134 | 49 | — | mit | |
| pixai-tagger-v1.0Shares image-classification · anime · safetensors | 36,625 | 165 | 486M | apache-2.0 | |
| PP-OCRv6_mangaShares anime · onnx | 437 | 14 | — | apache-2.0 | |
| Gender-Classifier-MiniShares image-classification · safetensors | 6,810,513 | 20 | 92.9M | apache-2.0 | |
| AIRealNet-2Shares image-classification · safetensors | 492 | 10 | 195M | mit |
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Qwen · Kit
Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…
ACE-Step · Kit
Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…
alirezarezvani · Skill
Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…
block · Kit
Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…
backnotprop · Kit
Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.