Instructions to use shoumenchougou/RWKV7-G1m-7.2B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- RWKV
How to use shoumenchougou/RWKV7-G1m-7.2B-GGUF with RWKV:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use shoumenchougou/RWKV7-G1m-7.2B-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 shoumenchougou/RWKV7-G1m-7.2B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf shoumenchougou/RWKV7-G1m-7.2B-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 shoumenchougou/RWKV7-G1m-7.2B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf shoumenchougou/RWKV7-G1m-7.2B-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 shoumenchougou/RWKV7-G1m-7.2B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf shoumenchougou/RWKV7-G1m-7.2B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/shoumenchougou/RWKV7-G1m-7.2B-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use shoumenchougou/RWKV7-G1m-7.2B-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "shoumenchougou/RWKV7-G1m-7.2B-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": "shoumenchougou/RWKV7-G1m-7.2B-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/shoumenchougou/RWKV7-G1m-7.2B-GGUF:Q4_K_M
- Ollama
How to use shoumenchougou/RWKV7-G1m-7.2B-GGUF with Ollama:
ollama run hf.co/shoumenchougou/RWKV7-G1m-7.2B-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use shoumenchougou/RWKV7-G1m-7.2B-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf shoumenchougou/RWKV7-G1m-7.2B-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": "shoumenchougou/RWKV7-G1m-7.2B-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use shoumenchougou/RWKV7-G1m-7.2B-GGUF with Docker Model Runner:
docker model run hf.co/shoumenchougou/RWKV7-G1m-7.2B-GGUF:Q4_K_M
- Lemonade
How to use shoumenchougou/RWKV7-G1m-7.2B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull shoumenchougou/RWKV7-G1m-7.2B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.RWKV7-G1m-7.2B-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use shoumenchougou/RWKV7-G1m-7.2B-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 shoumenchougou/RWKV7-G1m-7.2B-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 shoumenchougou/RWKV7-G1m-7.2B-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use shoumenchougou/RWKV7-G1m-7.2B-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf shoumenchougou/RWKV7-G1m-7.2B-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 "shoumenchougou/RWKV7-G1m-7.2B-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"
This repository provides the RWKV-7 G1m 7.2B base model in GGUF format for local text generation. Start with Q4_K_M, the formal Ollama default for this model size, or choose another file to balance storage, runtime memory, and weight precision.
This is a base language model, not a safety-aligned instruction-tuned assistant. The prompt formats below provide a conversational interface, but the model may not follow instructions consistently.
About RWKV-7
RWKV-7, also called Goose, is an attention-free recurrent language model. It keeps a constant-size recurrent state instead of an attention KV cache that grows with the preceding sequence. This gives RWKV constant recurrent-state size and constant inference work per generated token, while training remains parallelizable.
The fixed-state property describes the architecture's sequence state. Total memory use still depends on the selected weights, runtime, context configuration, batch size, and hardware backend.
G1m identifies this checkpoint revision. The original checkpoint is available from BlinkDL/rwkv7-g1. That immutable source file is 14,400,007,869 bytes with SHA-256 a826471d95073fdc3c57a158fa39c6b0e2edd39922ecf76b63e1f576442e0f3c.
Choose a file
| File | Size | When to choose it |
|---|---|---|
rwkv7-g1m-7.2b-Q4_K_M.gguf |
4.27 GiB |
Recommended starting point and the formal Ollama default for this model size. |
rwkv7-g1m-7.2b-Q5_K_M.gguf |
5.02 GiB |
A middle option between Q4 and Q6. |
rwkv7-g1m-7.2b-Q6_K.gguf |
5.81 GiB |
A larger quantized option when weight precision matters more than size. |
rwkv7-g1m-7.2b-Q8_0.gguf |
7.39 GiB |
Largest quantized option in this repository. |
rwkv7-g1m-7.2b-20261130-ctx65536-FP16.gguf |
13.48 GiB |
Mostly-F16 weights; use when model size is less important. |
Smaller quantizations generally reduce storage and runtime memory at the cost of some output quality. File size is not a guarantee of total RAM or VRAM use.
File integrity
| File | Bytes | SHA-256 |
|---|---|---|
rwkv7-g1m-7.2b-Q4_K_M.gguf |
4,579,576,128 |
c794450f6d1889786da392c1a139133244063c6e76b7ce5832572c78d071a3f7 |
rwkv7-g1m-7.2b-Q5_K_M.gguf |
5,384,882,496 |
10f66fc3cb1629c2bb82ee93abb6398c0493e9e86a4fccb1b0b430b26df92b77 |
rwkv7-g1m-7.2b-Q6_K.gguf |
6,240,520,512 |
44ebfb0af5abf8f4539b7b7984836eec4d80a7506ff2b9d17652150589942241 |
rwkv7-g1m-7.2b-Q8_0.gguf |
7,930,825,024 |
fbefc93d1052eaededf0620fbc3bcf765d24cdeb319ba1eeca88ce127c6d1ef3 |
rwkv7-g1m-7.2b-20261130-ctx65536-FP16.gguf |
14,473,939,264 |
35d04a8941784b728dc7ccace6d714801439f957bf403d7a28b562e846d06bd9 |
Verify a downloaded file with sha256sum <filename> on Linux or Get-FileHash <filename> -Algorithm SHA256 in PowerShell.
Run with Ollama
Install Ollama 0.33.2 or later with RWKV-7 support. The formal 7.2B setup uses the Q4_K_M file and the included Modelfile.ollama.
1. Download the model
With the Hugging Face hf CLI:
hf download shoumenchougou/RWKV7-G1m-7.2B-GGUF rwkv7-g1m-7.2b-Q4_K_M.gguf Modelfile.ollama --local-dir rwkv7-g1m-7.2b
cd rwkv7-g1m-7.2b
You can instead download both files from the repository's file browser and place them in the same directory.
2. Create and run the Ollama model
ollama create rwkv7-g1m:7.2b -f Modelfile.ollama
ollama run rwkv7-g1m:7.2b
The setup is complete when ollama create reports success and ollama run returns generated text. Import and generation must be checked on the actual G1m artifacts in both thinking modes before publication.
The included Modelfile selects Q4_K_M and includes the explicit Go Bot template.
Download and use the generated Modelfile.ollama; the abbreviated settings below
are not a substitute for its TEMPLATE block:
FROM ./rwkv7-g1m-7.2b-Q4_K_M.gguf
REQUIRES 0.33.2
LICENSE """
Apache License 2.0
https://www.apache.org/licenses/LICENSE-2.0
"""
PARAMETER num_ctx 65536
PARAMETER temperature 0.96
PARAMETER top_k -1
PARAMETER top_p 0.9
PARAMETER frequency_penalty 0.09
PARAMETER presence_penalty 1.0
PARAMETER repeat_penalty 1
PARAMETER stop """✿"""
PARAMETER stop """
User:"""
PARAMETER stop """
### User"""
GGUF embeds the exact NAS G1m Jinja in tokenizer.chat_template. Ollama uses an
explicit Go TEMPLATE for ordinary Bot conversations, avoiding old-template
fallback. Its .Think flag opens <think> when true and emits <think></think>
when false. These complete tags intentionally differ from the NAS Jinja's partial
prefixes so Ollama can separate thinking from answer content. The embedded
NAS Jinja itself is unchanged.
The Go template does not support tools. It preserves message whitespace; callers needing matching message bodies must normalize CRLF/CR, trim line-end spaces/tabs, remove user blank lines, and trim trailing blank lines before submission. Stop strings are taken from NAS generation defaults; double newline is not a Bot stop.
See Ollama's official guides for importing a GGUF model and the complete Modelfile reference.
Run with llama.cpp
Use a recent llama.cpp build that recognizes the rwkv7 architecture. From the directory containing the GGUF file, run:
llama-cli -m rwkv7-g1m-7.2b-Q4_K_M.gguf -c 65536 -n 256 -cnv
The release validator checks structure, source-derived counts, and embedded-template identity. Actual artifact and runtime validation results must be recorded separately.
Prompt format
Runtimes that honor the embedded chat template apply the format automatically. After conversion, template inspection must confirm the standard and thinking-mode prefixes before publication.
For raw completion interfaces using NAS formatting, use these partial generation prefixes. The Ollama Go adapter deliberately completes the final tag for its parser.
Standard response:
User✿Explain why recurrent models can use constant state.✿
Bot✿<think></think
Thinking response:
User✿Solve the problem step by step.✿
Bot✿<think
Use EOS token ID 0 and the NAS stop strings ✿, \nUser:, and \n### User.
Jinja supports fake_cot_mode (not the old thinking argument), alternate
rwkv_prompt_template='assistant', and function calling; Go only supports Bot chat.
Context length
Use 65,536 tokens as the release context setting. Both GGUF architecture metadata and the supplied Modelfile declare 65,536; this is not a claim of quality or tested behavior at arbitrary longer contexts.
If your runtime cannot allocate the requested context, lower the context value. This reduces the amount of preceding text available to the model.
Model details
| Field | Value |
|---|---|
| Architecture | RWKV-7 “Goose” |
| Checkpoint revision | G1m, released 2026-11-30 |
| Model type | Base causal language model |
| Original checkpoint tensors | 1,062, all BF16 |
| Original checkpoint parameters | 7,199,932,416 |
| Expected GGUF tensor elements | 7,200,194,560 |
| Layers | 32 |
| Hidden size | 4,096 |
| FFN size | 16,384 |
| Heads / head size | 64 / 64 |
| Vocabulary size | 65,536 |
| Release context | 65,536 tokens |
| Expected format after conversion | GGUF v3; 902 tensors |
| License | Apache License 2.0 |
The effective head count is 64 (4,096 / 64). GGUF inspectors may also show rwkv7.attention.head_count = 0; llama.cpp reserves that field but does not use it for RWKV-7.
Compatibility and troubleshooting
| Symptom | What to do |
|---|---|
The runtime reports an unknown rwkv7 architecture |
Update to a recent Ollama or llama.cpp build with RWKV-7 support. |
| Ollama cannot find the GGUF file | Keep Modelfile.ollama and the Q4_K_M file in the same directory, or change FROM to the correct path. |
| A valid GGUF cannot be opened from a Windows path | Move the files to a short ASCII-only path such as C:\models\rwkv7 and try again. |
| The model does not follow the requested instruction | Confirm that the embedded template is active, or use the raw prompt format above. Remember that this is a base model. |
| The model does not fit in memory | Use Q4_K_M, close other memory-heavy applications, or reduce the configured context length. |
Runtime support changes over time. Before publication, validate all five files
and inspect Ollama /api/show, prompt rendering, and real generation for the
selected quantization. Toolchain preflight does not establish runtime success.
Limitations
- Quantization can change model outputs, and the effect varies by task.
- This release does not claim systematic benchmark parity between quantizations.
- The model may produce inaccurate, biased, unsafe, or otherwise undesirable text.
- The model is not a substitute for qualified professional judgment in high-stakes settings.
- The presence of chat and thinking prompts does not make the base model reliably instruction-following or safety-aligned.
License
The model is distributed under the Apache License 2.0. Review the source repository and license terms before redistribution or deployment.
Links
Citation
@misc{peng2025250314456,
title = {RWKV-7 "Goose" with Expressive Dynamic State Evolution},
author = {Bo Peng and Ruichong Zhang and Daniel Goldstein and Eric Alcaide and Xingjian Du and Haowen Hou and Jiaju Lin and Jiaxing Liu and Janna Lu and William Merrill and Guangyu Song and Kaifeng Tan and Saiteja Utpala and Nathan Wilce and Johan S. Wind and Tianyi Wu and Daniel Wuttke and Christian Zhou-Zheng},
year = {2025},
eprint = {2503.14456v2},
archivePrefix = {arXiv},
primaryClass = {cs.CL},
url = {https://arxiv.org/abs/2503.14456v2},
}
- Downloads last month
- 1,456
Model tree for shoumenchougou/RWKV7-G1m-7.2B-GGUF
Base model
BlinkDL/rwkv7-g1