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…
Runs Gemma 4 12B on your own desktop with text, image and audio input, no internet needed. A LiteRT-LM build for developers who want private, on-device generation on Windows, macOS or Linux.
Gemma 4 12B IT (LiteRT-LM) 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 litert-community/gemma-4-12B-it-litert-lm
Gemma 4 12B Instruct packaged in the LiteRT-LM format, ready to run on macOS, Linux and Windows. The model file takes text, images and audio, and it supports multi-token prediction for faster speculative decoding. Because it runs on your device, you can use it without an internet connection.
Developers and desktop-app builders who want a mid-sized model that runs locally and keeps data on the machine. It is meant for desktop use, with the web as a more limited option.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Software | Desktop app developers | Embed a local assistant in an app through LiteRT-LM | A writing helper that works offline |
| Privacy-focused work | Teams with sensitive text | Keep prompts and answers on their own machines | Summarizing internal notes without a cloud call |
| Product design | Prototype builders | Try text, image and audio input in one model | A demo that answers questions about a photo |
| Research | Edge AI researchers | Measure speed and memory on local hardware | Comparing decode speed across devices |
You can skip it if your machine has little memory, or if you want a hosted model, since this one runs on your own hardware.
| Use case | Who | What they get back |
|---|---|---|
| Offline chat assistant | Desktop developers | Text replies generated on the device |
| Image and audio questions | Prototype builders | Answers that use a picture or a sound clip |
| Fast local replies | App builders | Lower delay through multi-token prediction |
pip install -U huggingface_hub hf download litert-community/gemma-4-12B-it-litert-lm
Run the model file through LiteRT-LM, using its desktop command-line tool or your own app. The source shows no command, so follow the LiteRT-LM guide. If memory runs short, set the max_num_tokens setting lower to shrink the context.
| Tool | What it does |
|---|---|
| LiteRT-LM | Runs the model file and adds KV-cache handling, prompt templates and function calling |
| LiteRT | Provides the hardware acceleration underneath |
| max_num_tokens | Sets the context length, lower it when memory is tight |
You are on a plane with no network and ask the model to summarize a page of notes. It reads the text on your machine and returns a summary. On the benchmark GPU, the first token arrived in 0.3 seconds.
If you are new, try the desktop command-line tool from the LiteRT-LM guide with a short text question before you add images or audio. Start with the default context length.
If you know the field: the benchmarks used 1024 prefill tokens, 256 decode tokens and a 4096-token context. The model can reach 128k context on devices with enough memory, and multi-token prediction cuts latency.
The card gives a Linux benchmark on an NVIDIA 4090 with 24 GB. Prefill ran at 3548 tokens per second and decode at 69 tokens per second.
Runs Gemma 4 12B on your own desktop with text, image and audio input, no internet needed. A LiteRT-LM build for developers who want private, on-device generation on Windows, macOS or Linux.
Made by litert-community 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: Gemma 4 12B Instruct packaged in the LiteRT-LM format, ready to run on macOS, Linux and Windows. The model file takes text, images and audio, and it supports multi-token prediction for faster speculative decoding. Because it runs on your device, you can use it without an internet connection.
Who it suits: Developers and desktop-app builders who want a mid-sized model that runs locally and keeps data on the machine. It is meant for desktop use, with the web as a more limited option.
Industry | Who uses it | How they use it | Example
Software | Desktop app developers | Embed a local assistant in an app through LiteRT-LM | A writing helper that works offline
Privacy-focused work | Teams with sensitive text | Keep prompts and answers on their own machines | Summarizing internal notes without a cloud call
Product design | Prototype builders | Try text, image and audio input in one model | A demo that answers questions about a photo
Research | Edge AI researchers | Measure speed and memory on local hardware | Comparing decode speed across devices
You can skip it if your machine has little memory, or if you want a hosted model, since this one runs on your own hardware.
Where to use it:
Use case | Who | What they get back
Offline chat assistant | Desktop developers | Text replies generated on the device
Image and audio questions | Prototype builders | Answers that use a picture or a sound clip
Fast local replies | App builders | Lower delay through multi-token prediction
How to set it up:
pip install -U huggingface_hub
hf download litert-community/gemma-4-12B-it-litert-lm
How to use it: Run the model file through LiteRT-LM, using its desktop command-line tool or your own app. The source shows no command, so follow the LiteRT-LM guide. If memory runs short, set the max_num_tokens setting lower to shrink the context.
Tool | What it does
LiteRT-LM | Runs the model file and adds KV-cache handling, prompt templates and function calling
LiteRT | Provides the hardware acceleration underneath
max_num_tokens | Sets the context length, lower it when memory is tight
Example: You are on a plane with no network and ask the model to summarize a page of notes. It reads the text on your machine and returns a summary. On the benchmark GPU, the first token arrived in 0.3 seconds.
For newcomers and experts: If you are new, try the desktop command-line tool from the LiteRT-LM guide with a short text question before you add images or audio. Start with the default context length.
If you know the field: the benchmarks used 1024 prefill tokens, 256 decode tokens and a 4096-token context. The model can reach 128k context on devices with enough memory, and multi-token prediction cuts latency.
Your prompt
LiteRT-LM
XNNPack on CPU or ML Drift on GPU
Reply on device
Good to know: The card gives a Linux benchmark on an NVIDIA 4090 with 24 GB. Prefill ran at 3548 tokens per second and decode at 69 tokens per second.
Title: Memory on an NVIDIA 4090, in MB
Model file: 6883 MB
GPU memory: 7790 MB
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download litert-community/gemma-4-12B-it-litert-lm
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 | License | Last change |
|---|---|---|---|---|
| Gemma 4 12B IT (LiteRT-LM) This page | 13,083 | 71 | apache-2.0 | |
| gemma-4-E2B-it-litert-lmShares litert-lm | 1,418,552 | 545 | apache-2.0 | |
| Gemma 4 E4B IT (LiteRT-LM)Shares litert-lm | 467,257 | 250 | apache-2.0 | |
| embeddinggemma-2-740m-litert-lmShares litert-lm | 152,507 | 44 | apache-2.0 | |
| Raon-1 nano (LiteRT-LM)Shares litert-lm | 26 | 12 | apache-2.0 |
Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.
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.