Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: Qwen/Qwen2.5-0.5B-Instruct
|
| 3 |
+
tags: [gguf, ffmpeg, command-generation, chain-of-thought]
|
| 4 |
+
---
|
| 5 |
+
# FFmpeg Command Generator V2 (GGUF)
|
| 6 |
+
|
| 7 |
+
GGUF conversion of [kingjux/ffmpeg-command-generator-v2](https://huggingface.co/kingjux/ffmpeg-command-generator-v2).
|
| 8 |
+
|
| 9 |
+
## Usage with Ollama
|
| 10 |
+
|
| 11 |
+
```bash
|
| 12 |
+
# Download
|
| 13 |
+
huggingface-cli download kingjux/ffmpeg-command-generator-v2-gguf ffmpeg-command-generator-v2-q4_k_m.gguf
|
| 14 |
+
|
| 15 |
+
# Create Modelfile
|
| 16 |
+
cat > Modelfile << EOF
|
| 17 |
+
FROM ./ffmpeg-command-generator-v2-q4_k_m.gguf
|
| 18 |
+
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."
|
| 19 |
+
EOF
|
| 20 |
+
|
| 21 |
+
# Create and run
|
| 22 |
+
ollama create ffmpeg -f Modelfile
|
| 23 |
+
ollama run ffmpeg "Convert input.mp4 to 720p H.264"
|
| 24 |
+
```
|