Instructions to use ewin-reg/MiniCPM-V-4.7-1B-Agentic-FwS-FlashREINFORCE-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use ewin-reg/MiniCPM-V-4.7-1B-Agentic-FwS-FlashREINFORCE-GGUF 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 ewin-reg/MiniCPM-V-4.7-1B-Agentic-FwS-FlashREINFORCE-GGUF:Q8_0 # Run inference directly in the terminal: llama cli -hf ewin-reg/MiniCPM-V-4.7-1B-Agentic-FwS-FlashREINFORCE-GGUF:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ewin-reg/MiniCPM-V-4.7-1B-Agentic-FwS-FlashREINFORCE-GGUF:Q8_0 # Run inference directly in the terminal: llama cli -hf ewin-reg/MiniCPM-V-4.7-1B-Agentic-FwS-FlashREINFORCE-GGUF:Q8_0
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf ewin-reg/MiniCPM-V-4.7-1B-Agentic-FwS-FlashREINFORCE-GGUF:Q8_0 # Run inference directly in the terminal: ./build/bin/llama cli -hf ewin-reg/MiniCPM-V-4.7-1B-Agentic-FwS-FlashREINFORCE-GGUF:Q8_0
Use Docker
docker model run hf.co/ewin-reg/MiniCPM-V-4.7-1B-Agentic-FwS-FlashREINFORCE-GGUF:Q8_0
- Llama new
- LM Studio
- Jan
- vLLM
How to use ewin-reg/MiniCPM-V-4.7-1B-Agentic-FwS-FlashREINFORCE-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ewin-reg/MiniCPM-V-4.7-1B-Agentic-FwS-FlashREINFORCE-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ewin-reg/MiniCPM-V-4.7-1B-Agentic-FwS-FlashREINFORCE-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/ewin-reg/MiniCPM-V-4.7-1B-Agentic-FwS-FlashREINFORCE-GGUF:Q8_0
- Ollama
How to use ewin-reg/MiniCPM-V-4.7-1B-Agentic-FwS-FlashREINFORCE-GGUF with Ollama:
ollama run hf.co/ewin-reg/MiniCPM-V-4.7-1B-Agentic-FwS-FlashREINFORCE-GGUF:Q8_0
- Unsloth Desktop
- Pi
How to use ewin-reg/MiniCPM-V-4.7-1B-Agentic-FwS-FlashREINFORCE-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ewin-reg/MiniCPM-V-4.7-1B-Agentic-FwS-FlashREINFORCE-GGUF:Q8_0
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "ewin-reg/MiniCPM-V-4.7-1B-Agentic-FwS-FlashREINFORCE-GGUF:Q8_0" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use ewin-reg/MiniCPM-V-4.7-1B-Agentic-FwS-FlashREINFORCE-GGUF with Docker Model Runner:
docker model run hf.co/ewin-reg/MiniCPM-V-4.7-1B-Agentic-FwS-FlashREINFORCE-GGUF:Q8_0
- Lemonade
How to use ewin-reg/MiniCPM-V-4.7-1B-Agentic-FwS-FlashREINFORCE-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ewin-reg/MiniCPM-V-4.7-1B-Agentic-FwS-FlashREINFORCE-GGUF:Q8_0
Run and chat with the model
lemonade run user.MiniCPM-V-4.7-1B-Agentic-FwS-FlashREINFORCE-GGUF-Q8_0
List all available models
lemonade list
- Hermes Agent
How to use ewin-reg/MiniCPM-V-4.7-1B-Agentic-FwS-FlashREINFORCE-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ewin-reg/MiniCPM-V-4.7-1B-Agentic-FwS-FlashREINFORCE-GGUF: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 ewin-reg/MiniCPM-V-4.7-1B-Agentic-FwS-FlashREINFORCE-GGUF:Q8_0
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use ewin-reg/MiniCPM-V-4.7-1B-Agentic-FwS-FlashREINFORCE-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ewin-reg/MiniCPM-V-4.7-1B-Agentic-FwS-FlashREINFORCE-GGUF: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 "ewin-reg/MiniCPM-V-4.7-1B-Agentic-FwS-FlashREINFORCE-GGUF: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"
MiniCPM-V-4.7-1B-Agentic-FwS-FlashREINFORCE-GGUF
GGUF files of ewin-reg/MiniCPM-V-4.7-1B-Agentic-FwS-FlashREINFORCE for llama.cpp: a 1B vision-language model fine-tuned to answer with one exact tool call.
In plain words
You give the model a conversation and a list of tools. It thinks briefly, then writes the tool call it wants to make (tool name and arguments). This repo has it in files that llama.cpp loads directly, so it runs without Python or PyTorch.
- Use the Q8_0 file if you want the smaller one (about half the size of f16). Use f16 if you want the unquantized weights.
- Images need the extra
mmprojfile. For text-only tool calling you do not need it. - These are the weights now on
mainof ewin-reg/MiniCPM-V-4.7-1B-Agentic-FwS (v9). They are a statistical tie with the previous v6 (revisionf7c6ea0), not a proven improvement. - On the same 1000 val rows the
mainmodel scores exact 0.414 against 0.334 for Claude Haiku 5.5 run as a subagent (paired difference +0.080, SE 0.0141). That is agreement with Nemotron-style gold answers, which this model trained on, not a general tool-use ranking. The scores are for the fp16 model, not for these GGUF files. - Image understanding was not tested for this fine-tune. The training and all scores are text-only tool calling.
Files
| file | size | what it is |
|---|---|---|
MiniCPM-V-4.7-1B-Agentic-FwS-FlashREINFORCE-f16.gguf |
1930.6 MiB | text model, f16 |
MiniCPM-V-4.7-1B-Agentic-FwS-FlashREINFORCE-Q8_0.gguf |
1031.4 MiB | text model, Q8_0 (made with llama-quantize from the f16 file) |
mmproj-MiniCPM-V-4.7-1B-Agentic-FwS-FlashREINFORCE-f16.gguf |
1057.4 MiB | vision tower and projector, f16 |
mmproj-MiniCPM-V-4.7-1B-Agentic-FwS-FlashREINFORCE-Q8_0.gguf |
694.2 MiB | vision tower and projector, Q8_0 (convert_hf_to_gguf.py --mmproj --outtype q8_0) |
How to use
Needs a llama.cpp build that supports MiniCPMV4_7; these files were made with llama.cpp commit 2280f0f.
Text only (prompt already in the Qwen chat format, ending with <|im_start|>assistant\n<think>\n):
llama-completion -m MiniCPM-V-4.7-1B-Agentic-FwS-FlashREINFORCE-Q8_0.gguf -f prompt.txt -n 768 --temp 0 -c 4096 -no-cnv --no-display-prompt
With an image:
llama-mtmd-cli -m MiniCPM-V-4.7-1B-Agentic-FwS-FlashREINFORCE-Q8_0.gguf --mmproj mmproj-MiniCPM-V-4.7-1B-Agentic-FwS-FlashREINFORCE-Q8_0.gguf --image picture.png -p "Describe this image." -c 4096 -ngl 99
The model first writes a <think> block, then </think>, then a call in this form:
<tool_call>
<function=get_special_tickers>
</function>
</tool_call>
llama.cpp prints [end of text] when the model stops; strip it before parsing the call.
What was checked
Only a small sanity check was run on these GGUF files, on CPU with llama.cpp: greedy decoding on the first 8 rows of the held-out
val set (ar1/val.jsonl in ewin-reg/nemotron-sft-agentic-v4-fws-minicpmv47),
counting rows where the generated call text equals the gold call exactly.
| file | exact on first 8 val rows |
|---|---|
| f16 | 5 / 8 |
| Q8_0 | 3 / 8 |
8 rows is too few to rank the two files or to estimate accuracy; the gap between 5 and 3 is 2 rows and could be noise, or could be a real Q8_0 loss. It was not investigated further. No perplexity, speed or image benchmark was run on these files. The safetensors model scored exact 0.414 on the full 1000-row val set (see its card); the GGUF files were not scored on that set.
About the model
- Base: openbmb/MiniCPM-V-4.7-1B (SigLIP2 vision tower, 24-layer Qwen3.5 hybrid language model with 18 linear-attention and 6 full-attention layers, about 1.55B parameters).
- Training: LoRA SFT on Nemotron-SFT-Agentic-v4 tool-calling turns (v6), then 40 FlashREINFORCE updates of 64 fresh prompts each. Details, results and failure analysis are in the safetensors model card and the main model card.
- Val results (1000 rows, greedy, first tool call), safetensors model: exact 0.414, args 0.440, name 0.831, has_call 1.000. v6: 0.409 / 0.440 / 0.832 / 0.999. Round 1: 0.314 / 0.337 / 0.754 / 0.997.
Limitations
- The score needs the whole call text to match the gold call. About 60% of gold calls that have checkable values contain values that appear nowhere in the prompt (for example API keys), so no model can reach 100%.
- Training used only assistant turns that make tool calls, not turns that answer in plain text.
- Quantization effects were not measured beyond the small check above.
- Licence: apache-2.0, same as the base model.
- Downloads last month
- 444
8-bit
16-bit
Model tree for ewin-reg/MiniCPM-V-4.7-1B-Agentic-FwS-FlashREINFORCE-GGUF
Base model
openbmb/MiniCPM-V-4.7-1B