anaksor-ocr
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Demonstrates Hazy Research's Next-Concept Modeling, which writes text in parallel from a rough outline to a full sequence, on tasks like summaries, translation and Sudoku. It suits researchers and curious developers.
Next-Concept Modeling is a kit in the Research category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.
pip install -U huggingface_hub hf download mrfakename/ncm --repo-type space --local-dir ncm cd ncm
Next-Concept Modeling is a Gradio demo of a text generation method from Hazy Research that works in parallel, from coarse to fine. It uses the checkpoints the group released. Each result appears in stages, starting from a one-token outline and ending with the whole sequence.
People who want to see how a coarse-to-fine text generator behaves on several tasks, without training or setting up a model themselves.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Research | ML researchers | Watch a parallel generator refine its output stage by stage | The Sudoku task |
| Software | Developers | Read how the engine file follows a reference inference loop | Opening ncm_engine.py |
| Education | Students of language models | Compare staged generation with ordinary left to right writing | A short story from TinyStories |
| Language work | Translators | See a German to English model at work | A WMT14 sentence |
If you want a general chat assistant, you can skip it, since this is a research demo.
| Use case | Who | What they get back |
|---|---|---|
| Staged generation | Researchers | Output shown at each level, from outline to full text |
| Summarising | Curious users | An XSum style summary |
| Translation | Language learners | A German to English result from the WMT14 task |
| Puzzle solving | Hobbyists | A Sudoku solved in stages |
pip install -U huggingface_hub hf download mrfakename/ncm --repo-type space --local-dir ncm cd ncm pip install gradio==6.30.0 pip install -r requirements.txt python app.py
Online, open the Space page, pick one of the tasks and run it. On your own computer, start the app with the command below and use the screen it opens.
python app.py
| Tool | What it does |
|---|---|
| app.py | The main Gradio file that starts the demo |
| ncm_engine.py | The engine that runs generation, following a reference inference loop |
| ncm/ | A folder of the original project code, kept unmodified |
| sudoku_ex.json and xsum_ex.json | Example data for the Sudoku and XSum tasks |
You choose the Sudoku task and run it. The page shows the grid being filled in stages, from a rough first outline to the complete answer.
Start with one task, such as TinyStories, and watch how the text sharpens from stage to stage. The demo covers story writing with TinyStories, LM1B at small, medium and large sizes, XSum summaries, German to English translation with WMT14, and Sudoku puzzles.
The ncm folder is copied unmodified from the HazyResearch project under the MIT license. The engine file follows that project's reference inference loop and loads checkpoints from hazyresearch/ncm-checkpoints. The source gives no speed or quality figures, so judge the trade-off by running tasks.
Demonstrates Hazy Research's Next-Concept Modeling, which writes text in parallel from a rough outline to a full sequence, on tasks like summaries, translation and Sudoku. It suits researchers and curious developers.
Made by mrfakename on Hugging Face. These notes are Mindket's, written from its Space page and README; the app's own files and license are on Hugging Face.
What it is: Next-Concept Modeling is a Gradio demo of a text generation method from Hazy Research that works in parallel, from coarse to fine. It uses the checkpoints the group released. Each result appears in stages, starting from a one-token outline and ending with the whole sequence.
Who it suits: People who want to see how a coarse-to-fine text generator behaves on several tasks, without training or setting up a model themselves.
Industry | Who uses it | How they use it | Example
Research | ML researchers | Watch a parallel generator refine its output stage by stage | The Sudoku task
Software | Developers | Read how the engine file follows a reference inference loop | Opening ncm_engine.py
Education | Students of language models | Compare staged generation with ordinary left to right writing | A short story from TinyStories
Language work | Translators | See a German to English model at work | A WMT14 sentence
If you want a general chat assistant, you can skip it, since this is a research demo.
Where to use it:
Use case | Who | What they get back
Staged generation | Researchers | Output shown at each level, from outline to full text
Summarising | Curious users | An XSum style summary
Translation | Language learners | A German to English result from the WMT14 task
Puzzle solving | Hobbyists | A Sudoku solved in stages
How to set it up:
pip install -U huggingface_hub
hf download mrfakename/ncm --repo-type space --local-dir ncm
cd ncm
pip install gradio==6.30.0
pip install -r requirements.txt
python app.py
How to use it: Online, open the Space page, pick one of the tasks and run it. On your own computer, start the app with the command below and use the screen it opens.
python app.py
Tool | What it does
app.py | The main Gradio file that starts the demo
ncm_engine.py | The engine that runs generation, following a reference inference loop
ncm/ | A folder of the original project code, kept unmodified
sudoku_ex.json and xsum_ex.json | Example data for the Sudoku and XSum tasks
Example: You choose the Sudoku task and run it. The page shows the grid being filled in stages, from a rough first outline to the complete answer.
For newcomers and experts: Start with one task, such as TinyStories, and watch how the text sharpens from stage to stage. The demo covers story writing with TinyStories, LM1B at small, medium and large sizes, XSum summaries, German to English translation with WMT14, and Sudoku puzzles.
The ncm folder is copied unmodified from the HazyResearch project under the MIT license. The engine file follows that project's reference inference loop and loads checkpoints from hazyresearch/ncm-checkpoints. The source gives no speed or quality figures, so judge the trade-off by running tasks.
You pick a task and run it
ncm_engine.py loads a released checkpoint
Generation starts from a one-token outline
Each stage adds detail to the full text
Good to know:
Open the Space in your browser, or copy it to your own Hugging Face account from its page. Nothing in this kit runs by itself.
README.md 4 KB
Listed Hugging Face Spaces in the same category that share the most tags with this one.
| Product | Likes | Built with | License | Last change |
|---|---|---|---|---|
| Next-Concept Modeling This page | 1 | gradio | mit | |
| Open VLM LeaderboardShares gradio | 1,034 | gradio | apache-2.0 | |
| Face SwapShares gradio | 808 | gradio | cc-by-nc-sa-4.0 | |
| TTS Spaces ArenaShares gradio | 493 | gradio | zlib | |
| Depth Anything 3Shares gradio | 490 | gradio | cc-by-nc-4.0 | |
| BLIPShares gradio | 431 | gradio | bsd-3-clause |
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Qwen · Kit
Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…
ACE-Step · Kit
Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…
AbdomenAtlas · Kit
Detects and outlines tumors in 9 organs on CT scans, trained with the R-Super method that learns from radiology reports. A research model for medical imaging g…
dBenf · Kit
Answers typed questions about satellite image patches from all 12 Sentinel-2 bands, returning a probability for each option without writing text. A Qwen3.5-0.8…
zimmerk4 · Kit
Plays the full game Getting Over It from the bottom to the end with a small trained policy network that learned inside a JAX physics simulator. For reinforceme…