Views
No views yet
project -> ffmpeg
compiler then executes. It is designed to run locally, on CPU, so the editor
needs no cloud service and no user video ever leaves the machine.1INPUT
2clips: c1=intro.mp4(0.0-8.0) | remove the first 3 seconds of the clip =>
3
4OUTPUT
5[{"op":"trim","clip":"c1","in":3.0,"out":8.0}]trim, split, import, append, delete,
reorder, export.| Architecture | SparseMind (decoder-only, sparse) |
| Parameters | 8,132,608 (~8.1M) |
| Hidden size / layers | 256 / 6 |
| Context length | 256 tokens |
| Tokenizer | GearCut dedicated SentencePiece-BPE, vocab 682 |
| Precision | fp32 |
| Metric | Score |
|---|---|
| Valid JSON | 100.0% |
| Exact match (operations == reference) | 88.8% |
| Best exact match during training | 87.5% |
(timeline + instruction -> operations)
examples for 3000 steps. The generator covers the v1 operation set with
varied phrasings, clip references, file names, timestamps, and presets.1# Download gc_editor.pt + the GearCut tokenizer from this repo, then rebuild the
2# SparseMind model with the same config stored in the checkpoint and load weights.
3import torch, sentencepiece as spm
4ckpt = torch.load("gc_editor.pt", map_location="cpu")
5cfg = ckpt["config"] # the exact training config
6# model = SparseMind(Config(**cfg)); model.load_state_dict(ckpt["model"]); model.eval()
7sp = spm.SentencePieceProcessor(); sp.Load("gearcut_tok.model")
8prompt = 'clips: c1=intro.mp4(0.0-8.0) | remove the first 3 seconds of the clip =>'
9# ids = sp.EncodeAsIds(prompt) ; generate ; stop at EOS ; json.loads the output1@misc{gearcut_editor,
2 title = {GearCut Editor: an instruction-to-operations model for lightweight video editing},
3 author = {AMEFORGE},
4 year = {2026},
5 note = {Built on the SparseMind architecture}
6}