Instructions to use rexarrior/MiniMind2-English-Analytical-Repair-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 rexarrior/MiniMind2-English-Analytical-Repair-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 rexarrior/MiniMind2-English-Analytical-Repair-GGUF # Run inference directly in the terminal: llama cli -hf rexarrior/MiniMind2-English-Analytical-Repair-GGUF
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf rexarrior/MiniMind2-English-Analytical-Repair-GGUF # Run inference directly in the terminal: llama cli -hf rexarrior/MiniMind2-English-Analytical-Repair-GGUF
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 rexarrior/MiniMind2-English-Analytical-Repair-GGUF # Run inference directly in the terminal: ./build/bin/llama cli -hf rexarrior/MiniMind2-English-Analytical-Repair-GGUF
Use Docker
docker model run hf.co/rexarrior/MiniMind2-English-Analytical-Repair-GGUF
- Llama new
- LM Studio
- Jan
- vLLM
How to use rexarrior/MiniMind2-English-Analytical-Repair-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "rexarrior/MiniMind2-English-Analytical-Repair-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": "rexarrior/MiniMind2-English-Analytical-Repair-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/rexarrior/MiniMind2-English-Analytical-Repair-GGUF
- Ollama
How to use rexarrior/MiniMind2-English-Analytical-Repair-GGUF with Ollama:
ollama run hf.co/rexarrior/MiniMind2-English-Analytical-Repair-GGUF
- Unsloth Desktop
- Pi
How to use rexarrior/MiniMind2-English-Analytical-Repair-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf rexarrior/MiniMind2-English-Analytical-Repair-GGUF
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": "rexarrior/MiniMind2-English-Analytical-Repair-GGUF" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use rexarrior/MiniMind2-English-Analytical-Repair-GGUF with Docker Model Runner:
docker model run hf.co/rexarrior/MiniMind2-English-Analytical-Repair-GGUF
- Lemonade
How to use rexarrior/MiniMind2-English-Analytical-Repair-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull rexarrior/MiniMind2-English-Analytical-Repair-GGUF
Run and chat with the model
lemonade run user.MiniMind2-English-Analytical-Repair-GGUF-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use rexarrior/MiniMind2-English-Analytical-Repair-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 rexarrior/MiniMind2-English-Analytical-Repair-GGUF
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 rexarrior/MiniMind2-English-Analytical-Repair-GGUF
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use rexarrior/MiniMind2-English-Analytical-Repair-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf rexarrior/MiniMind2-English-Analytical-Repair-GGUF
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 "rexarrior/MiniMind2-English-Analytical-Repair-GGUF" \ --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"
Analytical weight editing of MiniMind2 Q4
These three standalone GGUF checkpoints document an experiment on English generation in MiniMind2, a model with about 104 million parameters. Each file is 63,656,672 bytes. R3 reduced repetitive output on a development set while sharply worsening story perplexity. R4 reversed that perplexity loss. R5-pilot obtained the lowest story perplexity, with mixed results on grammar and causal choice. Research paper · LaTeX source, methods and evidence
Results
All accuracies are counts of correct answers. TinyStories perplexity is lower for better next-token prediction.
| Checkpoint | TinyStories validation PPL, 21,990 stories | BLiMP, /67,000 | COPA test, /500 | Strict English, /96 | Exact copying, /72 |
|---|---|---|---|---|---|
| Upstream Q4, tokenizer aligned | 24.524 | 39,658 | 252 | 0 | 0 |
| R3 | 214.478 | 36,571 | 253 | 7 | 47 |
| R4 | 17.615 | 40,210 | 253 | 9 | 48 |
| R5-pilot | 11.981 | 39,900 | 251 | 12 | 52 |
Candidate selection used the strict English and copying prompts, public benchmark subsets, and findings from earlier full evaluations. TinyStories training text supplied calibration data. The TinyStories result measures prediction of other stories in the same domain. In a separate check written after the R5 weights were frozen, R4 and R5-pilot answered 4 and 5 of 40 questions with reference answers. R5-pilot gained two answers and lost one. Among all 48 prompts in that check, both produced zero empty responses and zero responses flagged by the repetition detectors. These detectors look for recurring word or character sequences and can miss semantic repetition. Causal reasoning, free-form English fluency and reliable tool use remain open problems.
How the files were produced
The starting file was Jingyao Gong's Q4-MiniMind2.gguf. The author GGUF identifies its pretokenizer as qwen2. Switching the five-byte value to gpt-2 aligned the evaluation prompts with the author's tokenizer while preserving the tensor payload. This corrected file is the baseline in the table. Pinned upstream release
- R3 built on earlier lexical, normalization and response-termination edits. It changed the output projection of the final MLP (
blk.15.ffn_down.weight) relative to R2. Logit-margin constraints on frozen activations targeted looping, word extraction and exact copying. Several reference answers and copy examples supplied targets. - R4 used corpus statistics from 400 TinyStories training stories and lexical preferences from a frozen sentence encoder. The final MLP was adjusted while protecting selected response trajectories. Sentence encoder
- R5-pilot started from the released R4. It combined short-sequence frequencies and next-token predictions from a frozen teacher across different tokenizers, then added a calibration for causal connectives, changed attention input scales in eight blocks and imposed margin constraints for protected responses. Nine tensors differ from R4. Frozen TinyStories-33M teacher
The edits used data, target responses and analytical fitting without a gradient optimizer. Inference uses one GGUF and has no external teacher dependency.
Download and run
Choose one checkpoint from the table. For example, the following commands download R5-pilot and start a short greedy chat in llama.cpp.
hf download rexarrior/MiniMind2-English-Analytical-Repair-GGUF MiniMind2-Q4-English-R5-pilot.gguf --local-dir .
llama-completion -m MiniMind2-Q4-English-R5-pilot.gguf -cnv \
-sys 'You are a helpful assistant' -p 'Repeat exactly: crystal morning' \
-n 24 --temp 0 --repeat-penalty 1
This example uses the embedded chat template. The internal scores above use the study's prompt template and a 96-token generation cap. The paper describes both templates.
Provenance and checksums
Jingyao Gong and the MiniMind contributors created the original model. Rexarrior published the modified checkpoints for this research. The upstream model repository specifies Apache License 2.0. Upstream model card · License · SHA-256 checksums for the three downloads
| Starting artifact | SHA-256 |
|---|---|
| Upstream Q4 | e0e4592d6015327dbf1a71b8572284becd59e03344a3a4bc1365932ad7efa22e |
| Tokenizer-aligned Q4 baseline | 5c504e6e2ecb8fd0bc425580951f0069cceabd01e794465bb26dc7ee57234cd8 |
- Downloads last month
- 155
We're not able to determine the quantization variants.
Model tree for rexarrior/MiniMind2-English-Analytical-Repair-GGUF
Base model
jingyaogong/MiniMind2-gguf