File size: 922 Bytes
bc4e5b1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
---
license: apache-2.0
base_model: Qwen/Qwen2.5-0.5B-Instruct
tags:
- gguf
- ffmpeg
- command-generation
- lm-studio
- ollama
---
# FFMPEG Command Generator (GGUF)
Fine-tuned Qwen2.5-0.5B that generates FFMPEG commands from natural language with chain-of-thought reasoning.
## Quick Start
### LM Studio
```bash
lms import kingjux/ffmpeg-command-generator-gguf
```
### Ollama
```bash
ollama run hf.co/kingjux/ffmpeg-command-generator-gguf
```
## Example
**Input:** "Convert video.mp4 to webm format"
**Output:**
```
<think>
Task: Convert MP4 to WebM
- WebM uses VP9 video + Opus audio
- Use -c:v libvpx-vp9 for video
- Use -c:a libopus for audio
</think>
ffmpeg -i video.mp4 -c:v libvpx-vp9 -c:a libopus output.webm
```
## Training
- Base: Qwen2.5-0.5B-Instruct
- Method: LoRA fine-tuning (r=16, alpha=32)
- Dataset: 30 FFMPEG command examples with CoT reasoning
- Trained on HuggingFace Jobs (T4 GPU)
|