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
Run historical German handwriting transcription offline without an NVIDIA GPU or PyTorch. Try transcribe.py
from any directory on a bundled public-domain 1829 Kurrent page (374 KB fetch), or point it at a local folder or PDF:
uv run https://huggingface.co/13fragments/kurrent-transcriber-1b-GGUF/resolve/main/transcribe.py --example --raw
uv run https://huggingface.co/13fragments/kurrent-transcriber-1b-GGUF/resolve/main/transcribe.py input/
On an Apple M1 Pro, these GGUF files (1.47 GB total) read a page in 24 seconds (median of the 8-page smoke test,
0.93 mean text similarity to vLLM).
Scope
These are the GGUF files of Kurrent Transcriber 1B for
llama.cpp. The model transcribes whole pages of Kurrent, Sütterlin, and related German hands line by line as written,
without silent modernization. Its output is a draft; check every line against the scan.
- In scope: offline page transcription on CPU or Apple Silicon without PyTorch, with optional
--raw/raw_textdiplomatic output preserving longſand original marks. - Out of scope: sealed benchmark claims (the
0.071mediancer_normon the main card comes only from vLLM BF16 GPU; these GGUF files have no sealed benchmark score), single-line crops, non-German text, and unreviewed archival or legal decisions.
Deployment & capability matrix
| Requirement | GGUF release (1.47 GB) |
Notes |
|---|---|---|
| No NVIDIA GPU or PyTorch | Yes (llama.cpp) |
Auto-starts local llama-server; pass --ngl 0 for pure CPU |
| Apple M1 Pro speed | 24 s/page smoke (8.2 s/page dev Metal) |
Smoke test over 8 pages (0.93 similarity to vLLM); no sealed benchmark score |
| x86 4-core CPU timing | 128.9 s/page (dev, 8 threads) |
3.42 GB peak RSS at 4 threads; smaller desktop mmproj-q8_0 (1.09 GB, 3.04 GB RSS) not yet published here |
Faithful long ſ and markup |
Yes (--raw / raw_text) |
Mapped reading text by default; raw_text preserves unmapped diplomatic output |
| Weights & CLI licence | CC BY-SA 4.0 / Apache-2.0 | Model weights CC BY-SA 4.0; base LightOnOCR-3-1B and transcribe.py Apache-2.0 |
- Size and speed:
text-q8_0.gguf(language model, 8-bit,639 MB) andmmproj-bf16.gguf(vision encoder and vision projection, bf16,829 MB),1.47 GBtotal. Apple M1 Pro median:24 sper page (8-page smoke test; peak memory not measured).SHA256SUMSlists file hashes. - Results: the
0.071mediancer_normbenchmark score on the main model card comes from the vLLM GPU engine. These GGUF files have no benchmark result. See How the GGUF files compare. - Collection: German handwriting: Kurrent and Sütterlin (sealed benchmark, 1B model, GGUF, demo Space, and the 26,325-page Bavarian medical survey corpus).
- Licence: weights CC BY-SA 4.0; base model LightOnOCR-3-1B and
transcribe.pyApache 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
Zero-install CLI (uv run, no PyTorch)
Install llama.cpp (brew install llama.cpp on macOS) and uv,
then run transcribe.py directly on images, a folder, or a PDF. When no server is running, it
downloads both GGUF files into the Hugging Face cache, starts a local llama-server, applies the published image and
output steps, and shuts the server down when finished:
uv run https://huggingface.co/13fragments/kurrent-transcriber-1b-GGUF/resolve/main/transcribe.py --example --raw
uv run https://huggingface.co/13fragments/kurrent-transcriber-1b-GGUF/resolve/main/transcribe.py input/ --out transcripts/
uv run https://huggingface.co/13fragments/kurrent-transcriber-1b-GGUF/resolve/main/transcribe.py page.jpg --raw
uv run https://huggingface.co/13fragments/kurrent-transcriber-1b-GGUF/resolve/main/transcribe.py input/ --check --out transcripts/
Pass --ngl 0 to force pure CPU execution.
Download data: pareto_runtime_tradeoff.csv ·
PNG · SVG
Manual llama-server start
Start llama-server. It can download both files from this repository. It also runs without an NVIDIA GPU, for
example on a Mac. These are the settings of the smoke test, with llama.cpp 0.9.0 (build 12110, commit cd959bae9);
peak memory was not measured:
llama-server -hf 13fragments/kurrent-transcriber-1b-GGUF --host 127.0.0.1 --port 8080 \
-c 8192 -np 1 -ngl 99 --cache-ram 0 --ctx-checkpoints 0 --no-webui
If you already have the files, use -m text-q8_0.gguf --mmproj mmproj-bf16.gguf instead of -hf. Then point
transcribe.py --server http://127.0.0.1:8080/v1 at it, or install the client kurrent-transcribe (version 1.2.0 or
later) from inference/:
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 crop and output normalization from 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 omits these transforms, 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
- 593
8-bit
Model tree for 13fragments/kurrent-transcriber-1b-GGUF
Base model
13fragments/kurrent-transcriber-1b