初始化项目,由ModelHub XC社区提供模型

Model: Mungert/rwkv7-191M-world-GGUF
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-10-20 18:30:18 +08:00
commit a8c773ecab
30 changed files with 440 additions and 0 deletions

72
.gitattributes vendored Normal file
View File

@@ -0,0 +1,72 @@
*.7z filter=lfs diff=lfs merge=lfs -text
*.arrow filter=lfs diff=lfs merge=lfs -text
*.bin filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.ckpt filter=lfs diff=lfs merge=lfs -text
*.ftz filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.h5 filter=lfs diff=lfs merge=lfs -text
*.joblib filter=lfs diff=lfs merge=lfs -text
*.lfs.* filter=lfs diff=lfs merge=lfs -text
*.mlmodel filter=lfs diff=lfs merge=lfs -text
*.model filter=lfs diff=lfs merge=lfs -text
*.msgpack filter=lfs diff=lfs merge=lfs -text
*.npy filter=lfs diff=lfs merge=lfs -text
*.npz filter=lfs diff=lfs merge=lfs -text
*.onnx filter=lfs diff=lfs merge=lfs -text
*.ot filter=lfs diff=lfs merge=lfs -text
*.parquet filter=lfs diff=lfs merge=lfs -text
*.pb filter=lfs diff=lfs merge=lfs -text
*.pickle filter=lfs diff=lfs merge=lfs -text
*.pkl filter=lfs diff=lfs merge=lfs -text
*.pt filter=lfs diff=lfs merge=lfs -text
*.pth filter=lfs diff=lfs merge=lfs -text
*.rar filter=lfs diff=lfs merge=lfs -text
*.safetensors filter=lfs diff=lfs merge=lfs -text
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
*.tar.* filter=lfs diff=lfs merge=lfs -text
*.tar filter=lfs diff=lfs merge=lfs -text
*.tflite filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.wasm filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
*tfevents* filter=lfs diff=lfs merge=lfs -text
rwkv7-191M-world-bf16-q8_0.gguf filter=lfs diff=lfs merge=lfs -text
rwkv7-191M-world-iq3_m.gguf filter=lfs diff=lfs merge=lfs -text
rwkv7-191M-world-q5_0_l.gguf filter=lfs diff=lfs merge=lfs -text
rwkv7-191M-world-f16-q4_k.gguf filter=lfs diff=lfs merge=lfs -text
rwkv7-191M-world-iq4_nl.gguf filter=lfs diff=lfs merge=lfs -text
rwkv7-191M-world-q5_k_s.gguf filter=lfs diff=lfs merge=lfs -text
rwkv7-191M-world-q4_1.gguf filter=lfs diff=lfs merge=lfs -text
rwkv7-191M-world.imatrix filter=lfs diff=lfs merge=lfs -text
rwkv7-191M-world-iq4_xs.gguf filter=lfs diff=lfs merge=lfs -text
rwkv7-191M-world-q4_0.gguf filter=lfs diff=lfs merge=lfs -text
rwkv7-191M-world-f16-q8_0.gguf filter=lfs diff=lfs merge=lfs -text
rwkv7-191M-world-q5_k_m.gguf filter=lfs diff=lfs merge=lfs -text
rwkv7-191M-world-q4_1_l.gguf filter=lfs diff=lfs merge=lfs -text
rwkv7-191M-world-f16.gguf filter=lfs diff=lfs merge=lfs -text
rwkv7-191M-world-q5_0.gguf filter=lfs diff=lfs merge=lfs -text
rwkv7-191M-world-q4_k_l.gguf filter=lfs diff=lfs merge=lfs -text
rwkv7-191M-world-tq2_0.gguf filter=lfs diff=lfs merge=lfs -text
rwkv7-191M-world-q3_k_s.gguf filter=lfs diff=lfs merge=lfs -text
rwkv7-191M-world-bf16-q4_k.gguf filter=lfs diff=lfs merge=lfs -text
rwkv7-191M-world-iq3_xxs.gguf filter=lfs diff=lfs merge=lfs -text
rwkv7-191M-world-q4_k_s.gguf filter=lfs diff=lfs merge=lfs -text
rwkv7-191M-world-q8_0.gguf filter=lfs diff=lfs merge=lfs -text
rwkv7-191M-world-f16-q6_k.gguf filter=lfs diff=lfs merge=lfs -text
rwkv7-191M-world-q6_k_l.gguf filter=lfs diff=lfs merge=lfs -text
rwkv7-191M-world-bf16-q6_k.gguf filter=lfs diff=lfs merge=lfs -text
rwkv7-191M-world-iq3_xs.gguf filter=lfs diff=lfs merge=lfs -text
rwkv7-191M-world-q3_k_m.gguf filter=lfs diff=lfs merge=lfs -text
rwkv7-191M-world-q6_k_m.gguf filter=lfs diff=lfs merge=lfs -text
rwkv7-191M-world-iq3_s.gguf filter=lfs diff=lfs merge=lfs -text
rwkv7-191M-world-q5_1_l.gguf filter=lfs diff=lfs merge=lfs -text
rwkv7-191M-world-q3_k_l.gguf filter=lfs diff=lfs merge=lfs -text
rwkv7-191M-world-tq1_0.gguf filter=lfs diff=lfs merge=lfs -text
rwkv7-191M-world-q4_k_m.gguf filter=lfs diff=lfs merge=lfs -text
rwkv7-191M-world-q5_1.gguf filter=lfs diff=lfs merge=lfs -text
rwkv7-191M-world-bf16.gguf filter=lfs diff=lfs merge=lfs -text
rwkv7-191M-world-q4_0_l.gguf filter=lfs diff=lfs merge=lfs -text
rwkv7-191M-world-q5_k_l.gguf filter=lfs diff=lfs merge=lfs -text

