Skip to page content
SAVRN
Search Plan a project

Open-weight model

ocr-freeform

by Liam Foster jimenezdaniel/ocr-freeform

ocr-freeform is an open-weight model from Liam Foster, released under MIT License. It has 49,600 parameters and a 512-token context. At 16-bit it needs about 0 GB of GPU memory, which fits on 1x MI300X from $1.85 an hour, at the lowest prices in the SAVRN Index.

This repository contains a working research note about OCR Freeform. It organizes motivation, related work, a falsifiable hypothesis, and an evaluation plan. It is not presented as a completed paper or a release of trained models.

Parameters49,600
Context512
Weights198.9 KB
Licensemit
AccessOpen weights
Monthly Downloads—

Runs On

What it takes to serve ocr-freeform (49,600 parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.

PrecisionWeightsMemory neededCheapest setupPer hourAlso fits
16-bit 0.0 GB 0.0 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
8-bit 0.0 GB 0.0 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
4-bit 0.0 GB 0.0 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00

Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Oct 18, 2026.

ocr-freeform on every accelerator the SAVRN Index prices, at every precision

Model Card

By Liam Foster, published under mit, revision 46f190f0370a.

This repository contains a working research note about OCR Freeform. It organizes motivation, related work, a falsifiable hypothesis, and an evaluation plan. It is not presented as a completed paper or a release of trained models. - the scope of the research question and likely confounders - a proposed comparison with matched baselines - concrete evaluation context such as FUNSD, SROIE, and CORD - reproducibility checks, failure modes, and open questions - topic-relevant references Start with summary.md for the full note. Sections labeled as plans or hypotheses should not be interpreted as experimental results. If results are added later, they should include dataset versions, commands…

Read Liam Foster's full model card

Notes on OCR Freeform

Repository summary

This repository contains a working research note about OCR Freeform. It organizes motivation, related work, a falsifiable hypothesis, and an evaluation plan. It is not presented as a completed paper or a release of trained models.

What is covered

  • the scope of the research question and likely confounders
  • a proposed comparison with matched baselines
  • concrete evaluation context such as FUNSD, SROIE, and CORD
  • reproducibility checks, failure modes, and open questions
  • topic-relevant references

How to read this repository

Start with summary.md for the full note. Sections labeled as plans or hypotheses should not be interpreted as experimental results. If results are added later, they should include dataset versions, commands, seeds, hardware, and raw logs.

Scope and limitations

The note is intentionally exploratory. It does not claim benchmark improvements, completed ablations, released code, or a trained checkpoint. References and proposed datasets provide a starting point for verification rather than evidence that the study has already been run.

Files

  • summary.md — primary artifact
  • README.md — this documentation

License

Released under mit. Review the source-data terms separately when this repository is used with external datasets.

Configuration

Architecture
CustomResearchModel
Context length (tokens)
512
Layers
6
Hidden size
384
Feed-forward size
768
Attention heads
6
Model type
transformer

Identity and Version

Repository
jimenezdaniel/ocr-freeform
Publisher
Liam Foster
Task
Not stated by the source
Modality
Other
Library
Not stated by the source
Parameters
49,600 parameters
Languages
ocr-freeform
Revision
46f190f0370ac41598698f24f194bf483b64a556
First published
2026-10-10
Last updated
2026-10-10

Files and Weights

6 files, 205.6 KB in total. The weights are 1 file totalling 198.9 KB in safetensors.

Weights1 file · 198.9 KB
Configuration2 files · 627 B
Documentation2 files · 4.6 KB
Repository1 file · 1.5 KB
Every file
FileTypeSizeSHA-256
model.safetensorsWeights198.9 KB 1dd709633444
config.jsonConfiguration440 B —
training_args.jsonConfiguration187 B —
README.mdDocumentation1.4 KB —
summary.mdDocumentation3.1 KB —
.gitattributesRepository1.5 KB —

License and Download

License
mit
Access
Open weights, no gate
Download size
198.9 KB
Download from Liam Foster

Released by Liam Foster through its official repository on Hugging Face. Read the license.

Memory Requirements

PrecisionWeights in memory
As published198.9 KB
16-bit0.0 GB
8-bit0.0 GB
4-bit0.0 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About ocr-freeform

How much GPU memory does ocr-freeform need?

About 0 GB at 16-bit and 0 GB at 4-bit: the weights (49,600 parameters) plus a working margin. A long context needs more.

What is the cheapest GPU to run ocr-freeform on?

At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.

Can I use ocr-freeform commercially?

Yes. ocr-freeform is released under MIT License. The MIT License is a short permissive license. It permits commercial use, modification and redistribution, provided the copyright notice and permission notice are included.

What is ocr-freeform's context length?

512 tokens, from the maximum position embeddings in its published configuration.