Instructions to use RWKV/RWKV7-G1j-1.5B-20260831 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RWKV/RWKV7-G1j-1.5B-20260831 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="RWKV/RWKV7-G1j-1.5B-20260831", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("RWKV/RWKV7-G1j-1.5B-20260831", trust_remote_code=True, device_map="auto") - RWKV
How to use RWKV/RWKV7-G1j-1.5B-20260831 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
- vLLM
How to use RWKV/RWKV7-G1j-1.5B-20260831 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "RWKV/RWKV7-G1j-1.5B-20260831" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "RWKV/RWKV7-G1j-1.5B-20260831", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/RWKV/RWKV7-G1j-1.5B-20260831
- SGLang
How to use RWKV/RWKV7-G1j-1.5B-20260831 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "RWKV/RWKV7-G1j-1.5B-20260831" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "RWKV/RWKV7-G1j-1.5B-20260831", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "RWKV/RWKV7-G1j-1.5B-20260831" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "RWKV/RWKV7-G1j-1.5B-20260831", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use RWKV/RWKV7-G1j-1.5B-20260831 with Docker Model Runner:
docker model run hf.co/RWKV/RWKV7-G1j-1.5B-20260831
Publish RWKV7-G1j-1.5B-20260831
Browse files- README.md +1 -1
- assets/rwkv-logo.webp +0 -0
- release-manifest.json +9 -4
README.md
CHANGED
|
@@ -35,7 +35,7 @@ tags:
|
|
| 35 |
|
| 36 |
<div align="center">
|
| 37 |
<a href="https://www.rwkv.com/">
|
| 38 |
-
<img src="
|
| 39 |
</a>
|
| 40 |
<h1>RWKV7-G1j-1.5B-20260831</h1>
|
| 41 |
<p><strong>RWKV-7 “Goose” · constant-state recurrent language modeling</strong></p>
|
|
|
|
| 35 |
|
| 36 |
<div align="center">
|
| 37 |
<a href="https://www.rwkv.com/">
|
| 38 |
+
<img src="./assets/rwkv-logo.webp" width="140" alt="RWKV logo" />
|
| 39 |
</a>
|
| 40 |
<h1>RWKV7-G1j-1.5B-20260831</h1>
|
| 41 |
<p><strong>RWKV-7 “Goose” · constant-state recurrent language modeling</strong></p>
|
assets/rwkv-logo.webp
ADDED
|
release-manifest.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
{
|
| 2 |
"builder": {
|
| 3 |
"asset_set": "2026.08.06-r1",
|
| 4 |
-
"assets_sha256": "
|
| 5 |
-
"version": "0.2.
|
| 6 |
},
|
| 7 |
"conversion": {
|
| 8 |
"explicit_cast": false,
|
|
@@ -36,8 +36,13 @@
|
|
| 36 |
},
|
| 37 |
"README.md": {
|
| 38 |
"role": "model_card",
|
| 39 |
-
"sha256": "
|
| 40 |
-
"size_bytes":
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
},
|
| 42 |
"chat_template.jinja": {
|
| 43 |
"role": "tokenizer",
|
|
|
|
| 1 |
{
|
| 2 |
"builder": {
|
| 3 |
"asset_set": "2026.08.06-r1",
|
| 4 |
+
"assets_sha256": "5ad45a115913daefd02067fb5e536796e5499547e466ab7149bc869c35742032",
|
| 5 |
+
"version": "0.2.2"
|
| 6 |
},
|
| 7 |
"conversion": {
|
| 8 |
"explicit_cast": false,
|
|
|
|
| 36 |
},
|
| 37 |
"README.md": {
|
| 38 |
"role": "model_card",
|
| 39 |
+
"sha256": "2d0ed4df9bccb4c10f86f920eaf7e502d45da434664442b418794cee630c7ab5",
|
| 40 |
+
"size_bytes": 11766
|
| 41 |
+
},
|
| 42 |
+
"assets/rwkv-logo.webp": {
|
| 43 |
+
"role": "media",
|
| 44 |
+
"sha256": "78a25b4a260e1a74328d629bcbb02a0417f3b1990898e42da5bc1d5d7ea2f118",
|
| 45 |
+
"size_bytes": 2520
|
| 46 |
},
|
| 47 |
"chat_template.jinja": {
|
| 48 |
"role": "tokenizer",
|