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…
A 29B world model from IFM at MBZUAI that turns a scene and described actions into a video of up to 20 seconds, so an agent can preview outcomes. For researchers and agent builders with a large GPU.
PAN 2 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 IFM/PAN2 --include "transformer/*" --local-dir /path/to/PAN2 python scripts/convert_checkpoint.py to-native \
PAN 2 is a world model from the Institute of Foundation Models at MBZUAI. It predicts how a scene changes after actions that you describe in text. You give the current scene as text, with an optional image, plus the actions, and it returns a video of the result that runs up to 20 seconds. This repository holds the 29B diffusion backbone in BF16.
It suits researchers and agent builders who want to see the likely outcome of an action before choosing it, and video makers who want short clips from a described scene.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| AI research | Researchers | Study world models and simulative reasoning | Compare candidate actions by their simulated outcomes |
| Agents | Agent builders | Let an agent preview outcomes before it acts | Simulate each plan and pick the best-looking result |
| Media | Video creators | Make a short clip from a first frame and a description | A clip of up to 20 seconds from one image |
| Simulation | Developers | Prototype how a scene may change after an action | A scene after a character carries out a step |
If you want a light video tool for a small GPU, you can skip it, since the weights alone are about 58.4 GB.
| Use case | Who | What they get back |
|---|---|---|
| Text to video | Creators | A video made from a structured text description |
| Image to video | Creators | A video that starts from your first frame |
| Action simulation | Agent builders | A video of the outcome of an action you describe |
You need these first:
pip install -U huggingface_hub
hf download IFM/PAN2 --include "transformer/*" --local-dir /path/to/PAN2
python scripts/convert_checkpoint.py to-native \
--input /path/to/PAN2/transformer --output <DIR>/transformerconda create -n pan python=3.14 -y && conda activate pan pip install --pre "flash-attn-4[cu13]==4.0.0b29" --no-build-isolation pip install "quack-kernels[cu13]==0.6.4" pip install -r requirements.txt
export HF_HOME=YOUR_HF_PATH hf download Qwen/Qwen3.5-9B hf download Wan-AI/Wan2.2-TI2V-5B-Diffusers
Describe the scene and the actions in the structured text form the card expects, add a first frame if you have one, and run generate.py. The part of the card given here ends before the generate command, so read the full card for the exact call.
| Tool | What it does |
|---|---|
| generate.py | The script the card uses to make videos |
| convert_checkpoint.py | Converts the released weights to the layout generate.py reads |
| Diffusers | Also supports PAN 2, per the card |
| vLLM | Also supports PAN 2, per the card |
You give a picture of a cup on a table and write that a hand pushes it off the edge. PAN 2 returns a video of up to 20 seconds that shows what follows. The card does not show this exact run, so treat it as an expectation.
A world model predicts what happens next in a scene. A good first step is to read the card's overview and check that your GPU can hold the weights before you download anything.
The card describes two parts. A large language model first reads the scene and the actions, then drafts a structured text description of what the world looks like next. A latent diffusion model then predicts the video that matches it, and the Wan 2.2 decoder turns that into frames. The released checkpoint is the 29B diffusion part, which the card says learned from scratch using videos numbering in the hundreds of millions.
The weights are large, and the 4-bit figure is only Hugging Face's own estimate.
A 29B world model from IFM at MBZUAI that turns a scene and described actions into a video of up to 20 seconds, so an agent can preview outcomes. For researchers and agent builders with a large GPU.
Made by IFM on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.
What it is: PAN 2 is a world model from the Institute of Foundation Models at MBZUAI. It predicts how a scene changes after actions that you describe in text. You give the current scene as text, with an optional image, plus the actions, and it returns a video of the result that runs up to 20 seconds. This repository holds the 29B diffusion backbone in BF16.
Who it suits: It suits researchers and agent builders who want to see the likely outcome of an action before choosing it, and video makers who want short clips from a described scene.
Industry | Who uses it | How they use it | Example
AI research | Researchers | Study world models and simulative reasoning | Compare candidate actions by their simulated outcomes
Agents | Agent builders | Let an agent preview outcomes before it acts | Simulate each plan and pick the best-looking result
Media | Video creators | Make a short clip from a first frame and a description | A clip of up to 20 seconds from one image
Simulation | Developers | Prototype how a scene may change after an action | A scene after a character carries out a step
If you want a light video tool for a small GPU, you can skip it, since the weights alone are about 58.4 GB.
Where to use it:
Use case | Who | What they get back
Text to video | Creators | A video made from a structured text description
Image to video | Creators | A video that starts from your first frame
Action simulation | Agent builders | A video of the outcome of an action you describe
How to set it up: You need these first:
pip install -U huggingface_hub
hf download IFM/PAN2 --include "transformer/*" --local-dir /path/to/PAN2
python scripts/convert_checkpoint.py to-native \
--input /path/to/PAN2/transformer --output <DIR>/transformer
conda create -n pan python=3.14 -y && conda activate pan
pip install --pre "flash-attn-4[cu13]==4.0.0b29" --no-build-isolation
pip install "quack-kernels[cu13]==0.6.4"
pip install -r requirements.txt
export HF_HOME=YOUR_HF_PATH
hf download Qwen/Qwen3.5-9B
hf download Wan-AI/Wan2.2-TI2V-5B-Diffusers
How to use it: Describe the scene and the actions in the structured text form the card expects, add a first frame if you have one, and run generate.py. The part of the card given here ends before the generate command, so read the full card for the exact call.
Tool | What it does
generate.py | The script the card uses to make videos
convert_checkpoint.py | Converts the released weights to the layout generate.py reads
Diffusers | Also supports PAN 2, per the card
vLLM | Also supports PAN 2, per the card
Example: You give a picture of a cup on a table and write that a hand pushes it off the edge. PAN 2 returns a video of up to 20 seconds that shows what follows. The card does not show this exact run, so treat it as an expectation.
For newcomers and experts: A world model predicts what happens next in a scene. A good first step is to read the card's overview and check that your GPU can hold the weights before you download anything.
The card describes two parts. A large language model first reads the scene and the actions, then drafts a structured text description of what the world looks like next. A latent diffusion model then predicts the video that matches it, and the Wan 2.2 decoder turns that into frames. The released checkpoint is the 29B diffusion part, which the card says learned from scratch using videos numbering in the hundreds of millions.
Describe the scene and the actions
The language model writes the next world state
The diffusion model predicts the video latents
The decoder renders the video
Good to know: The weights are large, and the 4-bit figure is only Hugging Face's own estimate.
Title: Weight size in GB
BF16 weights: 58.4 GB
4-bit estimate: 14.6 GB
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download IFM/PAN2
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 6 KB
Listed Hugging Face models in the same category that share the most tags with this one.
| Product | Downloads, last 30 days | Likes | Parameters | License | Last change |
|---|---|---|---|---|---|
| PAN 2 This page | 10 | 83 | 29.2B | apache-2.0 | |
| Drishya TinyShares text-to-video · diffusion-transformer · image-to-video | 163 | 6 | 212M | cc-by-nc-4.0 | |
| Hy-NomasShares diffusion-transformer · world-model · diffusers | 90,896 | 153 | — | apache-2.0 | |
| GTA world modelShares image-to-video · world-model | 0 | 11 | — | apache-2.0 | |
| RFD4-Proteina-DiffusersShares diffusers · safetensors | 403 | 5 | 178M | bsd-3-clause | |
| GenFirstShares diffusers · safetensors | 0 | 7 | — | cc-by-nc-4.0 |
Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.
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…