284
README.md Normal file
View File

@@ -0,0 +1,284 @@
---
license: apache-2.0
language:
- en
- zh
- ja
- ko
- fr
- ar
- es
- pt
metrics:
- accuracy
base_model:
- BlinkDL/rwkv-7-world
pipeline_tag: text-generation
---
# <span style="color: #7FFF7F;">rwkv7-191M-world GGUF Models</span>
Note: you must use latest llama.cpp https://github.com/ggml-org/llama.cpp to run this model with llama.cpp
## **Choosing the Right Model Format**
Selecting the correct model format depends on your **hardware capabilities** and **memory constraints**.
### **BF16 (Brain Float 16) – Use if BF16 acceleration is available**
- A 16-bit floating-point format designed for **faster computation** while retaining good precision.
- Provides **similar dynamic range** as FP32 but with **lower memory usage**.
- Recommended if your hardware supports **BF16 acceleration** (check your device’s specs).
- Ideal for **high-performance inference** with **reduced memory footprint** compared to FP32.
📌 **Use BF16 if:**
✔ Your hardware has native **BF16 support** (e.g., newer GPUs, TPUs).
✔ You want **higher precision** while saving memory.
✔ You plan to **requantize** the model into another format.
📌 **Avoid BF16 if:**
❌ Your hardware does **not** support BF16 (it may fall back to FP32 and run slower).
❌ You need compatibility with older devices that lack BF16 optimization.
---
### **F16 (Float 16) – More widely supported than BF16**
- A 16-bit floating-point **high precision** but with less of range of values than BF16.
- Works on most devices with **FP16 acceleration support** (including many GPUs and some CPUs).
- Slightly lower numerical precision than BF16 but generally sufficient for inference.
📌 **Use F16 if:**
✔ Your hardware supports **FP16** but **not BF16**.
✔ You need a **balance between speed, memory usage, and accuracy**.
✔ You are running on a **GPU** or another device optimized for FP16 computations.
📌 **Avoid F16 if:**
❌ Your device lacks **native FP16 support** (it may run slower than expected).
❌ You have memory limitations.
---
### **Quantized Models (Q4_K, Q6_K, Q8, etc.) – For CPU & Low-VRAM Inference**
Quantization reduces model size and memory usage while maintaining as much accuracy as possible.
- **Lower-bit models (Q4_K)** → **Best for minimal memory usage**, may have lower precision.
- **Higher-bit models (Q6_K, Q8_0)** → **Better accuracy**, requires more memory.
📌 **Use Quantized Models if:**
✔ You are running inference on a **CPU** and need an optimized model.
✔ Your device has **low VRAM** and cannot load full-precision models.
✔ You want to reduce **memory footprint** while keeping reasonable accuracy.
📌 **Avoid Quantized Models if:**
❌ You need **maximum accuracy** (full-precision models are better for this).
❌ Your hardware has enough VRAM for higher-precision formats (BF16/F16).
---
### **Very Low-Bit Quantization (IQ3_XS, IQ3_S, IQ3_M, Q4_K, Q4_0)**
These models are optimized for **extreme memory efficiency**, making them ideal for **low-power devices** or **large-scale deployments** where memory is a critical constraint.
- **IQ3_XS**: Ultra-low-bit quantization (3-bit) with **extreme memory efficiency**.
- **Use case**: Best for **ultra-low-memory devices** where even Q4_K is too large.
- **Trade-off**: Lower accuracy compared to higher-bit quantizations.
- **IQ3_S**: Small block size for **maximum memory efficiency**.
- **Use case**: Best for **low-memory devices** where **IQ3_XS** is too aggressive.
- **IQ3_M**: Medium block size for better accuracy than **IQ3_S**.
- **Use case**: Suitable for **low-memory devices** where **IQ3_S** is too limiting.
- **Q4_K**: 4-bit quantization with **block-wise optimization** for better accuracy.
- **Use case**: Best for **low-memory devices** where **Q6_K** is too large.
- **Q4_0**: Pure 4-bit quantization, optimized for **ARM devices**.
- **Use case**: Best for **ARM-based devices** or **low-memory environments**.
---
### **Summary Table: Model Format Selection**
| Model Format | Precision | Memory Usage | Device Requirements | Best Use Case |
|--------------|------------|---------------|----------------------|---------------|
| **BF16** | Highest | High | BF16-supported GPU/CPUs | High-speed inference with reduced memory |
| **F16** | High | High | FP16-supported devices | GPU inference when BF16 isn’t available |
| **Q4_K** | Medium Low | Low | CPU or Low-VRAM devices | Best for memory-constrained environments |
| **Q6_K** | Medium | Moderate | CPU with more memory | Better accuracy while still being quantized |
| **Q8_0** | High | Moderate | CPU or GPU with enough VRAM | Best accuracy among quantized models |
| **IQ3_XS** | Very Low | Very Low | Ultra-low-memory devices | Extreme memory efficiency and low accuracy |
| **Q4_0** | Low | Low | ARM or low-memory devices | llama.cpp can optimize for ARM devices |
---
## **Included Files & Details**
### `rwkv7-191M-world-bf16.gguf`
- Model weights preserved in **BF16**.
- Use this if you want to **requantize** the model into a different format.
- Best if your device supports **BF16 acceleration**.
### `rwkv7-191M-world-f16.gguf`
- Model weights stored in **F16**.
- Use if your device supports **FP16**, especially if BF16 is not available.
### `rwkv7-191M-world-bf16-q8_0.gguf`
- **Output & embeddings** remain in **BF16**.
- All other layers quantized to **Q8_0**.
- Use if your device supports **BF16** and you want a quantized version.
### `rwkv7-191M-world-f16-q8_0.gguf`
- **Output & embeddings** remain in **F16**.
- All other layers quantized to **Q8_0**.
### `rwkv7-191M-world-q4_k.gguf`
- **Output & embeddings** quantized to **Q8_0**.
- All other layers quantized to **Q4_K**.
- Good for **CPU inference** with limited memory.
### `rwkv7-191M-world-q4_k_s.gguf`
- Smallest **Q4_K** variant, using less memory at the cost of accuracy.
- Best for **very low-memory setups**.
### `rwkv7-191M-world-q6_k.gguf`
- **Output & embeddings** quantized to **Q8_0**.
- All other layers quantized to **Q6_K** .
### `rwkv7-191M-world-q8_0.gguf`
- Fully **Q8** quantized model for better accuracy.
- Requires **more memory** but offers higher precision.
### `rwkv7-191M-world-iq3_xs.gguf`
- **IQ3_XS** quantization, optimized for **extreme memory efficiency**.
- Best for **ultra-low-memory devices**.
### `rwkv7-191M-world-iq3_m.gguf`
- **IQ3_M** quantization, offering a **medium block size** for better accuracy.
- Suitable for **low-memory devices**.
### `rwkv7-191M-world-q4_0.gguf`
- Pure **Q4_0** quantization, optimized for **ARM devices**.
- Best for **low-memory environments**.
- Prefer IQ4_NL for better accuracy.
# <span id="testllm" style="color: #7F7FFF;">🚀 If you find these models useful</span>
Please click like ❤ . Also I’d really appreciate it if you could test my Network Monitor Assistant at 👉 [Network Monitor Assitant](https://readyforquantum.com).
💬 Click the **chat icon** (bottom right of the main and dashboard pages) . Choose a LLM; toggle between the LLM Types TurboLLM -> FreeLLM -> TestLLM.
### What I'm Testing
I'm experimenting with **function calling** against my network monitoring service. Using small open source models. I am into the question "How small can it go and still function".
🟡 **TestLLM** – Runs the current testing model using llama.cpp on 6 threads of a Cpu VM (Should take about 15s to load. Inference speed is quite slow and it only processes one user prompt at a time—still working on scaling!). If you're curious, I'd be happy to share how it works! .
### The other Available AI Assistants
🟢 **TurboLLM** – Uses **gpt-4o-mini** Fast! . Note: tokens are limited since OpenAI models are pricey, but you can [Login](https://readyforquantum.com) or [Download](https://readyforquantum.com/download/?utm_source=huggingface&utm_medium=referral&utm_campaign=huggingface_repo_readme) the Quantum Network Monitor agent to get more tokens, Alternatively use the TestLLM .
🔵 **HugLLM** – Runs **open-source Hugging Face models** Fast, Runs small models (≈8B) hence lower quality, Get 2x more tokens (subject to Hugging Face API availability)
### Final Word
I fund the servers used to create these model files, run the Quantum Network Monitor service, and pay for inference from Novita and OpenAI—all out of my own pocket. All the code behind the model creation and the Quantum Network Monitor project is [open source](https://github.com/Mungert69). Feel free to use whatever you find helpful.
If you appreciate the work, please consider [buying me a coffee](https://www.buymeacoffee.com/mahadeva) ☕. Your support helps cover service costs and allows me to raise token limits for everyone.
I'm also open to job opportunities or sponsorship.
Thank you! 😊
# rwkv7-191M-world
<!-- Provide a quick summary of what the model is/does. -->
This is RWKV-7 model under flash-linear attention format.
## Model Details
### Model Description
<!-- Provide a longer summary of what this model is. -->
- **Developed by:** Bo Peng, Yu Zhang, Songlin Yang, Ruichong Zhang
- **Funded by:** RWKV Project (Under LF AI & Data Foundation)
- **Model type:** RWKV7
- **Language(s) (NLP):** English
- **License:** Apache-2.0
- **Parameter count:** 191M
- **Tokenizer:** RWKV World tokenizer
- **Vocabulary size:** 65,536
### Model Sources
<!-- Provide the basic links for the model. -->
- **Repository:** https://github.com/fla-org/flash-linear-attention ; https://github.com/BlinkDL/RWKV-LM
- **Paper:** With in Progress
## Uses
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
Install `flash-linear-attention` and the latest version of `transformers` before using this model:
```bash
pip install git+https://github.com/fla-org/flash-linear-attention
pip install 'transformers>=4.48.0'
```
### Direct Use
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
You can use this model just as any other HuggingFace models:
```python
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained('fla-hub/rwkv7-191M-world', trust_remote_code=True)
tokenizer = AutoTokenizer.from_pretrained('fla-hub/rwkv7-191M-world', trust_remote_code=True)
model = model.cuda()
prompt = "What is a large language model?"
messages = [
{"role": "user", "content": "Who are you?"},
{"role": "assistant", "content": "I am a GPT-3 based model."},
{"role": "user", "content": prompt}
]
text = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True
)
model_inputs = tokenizer([text], return_tensors="pt").to(model.device)
generated_ids = model.generate(
**model_inputs,
max_new_tokens=1024,
)
generated_ids = [
output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)
]
response = tokenizer.batch_decode(generated_ids, skip_special_tokens=False)[0]
print(response)
```
## Training Details
### Training Data
This model is trained on the World v2.8 with a total of 1.0 trillion tokens.
#### Training Hyperparameters
- **Training regime:** bfloat16, lr 8e-4 to 1e-5 "delayed" cosine decay, wd 0.1, bsz 8x30x4096 (Please contact Peng Bo for details)
## Evaluation
#### Metrics
`lambada_openai`: ppl 12.4 acc 49.1%
## FAQ
Q: safetensors metadata is none.
A: upgrade transformers to >=4.48.0: `pip install 'transformers>=4.48.0'`

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:82e9d29e0441a350fe0dbd19ea9373a6ef650c139ae8faf1e78ab35afc356a03
size 264276960

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b6f23fa8c9b60b4e1268c9a098cc8c444f93ddcfc71798f33d8f202aa0211157
size 286174176

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:67dbc8b9804ac5cdfc5f3ed9b9ed304e1fded1153ef39e5493fd41ec05f4b5d5
size 306744000

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:197713a5bf572d1634a73c2dcd8b039fd3d66698da940744b8a0c126f59424b7
size 386370240

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0be7a5606f0de5c535a6c1b84d31ce5ef11ec52914dfceeef8b1db4eb9124cf0
size 264276960

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2ff5aef6b432b23c460a337bd110f85e983fd6bf8b267c10f2fbb59876d8e6eb
size 286174176

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5f5f3e9be361381d34e56ec8e0c4bf571e44dc529bf1abe149dd53395541d132
size 306744000

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1055b5371e61088b8a593c7045270629fadb7d828d57bc5af13bb8fb01dfaa52
size 114584544

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:22f8247bea39ae369a54824f8af45d84654a0006f231d488e340a25955ae8925
size 114584544

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eca15e0b47c81a650e1ac52f5998148c20155dfccfb034ccddd046f12773b871
size 114584544

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5aed9252fc83aa9adabc756784c8bc3d0c7fff09248ffc4e2204494c571ad6f9
size 103918560

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:294fb0303de8491be078ea5cb9f2fa5f410eaeaf5bb8fd6be74030e82d7e3bf1
size 132549600

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b4391ca877f1ab4395b2a8aa702e5ff7bf70d8f1d6d4aa4f46ddf2ef9da97ff4
size 128322528

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7a8598be80a73492d0dac8f9408124a4aa1a413e70a0d4056a3f9f590415e9ca
size 114584544

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c0c86479b225139d36ec57c2cd54c9e10c2146d77cd6fdd5c07f6688b0fef342
size 114584544

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:86bb000b632803769b5d6fe589a9e0268182c04a105a4ca55d0f1ec2557572c6
size 119573472

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fe661229845a36efc21cfe74dadcc0b6601e6bc11fbefc209a27e39e44bc3f90
size 131173344

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:860db742d2c8ae79913b62063e1a75d3059ca99eed05ba95fd3ebe335228aba5
size 132549600

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bedb6e4cbc9bbfdeb4cef0c60b596cde59e27d4b50ea4649235137b2c22135ca
size 132549600

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0de68e332c833defa6d0c5b0dfde39e2c5346fe0fafebb350cf926883aec5639
size 142773216

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9df67e990d8ffe371b72d6fcf42fc36c37a460f01ee0bb8a5662cfb653f8121d
size 154373088

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:42b73eb753ab307f172eea0b853ec2fd57f5fe264a0770dfe3562fdaa33275ab
size 149457888

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0797896714b13ddf28bc8a97d08dfa59c626025e2497568dff3f0ac65af63ec8
size 149457888

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1c94017376f2b98bbb71deb2469ac26b67239a5133117f572586a8d324591cff
size 167422944

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:90ce129f001f7331d793278cba5e1943f1d6b69b918b4748476ae86052fa91df
size 212372160

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e90a13dfa0bd7e11b7e73cc2388b30f54d7e1911f8d3bcfef4273362626c1275
size 102689760

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7cdfde671c5174b323811ed08c4a73cca976cca3d5d03c1914396d9e5993dabe
size 106671072

3
rwkv7-191M-world.imatrix Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e549800d060946a9fa195d9d34d9b1bdf303a9080dff21535fc89b507f037c44
size 496201