Nanosaur2-670M
well9472 · Kit
Makes illustrations from text prompts with a small 670M-parameter diffusion model, run through ComfyUI. Built as a low-budget research model for people who wan…
Comments on video while it plays, taking frames one by one and answering with low delay. For developers and researchers building live video assistants in Python with transformers.
MOSS-Video-Preview-Real-Time-SFT is a kit in the Developer 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 OpenMOSS-Team/moss-video-preview-realtime-sft
MOSS-Video-Preview-Real-Time-SFT is a video-and-text model of about 10.7B parameters from OpenMOSS-Team. It was derived from MOSS-Video-Preview-SFT with an extra round of real-time supervised fine-tuning. The aim is quick answers to a stream of frames, so it can speak about a scene while the footage is still arriving.
It suits developers and researchers who work on live video understanding and can run a GPU or NPU machine.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Interactive apps | Developers | Build assistants that comment on video as it plays | Describe a video feed frame by frame |
| Monitoring | Operations teams | Watch a continuous stream and get instant feedback on actions | Report a change in a scene as it happens |
| Research | Video-language researchers | Study streaming cross-attention and silence-and-speak switching | Interrupt the model mid-answer and watch it correct itself |
Anyone who needs a small model for a phone or laptop can skip it, since the BF16 weights are about 21.3 GB.
You run it from Python with transformers on hardware the card names.
| Use case | Who | What they get back |
|---|---|---|
| Live scene commentary | App developers | Text that follows the video as frames arrive |
| Continuous monitoring | Operations teams | Quick text feedback on what is happening |
| Streaming research | Researchers | A checkpoint for testing low-delay video understanding |
You need Python, a capable GPU or NPU and a video file to try.
pip install -U huggingface_hub hf download OpenMOSS-Team/moss-video-preview-realtime-sft
The card recommends streaming inference through the real_time_generate() API. The script below feeds frames from a video, sends a prompt, and starts generation in its own thread. The card's script then reads tokens from token_queue, but that last loop is cut off in the text shown here.
import os, queue, threading, time, cv2
from PIL import Image
from transformers import AutoProcessor, AutoModelForCausalLM
def feed(video, q, fps=1.0):
cap=cv2.VideoCapture(video); step=max(1, round((cap.get(cv2.CAP_PROP_FPS) or 25)/fps)); i=0
while cap.isOpened():
ok, f = cap.read()
if not ok: break
if i % step == 0: q.put(Image.fromarray(cv2.cvtColor(f, cv2.COLOR_BGR2RGB))); time.sleep(1/fps)
i += 1
cap.release()
checkpoint = "OpenMOSS-Team/moss-video-preview-realtime-sft"
video_path = "data/example_video.mp4"
prompt = "Describe the video."
processor=AutoProcessor.from_pretrained(checkpoint, trust_remote_code=True)
model=AutoModelForCausalLM.from_pretrained(checkpoint, trust_remote_code=True, device_map="auto")
image_queue, prompt_queue, token_queue = queue.Queue(), queue.Queue(), queue.Queue()
threading.Thread(target=feed, args=(video_path, image_queue), daemon=True).start()
time.sleep(1)
prompt_queue.put(prompt)
threading.Thread(
target=lambda: model.real_time_generate(image_queue, prompt_queue, token_queue, processor),
daemon=True,
).start()| Tool | What it does |
|---|---|
| real_time_generate | Generates text while frames keep arriving, using an image queue, a prompt queue, a token queue and the processor |
| feed | The card's helper that reads a video file and queues about one frame per second |
| AutoProcessor | Loads the processor for the checkpoint |
| AutoModelForCausalLM | Loads the model for the checkpoint |
You point video_path at a short clip and keep the default prompt, Describe the video. The helper queues about one frame a second. The model starts producing text as frames arrive, without waiting for the clip to end.
The model works as a see-and-say system. It looks at video frames as they come in and talks about them without waiting for the whole clip. A good first try is to run the card's script on a short clip of your own.
For someone who knows the field, the card describes an image-video unified cross-attention design with native frame-by-frame injection and a cross-attention KV cache. Frames enter at a steady rate through a non-blocking pipeline that is decoupled from text generation, which keeps time to first token low. The model is also tuned to switch between staying silent and speaking, and it can be interrupted and revise its answer.
The card calls this a preview checkpoint tuned for real-time use. It lists Flash Attention 2 support and compatibility with CUDA and NPU. Weights are about 21.3 GB in BF16 and about 5.3 GB at 4-bit by estimate. It handles English and Chinese.
Comments on video while it plays, taking frames one by one and answering with low delay. For developers and researchers building live video assistants in Python with transformers.
Made by OpenMOSS-Team 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: MOSS-Video-Preview-Real-Time-SFT is a video-and-text model of about 10.7B parameters from OpenMOSS-Team. It was derived from MOSS-Video-Preview-SFT with an extra round of real-time supervised fine-tuning. The aim is quick answers to a stream of frames, so it can speak about a scene while the footage is still arriving.
Who it suits: It suits developers and researchers who work on live video understanding and can run a GPU or NPU machine.
Industry | Who uses it | How they use it | Example
Interactive apps | Developers | Build assistants that comment on video as it plays | Describe a video feed frame by frame
Monitoring | Operations teams | Watch a continuous stream and get instant feedback on actions | Report a change in a scene as it happens
Research | Video-language researchers | Study streaming cross-attention and silence-and-speak switching | Interrupt the model mid-answer and watch it correct itself
Anyone who needs a small model for a phone or laptop can skip it, since the BF16 weights are about 21.3 GB.
Where to use it: You run it from Python with transformers on hardware the card names.
Use case | Who | What they get back
Live scene commentary | App developers | Text that follows the video as frames arrive
Continuous monitoring | Operations teams | Quick text feedback on what is happening
Streaming research | Researchers | A checkpoint for testing low-delay video understanding
How to set it up: You need Python, a capable GPU or NPU and a video file to try.
pip install -U huggingface_hub
hf download OpenMOSS-Team/moss-video-preview-realtime-sft
How to use it: The card recommends streaming inference through the real_time_generate() API. The script below feeds frames from a video, sends a prompt, and starts generation in its own thread. The card's script then reads tokens from token_queue, but that last loop is cut off in the text shown here.
import os, queue, threading, time, cv2
from PIL import Image
from transformers import AutoProcessor, AutoModelForCausalLM
def feed(video, q, fps=1.0):
cap=cv2.VideoCapture(video); step=max(1, round((cap.get(cv2.CAP_PROP_FPS) or 25)/fps)); i=0
while cap.isOpened():
ok, f = cap.read()
if not ok: break
if i % step == 0: q.put(Image.fromarray(cv2.cvtColor(f, cv2.COLOR_BGR2RGB))); time.sleep(1/fps)
i += 1
cap.release()
checkpoint = "OpenMOSS-Team/moss-video-preview-realtime-sft"
video_path = "data/example_video.mp4"
prompt = "Describe the video."
processor=AutoProcessor.from_pretrained(checkpoint, trust_remote_code=True)
model=AutoModelForCausalLM.from_pretrained(checkpoint, trust_remote_code=True, device_map="auto")
image_queue, prompt_queue, token_queue = queue.Queue(), queue.Queue(), queue.Queue()
threading.Thread(target=feed, args=(video_path, image_queue), daemon=True).start()
time.sleep(1)
prompt_queue.put(prompt)
threading.Thread(
target=lambda: model.real_time_generate(image_queue, prompt_queue, token_queue, processor),
daemon=True,
).start()
Tool | What it does
real_time_generate | Generates text while frames keep arriving, using an image queue, a prompt queue, a token queue and the processor
feed | The card's helper that reads a video file and queues about one frame per second
AutoProcessor | Loads the processor for the checkpoint
AutoModelForCausalLM | Loads the model for the checkpoint
Example: You point video_path at a short clip and keep the default prompt, Describe the video. The helper queues about one frame a second. The model starts producing text as frames arrive, without waiting for the clip to end.
For newcomers and experts: The model works as a see-and-say system. It looks at video frames as they come in and talks about them without waiting for the whole clip. A good first try is to run the card's script on a short clip of your own.
For someone who knows the field, the card describes an image-video unified cross-attention design with native frame-by-frame injection and a cross-attention KV cache. Frames enter at a steady rate through a non-blocking pipeline that is decoupled from text generation, which keeps time to first token low. The model is also tuned to switch between staying silent and speaking, and it can be interrupted and revise its answer.
Video frames join an input queue
Cross-attention KV cache keeps context
Model decides to stay silent or speak
Tokens stream out as they are made
Good to know: The card calls this a preview checkpoint tuned for real-time use. It lists Flash Attention 2 support and compatibility with CUDA and NPU. Weights are about 21.3 GB in BF16 and about 5.3 GB at 4-bit by estimate. It handles English and Chinese.
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download OpenMOSS-Team/moss-video-preview-realtime-sft
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 7 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 |
|---|---|---|---|---|---|
| MOSS-Video-Preview-Real-Time-SFT This page | 74 | 30 | 10.7B | apache-2.0 | |
| Llama-V-JEPA-LM-Qwen3-1.7BShares video-text-to-text · video · multimodal | 86 | 7 | 2B | apache-2.0 | |
| Llama-V-JEPA-LM-Qwen3-4BShares video-text-to-text · video · multimodal | 78 | 7 | 5.1B | apache-2.0 | |
| Llama-V-JEPA-LM-Qwen3-8BShares video-text-to-text · video · multimodal | 73 | 9 | 9.2B | apache-2.0 | |
| Earlybird by sahilmahendrakarShares low-latency · streaming · transformers | 89 | 24 | — | mit | |
| Realtime-VenusShares streaming · video · multimodal | 2,101 | 135 | — | apache-2.0 |
well9472 · Kit
Makes illustrations from text prompts with a small 670M-parameter diffusion model, run through ComfyUI. Built as a low-budget research model for people who wan…
Waqf-AI · Kit
Reads handwritten Arabic text from images and returns it as text. A fine-tuned PaddleOCR-VL model for people digitizing Arabic handwriting.
Wan-AI · Kit
Makes video clips from a text prompt or an image plus text, at up to 720P and 24 frames per second, in the Diffusers format for a single consumer GPU.
Wan-AI · Kit
Generates cinematic video of a character driven by an audio track, and can also lip-sync existing video. For video creators, animators and researchers with a l…
Wan-AI · Kit
Animates a character or swaps one into a video by copying a performer's movement and expressions, as one model from the Wan2.2 video family. Use only faces and…
vllm-sr · Kit
Answers choice, yes-or-no, score, box and tracking questions about text, images or video in one call, with a probability for each answer. For people building r…