YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

πŸ”¬ SMOLSCOPE β€” Tiny Vision Lab

A creative demo project for SmolVLM2-256M-Video-Instruct running on a Google Colab T4 GPU. Uses only the Q4_K_M quantized model + Q8_0 mmproj projector.

Files

  • smolscope.ipynb β€” guided Colab notebook: GPU check β†’ install llama.cpp β†’ download 2 GGUFs β†’ serve on :8000 β†’ verify API β†’ launch UI + tunnel.
  • app.py β€” the Gradio app (SMOLSCOPE). Dark instrument-panel aesthetic, six capability modes, live telemetry.

Six capabilities

Mode What it does
πŸ–Ό Describe Caption, detailed description, object listing
🎞 Video Samples frames with OpenCV, reasons across them
πŸ”€ Read Faithful OCR of screenshots, charts, receipts
🧩 Compare 2–4 images in one message, enumerate differences
{ } Extract JSON-only output into named fields
⏱ Speedrun One-sentence caption with measured latency + tok/s
🎬 Timeline Timestamped video analysis: entrances, camera moves, background, transitions, plus yt-dlp captions β†’ a reverse video prompt

Quick start

  1. Open smolscope.ipynb in Colab, set T4 GPU.
  2. Run all cells. The last cell prints the public SMOLSCOPE URL.
  3. Or run locally against an already-serving endpoint: SMOLSCOPE_ENDPOINT=http://127.0.0.1:8000/v1/chat/completions python app.py.

Notes

  • Colab's proxy owns port 8080, so the API runs on 8000.
  • Gradio's own share=True is unreliable in Colab; the notebook uses a Cloudflare quick tunnel.
  • Telemetry (latency / tokens / tok/s) comes from response.usage at runtime β€” no hardcoded speed claims.
  • timeline.py is the timestamp engine: samples frames at real times, parses yt-dlp VTT captions (strips rolling repeats), analyzes frames in context-safe windows, and merges visuals + speech into a timeline and reverse prompt. The tiny model describes what it sees; exact event timing is approximated by the sampled frame times.
  • The model is tiny and fast but not magic; OCR and reasoning quality are proportional to its size.

Dedicated reverse-prompt app (new, focused UI)

  • reverse_app.py β€” single-purpose UI: VIDEO URL / FILE β†’ FETCH β†’ GENERATE REVERSE PROMPT. Only the prompt is shown as output; everything else is hidden.
  • reverse_prompt.ipynb β€” dedicated Colab notebook that installs the runtime, downloads the two GGUFs, writes both modules, serves the model and launches the app + tunnel.
  • Run locally against the served endpoint: SMOLSCOPE_ENDPOINT=http://127.0.0.1:8000/v1/chat/completions python reverse_app.py.
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support