Instructions to use JazerJu/VideoMiner with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use JazerJu/VideoMiner with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="JazerJu/VideoMiner", filename="fun-asr/Fun-ASR-Nano-Decoder.q5_k.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use JazerJu/VideoMiner with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf JazerJu/VideoMiner:Q8_0 # Run inference directly in the terminal: llama cli -hf JazerJu/VideoMiner:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf JazerJu/VideoMiner:Q8_0 # Run inference directly in the terminal: llama cli -hf JazerJu/VideoMiner:Q8_0
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 JazerJu/VideoMiner:Q8_0 # Run inference directly in the terminal: ./llama-cli -hf JazerJu/VideoMiner:Q8_0
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 JazerJu/VideoMiner:Q8_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf JazerJu/VideoMiner:Q8_0
Use Docker
docker model run hf.co/JazerJu/VideoMiner:Q8_0
- LM Studio
- Jan
- Ollama
How to use JazerJu/VideoMiner with Ollama:
ollama run hf.co/JazerJu/VideoMiner:Q8_0
- Unsloth Studio
How to use JazerJu/VideoMiner with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for JazerJu/VideoMiner to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for JazerJu/VideoMiner to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for JazerJu/VideoMiner to start chatting
- Pi
How to use JazerJu/VideoMiner with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf JazerJu/VideoMiner:Q8_0
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "JazerJu/VideoMiner:Q8_0" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use JazerJu/VideoMiner with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf JazerJu/VideoMiner:Q8_0
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default JazerJu/VideoMiner:Q8_0
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use JazerJu/VideoMiner with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf JazerJu/VideoMiner:Q8_0
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "JazerJu/VideoMiner:Q8_0" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
- Docker Model Runner
How to use JazerJu/VideoMiner with Docker Model Runner:
docker model run hf.co/JazerJu/VideoMiner:Q8_0
- Lemonade
How to use JazerJu/VideoMiner with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull JazerJu/VideoMiner:Q8_0
Run and chat with the model
lemonade run user.VideoMiner-Q8_0
List all available models
lemonade list
| license: apache-2.0 | |
| tags: | |
| - video-understanding | |
| - onnx | |
| - gguf | |
| - minicpm-v | |
| - glm-ocr | |
| - fun-asr | |
| - llama-cpp | |
| # VideoMiner Model Files | |
| Pre-converted model files for the VideoMiner video understanding pipeline. | |
| No PyTorch runtime required β all inference uses ONNX Runtime + llama.cpp. | |
| ## Directory Structure | |
| ``` | |
| VideoMiner/ | |
| βββ minicpmv/ # MiniCPM-V 4.5 Vision Encoder + LLM | |
| β βββ minicpmv_v45_siglip.fp32.onnx # SigLIP ViT (FP32, 1.6 GB) | |
| β βββ minicpmv_v45_resampler_temporal.fp32.onnx # Resampler graph (FP32) | |
| β βββ minicpmv_v45_resampler_temporal.fp32.onnx.data # Resampler weights (340 MB) | |
| β βββ minicpmv_v45_resampler_temporal.fp16.onnx # Resampler graph (FP16, legacy) | |
| β βββ minicpmv_v45_resampler_temporal.fp16.onnx.data # Resampler weights (170 MB, legacy) | |
| β βββ MiniCPM-V-4_5-Q4_K_M.gguf # Qwen3 8B decoder (Q4_K_M, 4.7 GB) | |
| β | |
| βββ glm-ocr/ # GLM-OCR 0.9B (High-accuracy OCR) | |
| β βββ GLM-OCR-Q8_0.gguf # GLM-OCR decoder (Q8_0, 907 MB) | |
| β βββ config.json / tokenizer.json / ... # Tokenizer & config | |
| β βββ onnx/ # Vision encoder ONNX (Q4 quantized) | |
| β | |
| βββ fun-asr/ # FUN-ASR Nano (Speech Recognition) | |
| β βββ Fun-ASR-Nano-Encoder-Adaptor.fp16.onnx # Encoder + adaptor (443 MB) | |
| β βββ Fun-ASR-Nano-CTC.fp16.onnx # CTC head (75 MB) | |
| β βββ Fun-ASR-Nano-Decoder.q5_k.gguf # LLM decoder (Q5_K, 424 MB) | |
| β βββ tokens.txt # Tokenizer vocab | |
| β | |
| βββ embedding/ # Text Embedding | |
| β βββ bge-small-zh-v1.5-onnx/ # BGE-small-zh ONNX (95 MB, no PyTorch required) | |
| β βββ model.onnx # BERT encoder | |
| β βββ tokenizer.json / vocab.txt # Tokenizer | |
| β βββ config.json | |
| β | |
| βββ runtime/ # Pre-built llama.cpp shared libraries (CUDA 12.8) | |
| βββ libllama.so # Core llama.cpp (3.3 MB) | |
| βββ libggml-base.so # GGML base (835 KB) | |
| βββ libggml-cuda.so # CUDA backend (150 MB) | |
| ``` | |
| ## Models | |
| ### MiniCPM-V 4.5 (Vision Encoder + LLM) | |
| - **SigLIP ViT**: 27-layer vision transformer (1152-dim), FP32 ONNX. FP32 is required β 27 layers without vit_merger causes FP16 numerical overflow. | |
| - **Resampler**: Projects SigLIP features (1152-dim) to LLM space (4096-dim) with temporal awareness. **FP32 ONNX is required** β FP16 causes onnxruntime CUDA EP to fall back to CPU for `layer_norm`/`matmul` nodes, resulting in ~5s/clip vs ~50ms/clip. | |
| - **LLM Decoder**: Qwen3 8B dense, GGUF Q4_K_M, served via llama.cpp ctypes. | |
| ### GLM-OCR 0.9B (OCR) | |
| - GLM-4 architecture (17 layers), specialized for high-accuracy OCR. | |
| - Vision encoder: Q4-quantized ONNX. LLM decoder: Q8_0 GGUF. | |
| ### FUN-ASR Nano (Speech Recognition) | |
| - Paraformer-based ASR for Chinese/English speech-to-text. | |
| - Encoder/CTC: FP16 ONNX. Decoder: Q5_K GGUF. | |
| ### BGE-small-zh-v1.5 (Embedding) | |
| - BAAI/bge-small-zh-v1.5 exported as ONNX. No PyTorch/sentence-transformers required. | |
| - Usage: tokenize β ONNX inference β CLS token β L2 normalize. | |
| - Dimension: 512. Cosine similarity vs sentence-transformers: 1.0. | |
| ### Runtime | |
| - Pre-built llama.cpp shared libraries with CUDA 12.8 support (universal architecture). | |
| ## Usage | |
| ```python | |
| # HuggingFace | |
| from huggingface_hub import snapshot_download | |
| model_dir = snapshot_download('JazerJu/VideoMiner') | |
| # ModelScope (China mirror) | |
| from modelscope import snapshot_download | |
| model_dir = snapshot_download('modelmo/VideoMiner') | |
| ``` | |
| ## Requirements | |
| - **GPU**: NVIDIA GPU with β₯12 GB VRAM, CUDA 12.8+ | |
| - **Runtime**: Python 3.10+, ONNX Runtime GPU, llama.cpp (ctypes) | |
| - **No PyTorch required** | |
| ## License | |
| - Model weights: Follow original model licenses (MiniCPM-V, GLM-OCR, FUN-ASR, BGE) | |
| - Runtime libraries: llama.cpp (MIT License) | |
| - This repository: Apache 2.0 | |