Run this model with HF Jobs
Run XiangpengYang/VideoCoF on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/XiangpengYang/VideoCoF. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/XiangpengYang/VideoCoF on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use XiangpengYang/VideoCoF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use XiangpengYang/VideoCoF with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("XiangpengYang/VideoCoF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit Β·
509dc63
1
Parent(s): ea4ac22
update readme and add motivation gif with LFS
Browse filesFiles changed (3)
- .gitattributes+1
- README.md+18-13
- assets/motivation_v2.gifAdded
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines3334353632 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textassets/motivation_v2.gif filter=lfs diff=lfs merge=lfs -text
1234567891011121310 unmodified lines2425262728293031323334353614 unmodified lines51525354555657585960616263646566674 unmodified lines727374757677787980818283---license: apache-2.0tags:- video-editing- computer-vision- video-generation- in-context-learning- pytorchpipeline_tag: video-to-videolibrary_name: genericauthors:- XiangpengYang- horizonwind200410 unmodified lines</h4><h4 style="margin: 15px 0; color: #2c3e50;">π SOTA performance on VideoCoF-Bench with just 50k training pairs!</h4><a href="https://arxiv.org/abs/2400.00000"><img src="https://img.shields.io/badge/Paper-PDF-red" alt="Paper"></a><a href="https://arxiv.org/abs/2400.00000"><img src="https://img.shields.io/badge/arXiv-2400.00000-b31b1b.svg" alt="arXiv"></a><a href="https://videocof.github.io"><img src="https://img.shields.io/badge/Project-Page-green" alt="Project Page"></a><a href="https://github.com/videocof/VideoCoF"><img src="https://img.shields.io/badge/GitHub-Repo-blue?logo=github" alt="GitHub"></a></div>14 unmodified lines# VideoCoF: Unified Video Editing with Temporal Reasoner**VideoCoF** is a unified video editing model that bridges the gap between expert models (precise but restricted) and unified in-context models (flexible but spatially inaccurate). By introducing a **"See → Reason → Edit"** paradigm, VideoCoF predicts reasoning tokens before generating target video tokens, ensuring edits are applied accurately to intended targets.<div align="center"><video autoplay muted loop playsinline controls width="100%"><source src="https://github.com/user-attachments/assets/0e3eafae-3a62-4cd8-bf4a-37d9b280d05d" type="video/mp4"></video></div>## π Key Capabilities1. **Unified Reasoning**: Adopts a unique approach where the model first identifies *where* and *how* to edit (Reasoning) before performing the edit.2. **Data Efficiency**: Achieves SOTA performance with only **50k training pairs** (33 frames each).3. **Length Extrapolation**: Demonstrates robust multi-shot editing and can generalize to videos **4× longer** than training samples.4. **Versatile Editing**: Supports:4 unmodified lines## π§ Quick StartTo use these weights, please refer to the official [GitHub Repository](https://github.com/videocof/VideoCoF) for inference code and environment setup.### Installation```bashgit clone [https://github.com/videocof/VideoCoF.git](https://github.com/videocof/VideoCoF.git)cd VideoCoF# Create environment12345678910111210 unmodified lines23242526272829303132333414 unmodified lines4950515253545556575859606162636465666768697071724 unmodified lines777879808182838485868788---license: apache-2.0tags:- video-generation- video-editing- in-context-learning- pytorchpipeline_tag: video-to-videolibrary_name: transformersauthors:- XiangpengYang- horizonwind200410 unmodified lines</h4><h4 style="margin: 15px 0; color: #2c3e50;">π A Chain of Frames editing method enbale temporal reasoning and 4x video length generalization with just 50k training pairs!</h4><a href="https://arxiv.org/abs/2400.00000"><img src="https://img.shields.io/badge/arXiv-2400.00000-b31b1b.svg" alt="arXiv"></a><a href="https://videocof.github.io"><img src="https://img.shields.io/badge/Project-Page-green" alt="Project Page"></a><a href="https://github.com/knightyxp/VideoCoF"><img src="https://img.shields.io/badge/GitHub-Repo-blue?logo=github" alt="GitHub"></a></div>14 unmodified lines# VideoCoF: Unified Video Editing with Temporal Reasoner**VideoCoF** is a unified video editing model that bridges the gap between expert models (precise but restricted) and unified in-context models (flexible but spatially inaccurate). By introducing a **"See → Reason → Edit"**, a Chain-of-Frames paradigm, VideoCoF predicts reasoning tokens before generating the target video tokens, thereby removing the need for user-provided masks while achieving precise instruction to-region alignment.<div align="center"><a href="https://www.youtube.com/watch?v=3iNUH1Dq9-0" target="_blank"><img src="https://img.youtube.com/vi/3iNUH1Dq9-0/maxresdefault.jpg"alt="Video Demo"width="80%"style="max-width:900px; border-radius:10px; box-shadow:0 0 10px rgba(0,0,0,0.15);"></a><br><em>Click the image above to watch the full video on YouTube π¬</em></div>## π Key Capabilities1. **Temporal Reasoning**: Adopts a unique approach where the model first identifies *where* and *how* to edit (Reasoning) before predicting the target video tokens.2. **Data Efficiency**: Achieves SOTA performance with only **50k training pairs** (33 frames each).3. **Length Extrapolation**: Demonstrates robust multi-shot editing and can generalize to videos **4× longer** than training samples.4. **Versatile Editing**: Supports:4 unmodified lines## π§ Quick StartTo use these weights, please refer to the official [GitHub Repository](https://github.com/knightyxp/VideoCoF) for inference code and environment setup.### Installation```bashgit clone [https://github.com/knightyxp/VideoCoF](https://github.com/knightyxp/VideoCoF)cd VideoCoF# Create environment
.gitattributes+1
README.md+18-13
assets/motivation_v2.gifAdded

Large File Pointer Details
- SHA256: 2660dfc2cd2ab6a581704d5c6a4b1be937cdd416b4e8680c8969feb537992133
- Pointer size: 133 Bytes
- Size of remote file: 67.5 MB