Spaces:
Running on Zero
Running on Zero
|
Download README.md from vtwo/SpaceTimeVLM: direct link, hf CLI and curl.
- Browser
- Download file 1.63 kB
-
https://huggingface.co/spaces/vtwo/SpaceTimeVLM/resolve/main/README.md
- Command line
-
hf download hf://spaces/vtwo/SpaceTimeVLM/README.md
-
curl -L -o README.md https://huggingface.co/spaces/vtwo/SpaceTimeVLM/resolve/main/README.md
1.63 kB
metadata
title: SpaceTimeVLM
emoji: 🧭
colorFrom: blue
colorTo: indigo
sdk: gradio
sdk_version: 6.32.0
app_file: app.py
short_description: Spatial questions about a video, answered with 3D cues
python_version: '3.12'
startup_duration_timeout: 1h
license: cc-by-nc-4.0
models:
- DarioVajda/SpaceTimeVLM-2B
- DarioVajda/SpaceTimeVLM-4B
- DarioVajda/SpaceTimeVLM-9B
SpaceTimeVLM demo
Upload a video of a scene, ask a spatial question and get the answer of SpaceTimeVLM-2B, 4B or 9B, or of all three on the same frames.
- The video is decoded with ffmpeg (which applies the rotation flag of phone videos) and 8, 16 or 32 frames are sampled uniformly.
- The frames are sampled as soon as the video is added, before the question is sent.
- With the Space variable
SPACETIME_PREPARE=1, the chosen model also runs over the frames ahead of the question and keeps that cache, so the answer only runs the question's tokens. It is off by default: on the first test the answer still took the full path, so preparing only cost GPU quota. - "Short answer" wraps the question in the VSI-Bench prompt used for the benchmark scores on the model cards.
- The Space variable
SPACETIME_SIZES(for example2B,4B) loads fewer models.
The models are under CC BY-NC 4.0 (non-commercial use). The example video is an excerpt of UE4Arch.com - Viennese apartment by UE4Arch.com (CC BY-SA 4.0).