Skip to content
ModelListedExternal
Browse files

Hmer Handwritten Math GGUF

HMER (Handwritten Mathematical Expression Recognition) with DenseNet-121 encoder and GRU attention decoder, converted to GGUF format for CrispEmbed.

KindModelVersionRevision 4579b7eBgrade

Model source

Kind
Model
File size
3.90–26.0 MB
Version
vRevision 4579b7e
Updated
Oct 30, 2026
Downloads
269
Source
Hugging Face

Source description

HMER Handwritten Math OCR — GGUF

HMER (Handwritten Mathematical Expression Recognition) with DenseNet-121 encoder and GRU attention decoder, converted to GGUF format for CrispEmbed.

License

CC BY-NC-SA 3.0 — the model code is MIT (whywhs/Pytorch-HMER), but the weights were trained on CROHME 2016 (CC BY-NC-SA 3.0). The training data license propagates to the trained weights.

  • Personal, educational, and research use: allowed
  • Apps (including commercial): allowed — the NC clause applies to the weights, not to software that loads them. Users download the weights separately and accept the NC terms.
  • Redistributing or selling the weights themselves: not allowed

The C++ inference engine (CrispEmbed, MIT license) and GGUF converter are original clean-room implementations.

Model details

PropertyValue
ArchitectureDenseNet-121 encoder + GRU attention decoder (with coverage)
Parameters~6.8M
Training dataCROHME 2016 (CC BY-NC-SA 3.0)
Vocabulary112 LaTeX tokens
CROHME 2014 eval36.1% raw / 36.3% parsed (greedy, 986 images)

Files

FileQuantSize
hmer-hw-f32.ggufF32~14 MB
hmer-hw-f16.ggufF16~7 MB
hmer-hw-q8_0.ggufQ8_07 MB
hmer-hw-q4_k.ggufQ4_K4 MB

References

Sources

1 source
Hugging FacePrimaryVersion 4579b7e140c2c242b688790877a1ecda9ee39511
huggingface.co/cstr/hmer-handwritten-math-gguf/tree/4579b7e140c2c242b688790877a1ecda9ee39511

Verified Oct 30

Download files

Repository files

File inventory only; completeness is unverified.

Model artifacts

4 artifacts

hmer-hw-f16.gguf

gguf · 13.0 MB · SHA-256 0b5a34951dde…e4b6 · Hugging Face

Download file

hmer-hw-f32.gguf

gguf · 26.0 MB · SHA-256 bbcf5cd8041d…9ca2 · Hugging Face

Download file

hmer-hw-q4_k.gguf

gguf · 3.90 MB · SHA-256 ca765682139c…703f · Hugging Face

Download file

hmer-hw-q8_0.gguf

gguf · 7.10 MB · SHA-256 565bc4e42502…f6d7 · Hugging Face

Download file

Source excerpts

3 excerpts

--- license: cc-by-nc-sa-3.0 tags: - math-ocr - handwritten-math - crohme - gguf - crispembed - hmer pipeline_tag: image-to-text datasets: - CROHME-2016 --- # HMER Handwritten Math OCR — GGUF HMER (Handwritten Mathematical Expression Recognition) with DenseNet-121 encoder and GRU attention decoder, converted to GGUF format for [CrispEmbed](https://github.com/CrispStrobe/CrispEmbed). ## License **CC BY-NC-SA 3.0** — the model code is MIT ([whywhs/Pytorch-HMER](https://github.com/whywhs/Pytorch-HMER)), but the weights were trained on CROHME 2016 (CC BY-NC-SA 3.0). The training data license propagates to the trained weights. - Personal, educational, and research use: **allowed** - Apps (including commercial): **allowed** — the NC clause applies to the weights, not to software that loads them. Users download the weights separately and accept the NC terms. - Redistributing or selling the weights themselves: **not allowed** The C++ inference engine ([CrispEmbed](https://github.com/CrispStrobe/CrispEmbed), MIT license) and GGUF converter are original clean-room implementations. ## Model details | Property | Value | |----------|-------| | Architecture | DenseNet-121 encoder + GRU attention decoder (with coverage) | | Parameters | ~6.8M | | Training data | CROHME 2016 (CC BY-NC-SA 3.0) | | Vocabulary | 112 LaTeX tokens | | CROHME 2014 eval | 36.1% raw / 36.3% parsed (greedy, 986 images) | ## Files | File | Quant | Size | |------|-------|------| | `hmer-hw-f32.gguf` | F32 | ~14 MB | | `hmer-hw-f16.gguf` | F16 | ~7 MB | | `hmer-hw-q8_0.gguf` | Q8_0 | 7 MB | | `hmer-hw-q4_k.gguf` | Q4_K | 4 MB | ## References - [Pytorch-HMER code (MIT)](https://github.com/whywhs/Pytorch-HMER) - [CrispEmbed inference engine (MIT)](https://github.com/CrispStrobe/CrispEmbed) - [CROHME competition](https://www.isical.ac.in/~crohme/)

Source context: 269 downloads · 0 likes · Pipeline image-to-text · Repo cstr/hmer-handwritten-math-gguf

Source context: 603 downloads · 0 likes · Pipeline image-to-text · Repo cstr/hmer-handwritten-math-gguf