File size: 774 Bytes
1c467ac
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
base_model: Qwen/Qwen2.5-0.5B-Instruct
tags: [gguf, ffmpeg, command-generation, chain-of-thought]
---
# FFmpeg Command Generator V2 (GGUF)

GGUF conversion of [kingjux/ffmpeg-command-generator-v2](https://huggingface.co/kingjux/ffmpeg-command-generator-v2).

## Usage with Ollama

```bash
# Download
huggingface-cli download kingjux/ffmpeg-command-generator-v2-gguf ffmpeg-command-generator-v2-q4_k_m.gguf

# Create Modelfile
cat > Modelfile << EOF
FROM ./ffmpeg-command-generator-v2-q4_k_m.gguf
SYSTEM "You are an expert FFmpeg engineer. Think through the solution step-by-step in <think> tags, then output the correct ffmpeg command in a bash code block."
EOF

# Create and run
ollama create ffmpeg -f Modelfile
ollama run ffmpeg "Convert input.mp4 to 720p H.264"
```