Instructions to use Hakureirm/rwkv7-sglang-w4rtn-7.2b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- RWKV
How to use Hakureirm/rwkv7-sglang-w4rtn-7.2b 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
Download config.json from Hakureirm/rwkv7-sglang-w4rtn-7.2b: direct link, hf CLI and curl.
- Browser
- Download file 875 Bytes
-
https://huggingface.co/Hakureirm/rwkv7-sglang-w4rtn-7.2b/resolve/main/config.json
- Command line
-
hf download hf://Hakureirm/rwkv7-sglang-w4rtn-7.2b/config.json
-
curl -L -o config.json https://huggingface.co/Hakureirm/rwkv7-sglang-w4rtn-7.2b/resolve/main/config.json
875 Bytes
| { | |
| "architectures": [ | |
| "RWKV7ForCausalLM" | |
| ], | |
| "model_type": "rwkv7", | |
| "hidden_size": 4096, | |
| "num_hidden_layers": 32, | |
| "head_dim": 64, | |
| "num_heads": 64, | |
| "decay_low_rank_dim": 128, | |
| "a_low_rank_dim": 128, | |
| "v_low_rank_dim": 96, | |
| "gate_low_rank_dim": 480, | |
| "intermediate_size": 16384, | |
| "hidden_ratio": 4.0, | |
| "hidden_act": "sqrelu", | |
| "norm_eps": 1e-05, | |
| "norm_bias": true, | |
| "norm_first": true, | |
| "vocab_size": 65536, | |
| "tie_word_embeddings": false, | |
| "attn": null, | |
| "attn_mode": "chunk", | |
| "bos_token_id": 0, | |
| "eos_token_id": 0, | |
| "use_cache": true, | |
| "torch_dtype": "float32", | |
| "rwkv7_w4_info": { | |
| "quant_method": "rwkv_w4", | |
| "group_size": 64, | |
| "bits": 4, | |
| "sym": true, | |
| "target_suffixes": [ | |
| "r_proj.weight", | |
| "k_proj.weight", | |
| "v_proj.weight", | |
| "o_proj.weight", | |
| ".key.weight", | |
| ".value.weight" | |
| ] | |
| } | |
| } |