Instructions to use 13fragments/kurrent-transcriber-1b-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use 13fragments/kurrent-transcriber-1b-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf 13fragments/kurrent-transcriber-1b-GGUF:BF16 # Run inference directly in the terminal: llama cli -hf 13fragments/kurrent-transcriber-1b-GGUF:BF16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf 13fragments/kurrent-transcriber-1b-GGUF:BF16 # Run inference directly in the terminal: llama cli -hf 13fragments/kurrent-transcriber-1b-GGUF:BF16
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf 13fragments/kurrent-transcriber-1b-GGUF:BF16 # Run inference directly in the terminal: ./build/bin/llama cli -hf 13fragments/kurrent-transcriber-1b-GGUF:BF16
Use Docker
docker model run hf.co/13fragments/kurrent-transcriber-1b-GGUF:BF16
- Llama new
- LM Studio
- Jan
- vLLM
How to use 13fragments/kurrent-transcriber-1b-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "13fragments/kurrent-transcriber-1b-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "13fragments/kurrent-transcriber-1b-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/13fragments/kurrent-transcriber-1b-GGUF:BF16
- Ollama
How to use 13fragments/kurrent-transcriber-1b-GGUF with Ollama:
ollama run hf.co/13fragments/kurrent-transcriber-1b-GGUF:BF16
- Unsloth Desktop
- Docker Model Runner
How to use 13fragments/kurrent-transcriber-1b-GGUF with Docker Model Runner:
docker model run hf.co/13fragments/kurrent-transcriber-1b-GGUF:BF16
- Lemonade
How to use 13fragments/kurrent-transcriber-1b-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull 13fragments/kurrent-transcriber-1b-GGUF:BF16
Run and chat with the model
lemonade run user.kurrent-transcriber-1b-GGUF-BF16
List all available models
lemonade list
- Atomic Chat
Kurrent Transcriber 1B GGUF
These are the GGUF files of Kurrent Transcriber 1B for llama.cpp. The model transcribes pages of historical German handwriting: Kurrent, Sütterlin, and related hands. You give it a page image. It returns the page text, line by line, as written.
Its output is a draft. Check every line against the scan.
- Files:
text-q8_0.gguf(language model, 8-bit, 639 MB) andmmproj-bf16.gguf(vision encoder and vision projection, bf16, 829 MB).SHA256SUMSlists both. - Results: the benchmark results in the main model card come from the vLLM engine. These GGUF files have no benchmark result. See How the GGUF files compare.
- Licence: CC BY-SA 4.0. The base model LightOnOCR-3-1B is under the Apache License 2.0.
- Archive: the main model is archived on Zenodo, 10.5281/zenodo.24342061.
Files
text-q8_0.ggufis the published file of LightOnOCR-HGH by Bernhard Straub, revision47931fbe, unchanged. Both parents of the merge share the language model of the base model, so the merge has the same text file.mmproj-bf16.ggufholds the merged vision weights. llama.cpp'sconvert_hf_to_gguf.py --mmproj --outtype bf16at commitcd959bae9wrote it frommodel.safetensorsof the main repository. The same converter reproduces the published vision file of LightOnOCR-HGH from its weights. The LightOnOCR-HGH model card reports that its vision encoder overflows in f16 on CUDA, so the file is bf16.
How to run
Start llama-server with both files. It also runs without an NVIDIA GPU, for example on a Mac. This is the
command of the smoke test, with llama.cpp 0.9.0 (build 12110, commit cd959bae9); peak memory was not measured:
llama-server -m text-q8_0.gguf --mmproj mmproj-bf16.gguf --host 127.0.0.1 --port 8080 \
-c 8192 -np 1 -ngl 99 --cache-ram 0 --ctx-checkpoints 0 --no-webui
Then read pages with the client kurrent-transcribe (version 1.2.0 or later) from the
inference/ folder of the main
repository:
hf download 13fragments/kurrent-transcriber-1b --include "inference/*" --local-dir kurrent-transcriber-1b
python3.11 -m venv client
client/bin/pip install ./kurrent-transcriber-1b/inference
client/bin/kurrent-transcribe --engine llama-server --server http://127.0.0.1:8080/v1 page.jpg
The client applies the image step and the output step of the main model card, and it uses the decoding settings
of the 13fragments reading app: the image alone, temperature 0, at most 4,096 tokens, and the repetition penalty
1.1 over the last 20 tokens. A direct request to llama-server does not apply these steps, so its output can differ.
Client 1.3.0 also marks pages that a person should check against the scan. Add --check to compare four sampled
readings of each page; with llama-server the four readings run one after another. On 324 development pages, --check
marked 29 % of them and caught 87 % of the pages with a character error rate above 0.15. About half of the marked
pages had that many errors. See
Pages to check.
How the GGUF files compare
- Development check. On 40 Wikisource development pages, read with llama.cpp, the mean
cer_normdifference against LightOnOCR-HGH was +0.019, 95 % interval [−0.023, +0.087]. The median difference was −0.006. Set before the check, the limit was an upper end below +0.02, so the check failed. 13fragments waived it for its reading app and states it here. One page that the model wrote twice gives most of the mean. vLLM gives about the same difference on these pages (mean +0.020), so the gap comes from the model, not from llama.cpp. - Smoke test. On 8 public pages (ICFHR 2016 and Bullinger), the client with
llama-serverread every page. Its text had a mean similarity ratio of 0.93 to the vLLM text of the same pages (lowest 0.86). In the vLLM smoke test of the main package, two vLLM sessions agreed at 0.998. On an Apple M1 Pro, a page took 24 seconds (median). - Differences from vLLM. The LightOnOCR-HGH model card reports two: llama.cpp scales every page image to 1540 pixels on its longest side, and its penalty window holds only generated tokens.
Known weaknesses
The weaknesses of the main model card apply. The most important:
- Names, places, and dates are often misread. Check them against the scan.
- Whole-page repeats. Sometimes the model writes the whole page twice. Check a long reply against the scan.
- Two-page spreads. On a wide spread, the model can leave out a block of text. Split spreads into single pages.
- Stamps near colour charts. The image step can remove library stamps written next to colour charts. This development gate failed and was waived.
Licence
- Model weights: CC BY-SA 4.0. If you share adapted weights, share them under the same licence.
- Base model: LightOnOCR-3-1B, Apache License 2.0. See
NOTICE.
Citation
@misc{kurrenttranscriber1b_2026,
title = {Kurrent Transcriber 1B: a page transcription model for historical German handwriting},
author = {{13fragments}},
year = {2026},
publisher = {Zenodo},
doi = {10.5281/zenodo.24342061},
howpublished = {\url{https://huggingface.co/13fragments/kurrent-transcriber-1b}}
}
Please also cite LightOnOCR-HGH and LightOnOCR-3-1B, as listed in the main model card.
- Downloads last month
- 306
8-bit
Model tree for 13fragments/kurrent-transcriber-1b-GGUF
Base model
13fragments/kurrent-transcriber-1b