BuildTube Preview About
Back to the feed

Qwen-2.5-1B-RLCD: Pull structured data out of documents quickly on a Mac

Added · Updated

Sort a document into fixed answers, such as a priority level or a yes-or-no flag, and get back valid JSON in one quick step on an Apple Silicon Mac.

It is for developers who build triage, routing or classification steps. It is an inference engine (the code that runs a model) built on MLX, Apple’s machine-learning toolkit, and set up for a 4-bit Qwen2.5-1.5B model. Instead of writing the answer word by word, it reads the document once and scores every allowed choice for every field in parallel, with a confidence for each. The author reports 5.6x to 7.0x lower latency on an M4 Max.

Model details

Original model harshatheg/Qwen-2.5-1B-RLCD

Write & reason

Input Text Output Text

Ways to use it Browser demo · Run locally

What it does

When you ask a model to return a filled-in form, it normally writes the whole thing one word at a time, which is slow and can produce fields that are missing or invented. The insight here is that for a form, most answers come from a limited set — yes or no, one of five categories — so the fields can be worked out in parallel rather than in sequence. The document is read once and then every field is evaluated against that single reading. The author reports large latency reductions on an Apple laptop, with every output valid against the schema and a confidence score for each field.

How to use it

Download the code files from the Hugging Face repository, create a Python virtual environment and install requirements.txt with pip. In Python, describe your fields as a StructuredSchema, each a yes-or-no or a list of up to 255 choices with a short description, then call run_parallel_generation with your document text. It returns JSON with each chosen value, its probability and timing details. Running bash run.sh opens a side-by-side comparison page at localhost:8000.

Common use cases

  • Paste an incident report and a schema with priority, escalation and department fields; get back JSON such as P0_CRITICAL, true and INFRASTRUCTURE, each with a probability.
  • Give it a product description and a list of up to 255 tariff codes; get back the most likely code plus the runner-up choices and their probabilities.
  • Open the web comparison page, run one document through normal word-by-word decoding and the parallel method, and watch the timers and the highlighted missing or invented fields side by side.

Can I use this?

Needs a model runtime on your computer

Requirements An Apple Silicon Mac (M1 to M4 series) on macOS 14.0 or later, with Python 3.10 or newer. The engine is configured for the mlx-community Qwen2.5-1.5B-Instruct-4bit model; another model supported by mlx-lm can be set through MODEL_ID in core/engine.py. The source does not list memory requirements.

Caveat It only fills fields whose answers come from a fixed list or yes-or-no, so it cannot pull out free text such as names, dates or totals. The source’s clone command points to a placeholder your-org address, so the files on the model page are the usable copy.

Worth knowing Narrow by design: it works where each answer comes from a bounded set of options, not for open-ended writing. The speed figures are the author’s own, measured on one Mac model, and the hub currently records no downloads. It is a small personal project, and the repository holds engine code rather than new model weights. Licensed under Apache License 2.0.

Why it's here

Not trending this week

Last seen on the Hugging Face trending list on 20 September 2026. It stays on BuildTube so you can still find it.

  • 590 people have liked it on Hugging Face.
  • It was downloaded 0 times in the last 30 days.

Numbers checked on 8 November 2026; not refreshed since.

Behind it

View model page

BuildTube has not run or verified this project. Everything above is written from what the creator published.

Made this?

Quick questions

What is Qwen-2.5-1B-RLCD?
When you ask a model to return a filled-in form, it normally writes the whole thing one word at a time, which is slow and can produce fields that are missing or invented.
What can I use Qwen-2.5-1B-RLCD for?
Paste an incident report and a schema with priority, escalation and department fields; get back JSON such as P0_CRITICAL, true and INFRASTRUCTURE, each with a probability; Give it a product description and a list of up to 255 tariff codes; get back the most likely code plus the runner-up choices and their probabilities; Open the web comparison page, run one document through normal word-by-word decoding and the parallel method, and watch the timers and the highlighted missing or invented fields side by side
Can I run Qwen-2.5-1B-RLCD on my computer?
It runs on your own hardware with a model runtime. An Apple Silicon Mac (M1 to M4 series) on macOS 14.0 or later, with Python 3.10 or newer. The speed figures are the author’s own, measured on one Mac model, and the hub currently records no downloads.
What do I need to use Qwen-2.5-1B-RLCD?
An Apple Silicon Mac running MLX. You supply the form you want filled in, described as a schema, and the documents to read. A live side-by-side demo is linked from the model page.
What license does Qwen-2.5-1B-RLCD use?
Licensed under Apache License 2.0.

More from this week

Explore by topic

Post this

A ready-made picture of this card for X, LinkedIn or a group chat. Link to this page alongside it.

Share image for Qwen-2.5-1B-RLCDDownload share image

For makers

Made this? Show it’s on BuildTube — add the badge to your README or embed the card on your site.

Featured on BuildTube

README badge (Markdown)

[![Featured on BuildTube](https://buildtube.app/badge/hf-harshatheg-qwen-2-5-1b-rlcd.svg)](https://buildtube.app/p/hf-harshatheg-qwen-2-5-1b-rlcd/)

Embed card (HTML)

<iframe src="https://buildtube.app/embed/hf-harshatheg-qwen-2-5-1b-rlcd/" width="560" height="240" style="border:0;max-width:100%" loading="lazy" title="Qwen-2.5-1B-RLCD on BuildTube"></iframe>

Back to the feed