Spaces:
Running on Zero
Running on Zero
Gallery below the player; model id ambient-intelligence-labs/tempora-1
Browse filesFiles changed (4)
- README.md+1-1
- app.py+2-2
- run_examples.py+1-1
- static/page.html+10-10
14 unmodified lines1516171819202114 unmodified linesInstruction-conditioned video segmentation for general video and robotics. Give the model a video and an instructionthat says what counts as a segment; it returns ordered, timed JSON segments with labels and any metadata fields youname. Runs the private checkpoint `infinitylogesh/tempora-27b` (Tempora-1) on ZeroGPU with the release inferencesettings (3 fps, at most 540 frames, 64 to 112 visual tokens per frame, greedy decoding).The examples are the demos from the release post. Robot and first-person clips show the released WGO-Bench run 114 unmodified lines1516171819202114 unmodified linesInstruction-conditioned video segmentation for general video and robotics. Give the model a video and an instructionthat says what counts as a segment; it returns ordered, timed JSON segments with labels and any metadata fields youname. Runs the private checkpoint `ambient-intelligence-labs/tempora-1` (Tempora-1) on ZeroGPU with the release inferencesettings (3 fps, at most 540 frames, 64 to 112 visual tokens per frame, greedy decoding).The examples are the demos from the release post. Robot and first-person clips show the released WGO-Bench run 1
123456710 unmodified lines18192021222324"""Tempora-1 demo Space (ZeroGPU).The page (static/page.html, app.css, app.js) is plain HTML rendered inside Gradio; it calls the queued Gradio endpoint`/segment` through the Gradio JS client. The model is the private checkpoint infinitylogesh/tempora-27b (Tempora-1), loadedwith transformers. Video goes through qwen-vl-utils with the settings the model was trained and evaluated with(3 fps, at most 540 frames, 64 to 112 visual tokens per frame), and decoding is greedy, as in the release repo'soffline inference.10 unmodified linesHERE = os.path.dirname(os.path.abspath(__file__))STATIC = os.path.join(HERE, "static")MODEL_ID = os.environ.get("TEMPORA_MODEL", "infinitylogesh/tempora-27b")MOCK = os.environ.get("TEMPORA_MOCK") == "1"MAX_NEW_TOKENS = {True: 6144, False: 3072} # thinking on / off (offline eval: 32768 / 3072; WGO median ~400)RETURN_LINE = 'Return JSON: {"chunks":[{"start":sec,"end":sec,"label":...}]}'123456710 unmodified lines18192021222324"""Tempora-1 demo Space (ZeroGPU).The page (static/page.html, app.css, app.js) is plain HTML rendered inside Gradio; it calls the queued Gradio endpoint`/segment` through the Gradio JS client. The model is the private checkpoint ambient-intelligence-labs/tempora-1 (Tempora-1), loadedwith transformers. Video goes through qwen-vl-utils with the settings the model was trained and evaluated with(3 fps, at most 540 frames, 64 to 112 visual tokens per frame), and decoding is greedy, as in the release repo'soffline inference.10 unmodified linesHERE = os.path.dirname(os.path.abspath(__file__))STATIC = os.path.join(HERE, "static")MODEL_ID = os.environ.get("TEMPORA_MODEL", "ambient-intelligence-labs/tempora-1")MOCK = os.environ.get("TEMPORA_MOCK") == "1"MAX_NEW_TOKENS = {True: 6144, False: 3072} # thinking on / off (offline eval: 32768 / 3072; WGO median ~400)RETURN_LINE = 'Return JSON: {"chunks":[{"start":sec,"end":sec,"label":...}]}'
9 unmodified lines101112131415169 unmodified linesfrom gradio_client import ClientHERE = os.path.dirname(os.path.abspath(__file__))SPACE = os.environ.get("TEMPORA_SPACE", "infinitylogesh/tempora-27b")EXAMPLES = {e["id"]: e for e in json.load(open(os.path.join(HERE, "static", "examples.json")))}9 unmodified lines101112131415169 unmodified linesfrom gradio_client import ClientHERE = os.path.dirname(os.path.abspath(__file__))SPACE = os.environ.get("TEMPORA_SPACE", "infinitylogesh/tempora-1")EXAMPLES = {e["id"]: e for e in json.load(open(os.path.join(HERE, "static", "examples.json")))}
11 unmodified lines1213141516171840 unmodified lines59606162636465666768697071727351 unmodified lines12512612712812913011 unmodified lines</nav><div class="nav-right"><span class="tag tag-line">Private preview</span><a class="btn btn-ink btn-sm" href="https://huggingface.co/infinitylogesh/tempora-27b" target="_blank" rel="noopener">Model card ↗</a></div></div></header>40 unmodified linesminute to a few minutes, longer with thinking on and for long videos.</p></div><div class="gallery" id="gallery"><label class="card upload" id="upload-card"><input type="file" id="file" accept="video/*" hidden /><span class="upload-plus" aria-hidden="true">+</span><span class="card-title">Upload a video</span><span class="card-meta">MP4 · up to 200 MB</span></label></div><div class="bench"><!-- left: player --><div class="panel player-panel">51 unmodified lines</form></div><!-- results --><div class="panel results"><div class="tabs" role="tablist">11 unmodified lines1213141516171840 unmodified lines59606162636451 unmodified lines11611711811912012112212312412512612712812913011 unmodified lines</nav><div class="nav-right"><span class="tag tag-line">Private preview</span><a class="btn btn-ink btn-sm" href="https://huggingface.co/ambient-intelligence-labs/tempora-1" target="_blank" rel="noopener">Model card ↗</a></div></div></header>40 unmodified linesminute to a few minutes, longer with thinking on and for long videos.</p></div><div class="bench"><!-- left: player --><div class="panel player-panel">51 unmodified lines</form></div><div class="gallery" id="gallery"><label class="card upload" id="upload-card"><input type="file" id="file" accept="video/*" hidden /><span class="upload-plus" aria-hidden="true">+</span><span class="card-title">Upload a video</span><span class="card-meta">MP4 · up to 200 MB</span></label></div><!-- results --><div class="panel results"><div class="tabs" role="tablist">
README.md+1-1
app.py+2-2
run_examples.py+1-1
static/page.html+10-10