Instructions to use tinyopsec/cogrpo-n3-ring-qwen25-3b-x-llama32-3b-x-phi4mini-math345-groupB-llama32-end-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 tinyopsec/cogrpo-n3-ring-qwen25-3b-x-llama32-3b-x-phi4mini-math345-groupB-llama32-end-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 tinyopsec/cogrpo-n3-ring-qwen25-3b-x-llama32-3b-x-phi4mini-math345-groupB-llama32-end-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf tinyopsec/cogrpo-n3-ring-qwen25-3b-x-llama32-3b-x-phi4mini-math345-groupB-llama32-end-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf tinyopsec/cogrpo-n3-ring-qwen25-3b-x-llama32-3b-x-phi4mini-math345-groupB-llama32-end-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf tinyopsec/cogrpo-n3-ring-qwen25-3b-x-llama32-3b-x-phi4mini-math345-groupB-llama32-end-GGUF:Q4_K_M
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 tinyopsec/cogrpo-n3-ring-qwen25-3b-x-llama32-3b-x-phi4mini-math345-groupB-llama32-end-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf tinyopsec/cogrpo-n3-ring-qwen25-3b-x-llama32-3b-x-phi4mini-math345-groupB-llama32-end-GGUF:Q4_K_M
Use Docker
docker model run hf.co/tinyopsec/cogrpo-n3-ring-qwen25-3b-x-llama32-3b-x-phi4mini-math345-groupB-llama32-end-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use tinyopsec/cogrpo-n3-ring-qwen25-3b-x-llama32-3b-x-phi4mini-math345-groupB-llama32-end-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tinyopsec/cogrpo-n3-ring-qwen25-3b-x-llama32-3b-x-phi4mini-math345-groupB-llama32-end-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": "tinyopsec/cogrpo-n3-ring-qwen25-3b-x-llama32-3b-x-phi4mini-math345-groupB-llama32-end-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/tinyopsec/cogrpo-n3-ring-qwen25-3b-x-llama32-3b-x-phi4mini-math345-groupB-llama32-end-GGUF:Q4_K_M
- Ollama
How to use tinyopsec/cogrpo-n3-ring-qwen25-3b-x-llama32-3b-x-phi4mini-math345-groupB-llama32-end-GGUF with Ollama:
ollama run hf.co/tinyopsec/cogrpo-n3-ring-qwen25-3b-x-llama32-3b-x-phi4mini-math345-groupB-llama32-end-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use tinyopsec/cogrpo-n3-ring-qwen25-3b-x-llama32-3b-x-phi4mini-math345-groupB-llama32-end-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf tinyopsec/cogrpo-n3-ring-qwen25-3b-x-llama32-3b-x-phi4mini-math345-groupB-llama32-end-GGUF:Q4_K_M
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:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "tinyopsec/cogrpo-n3-ring-qwen25-3b-x-llama32-3b-x-phi4mini-math345-groupB-llama32-end-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use tinyopsec/cogrpo-n3-ring-qwen25-3b-x-llama32-3b-x-phi4mini-math345-groupB-llama32-end-GGUF with Docker Model Runner:
docker model run hf.co/tinyopsec/cogrpo-n3-ring-qwen25-3b-x-llama32-3b-x-phi4mini-math345-groupB-llama32-end-GGUF:Q4_K_M
- Lemonade
How to use tinyopsec/cogrpo-n3-ring-qwen25-3b-x-llama32-3b-x-phi4mini-math345-groupB-llama32-end-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tinyopsec/cogrpo-n3-ring-qwen25-3b-x-llama32-3b-x-phi4mini-math345-groupB-llama32-end-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.cogrpo-n3-ring-qwen25-3b-x-llama32-3b-x-phi4mini-math345-groupB-llama32-end-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use tinyopsec/cogrpo-n3-ring-qwen25-3b-x-llama32-3b-x-phi4mini-math345-groupB-llama32-end-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 tinyopsec/cogrpo-n3-ring-qwen25-3b-x-llama32-3b-x-phi4mini-math345-groupB-llama32-end-GGUF:Q4_K_M
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:9931/v1 hermes config set model.default tinyopsec/cogrpo-n3-ring-qwen25-3b-x-llama32-3b-x-phi4mini-math345-groupB-llama32-end-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use tinyopsec/cogrpo-n3-ring-qwen25-3b-x-llama32-3b-x-phi4mini-math345-groupB-llama32-end-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf tinyopsec/cogrpo-n3-ring-qwen25-3b-x-llama32-3b-x-phi4mini-math345-groupB-llama32-end-GGUF:Q4_K_M
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:9931/v1 \ --custom-model-id "tinyopsec/cogrpo-n3-ring-qwen25-3b-x-llama32-3b-x-phi4mini-math345-groupB-llama32-end-GGUF:Q4_K_M" \ --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"
cogrpo-n3-ring-qwen25-3b-x-llama32-3b-x-phi4mini-math345-groupB-llama32-end Β· GGUF
GGUF quantizations of logan7000/cogrpo-n3-ring-qwen25-3b-x-llama32-3b-x-phi4mini-math345-groupB-llama32-end.
Quantized by tinyopsec using llama.cpp.
Model Overview
This is a 3.2B parameter language model fine-tuned from meta-llama/Llama-3.2-3B-Instruct using the GRPO (Group Relative Policy Optimization) method introduced in the DeepSeekMath paper.
It is part of the CogRPO N3 Ring experiment by logan7000, which explores heterogeneous model merging and multi-group reinforcement learning for mathematical reasoning. The groupB-llama32-end variant represents the Llama-3.2-3B branch of the ring fine-tuning pipeline, trained on q1716523669/MATH-Level345.
Architecture: LlamaForCausalLM
Context length: 32,768 tokens
Training data: MATH Level 3β4β5 competition problems
Quantization Table
| File | Bits | Approx. Size | Use Case |
|---|---|---|---|
model_f16.gguf |
16 | 6.4 GB | Full precision, reference |
model_q8_0.gguf |
8 | 3.4 GB | Best quality, needs more RAM |
model_q6_k.gguf |
6 | 2.6 GB | Near-lossless, recommended |
model_q5_k_m.gguf |
5 | 2.3 GB | Balanced quality/size |
model_q5_k_s.gguf |
5 | 2.1 GB | Slightly smaller Q5 |
model_q4_k_m.gguf |
4 | 2.0 GB | Recommended default |
model_q4_k_s.gguf |
4 | 1.9 GB | Smaller Q4, minor quality loss |
model_q3_k_l.gguf |
3 | 1.7 GB | Low RAM, acceptable quality |
model_q3_k_m.gguf |
3 | 1.6 GB | Lower RAM |
model_q3_k_s.gguf |
3 | 1.4 GB | Minimum viable quality |
model_q2_k.gguf |
2 | 1.2 GB | Extreme compression, lowest quality |
VRAM / RAM Requirements
| Quant | Min RAM | Recommended |
|---|---|---|
| F16 | 8 GB | 10 GB |
| Q8_0 | 5 GB | 6 GB |
| Q6_K | 4 GB | 5 GB |
| Q5_K_M | 4 GB | 5 GB |
| Q4_K_M | 3 GB | 4 GB |
| Q3_K_M | 3 GB | 4 GB |
| Q2_K | 2 GB | 3 GB |
All quants run on CPU-only. GPU is optional.
Usage
llama.cpp (CLI)
./llama-cli \
-m model_q4_k_m.gguf \
-p "Solve: If x^2 + 5x + 6 = 0, find x." \
-n 512 \
--temp 0.6 \
--top-p 0.95 \
--min-p 0.0
llama.cpp (Server)
./llama-server \
-m model_q4_k_m.gguf \
--port 8080 \
--ctx-size 8192
llama-cpp-python
from llama_cpp import Llama
llm = Llama.from_pretrained(
repo_id="tinyopsec/cogrpo-n3-ring-qwen25-3b-x-llama32-3b-x-phi4mini-math345-groupB-llama32-end-GGUF",
filename="model_q4_k_m.gguf",
)
output = llm.create_chat_completion(
messages=[{"role": "user", "content": "Solve: x^2 - 7x + 12 = 0"}],
temperature=0.6,
top_p=0.95,
min_p=0.0,
max_tokens=512,
)
print(output["choices"][0]["message"]["content"])
LM Studio
- Open LM Studio β Search
- Search:
tinyopsec/cogrpo-n3-ring-qwen25-3b-x-llama32-3b-x-phi4mini-math345-groupB-llama32-end-GGUF - Download
model_q4_k_m.gguf - Load and chat
Ollama
ollama run hf.co/tinyopsec/cogrpo-n3-ring-qwen25-3b-x-llama32-3b-x-phi4mini-math345-groupB-llama32-end-GGUF:Q4_K_M
Recommended Sampling Parameters
This model benefits from low min_p (set to 0.0) to avoid repetition loops, consistent with the base Llama-3.2 family:
| Parameter | Value |
|---|---|
| temperature | 0.6 |
| top_p | 0.95 |
| min_p | 0.0 |
| repeat_penalty | 1.0 |
Original Model
- Original: logan7000/cogrpo-n3-ring-qwen25-3b-x-llama32-3b-x-phi4mini-math345-groupB-llama32-end
- Base model: meta-llama/Llama-3.2-3B-Instruct
- Author: logan7000
- Method: GRPO Β· DeepSeekMath paper
- Training framework: TRL
- Downloads last month
- 1,749
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit
16-bit
Model tree for tinyopsec/cogrpo-n3-ring-qwen25-3b-x-llama32-3b-x-phi4mini-math345-groupB-llama32-end-GGUF
Base model
meta-llama/Llama-3.2-3B-Instruct