How to use from
llama.cpp
Install from brew
brew install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf kingjux/ffmpeg-command-generator-gguf:F16
# Run inference directly in the terminal:
llama-cli -hf kingjux/ffmpeg-command-generator-gguf:F16
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf kingjux/ffmpeg-command-generator-gguf:F16
# Run inference directly in the terminal:
llama-cli -hf kingjux/ffmpeg-command-generator-gguf:F16
Use pre-built binary
# Download pre-built binary from:
# https://github.com/ggerganov/llama.cpp/releases
# Start a local OpenAI-compatible server with a web UI:
./llama-server -hf kingjux/ffmpeg-command-generator-gguf:F16
# Run inference directly in the terminal:
./llama-cli -hf kingjux/ffmpeg-command-generator-gguf:F16
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-server llama-cli
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama-server -hf kingjux/ffmpeg-command-generator-gguf:F16
# Run inference directly in the terminal:
./build/bin/llama-cli -hf kingjux/ffmpeg-command-generator-gguf:F16
Use Docker
docker model run hf.co/kingjux/ffmpeg-command-generator-gguf:F16
Quick Links

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

lms import kingjux/ffmpeg-command-generator-gguf

Ollama

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)
Downloads last month
5
GGUF
Model size
0.5B params
Architecture
qwen2
Hardware compatibility
Log In to add your hardware

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for kingjux/ffmpeg-command-generator-gguf

Quantized
(202)
this model