Text Generation
Transformers
Safetensors
English
qwen3_5_text
stream-llm
multi-stream
parallel-cognition
monitorability
qwen3.5
deltanet
custom_code
Instructions to use JonasGeiping/stream-qwen3.5-27b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use JonasGeiping/stream-qwen3.5-27b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="JonasGeiping/stream-qwen3.5-27b", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("JonasGeiping/stream-qwen3.5-27b", trust_remote_code=True) model = AutoModelForCausalLM.from_pretrained("JonasGeiping/stream-qwen3.5-27b", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use JonasGeiping/stream-qwen3.5-27b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "JonasGeiping/stream-qwen3.5-27b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "JonasGeiping/stream-qwen3.5-27b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/JonasGeiping/stream-qwen3.5-27b
- SGLang
How to use JonasGeiping/stream-qwen3.5-27b 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 "JonasGeiping/stream-qwen3.5-27b" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "JonasGeiping/stream-qwen3.5-27b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "JonasGeiping/stream-qwen3.5-27b" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "JonasGeiping/stream-qwen3.5-27b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use JonasGeiping/stream-qwen3.5-27b with Docker Model Runner:
docker model run hf.co/JonasGeiping/stream-qwen3.5-27b
Improve model card: add paper/code links and citation
Browse filesThis pull request improves the model card by adding links to the official research paper "Multi-Stream LLMs: Unblocking Language Models with Parallel Streams of Thoughts, Inputs and Outputs" and the corresponding GitHub repository. It also includes a BibTeX citation section for academic reference.
README.md
CHANGED
|
@@ -1,8 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
|
|
|
|
|
|
|
| 3 |
language:
|
| 4 |
- en
|
| 5 |
library_name: transformers
|
|
|
|
|
|
|
| 6 |
tags:
|
| 7 |
- stream-llm
|
| 8 |
- multi-stream
|
|
@@ -10,21 +14,19 @@ tags:
|
|
| 10 |
- monitorability
|
| 11 |
- qwen3.5
|
| 12 |
- deltanet
|
| 13 |
-
base_model: Qwen/Qwen3.5-27B
|
| 14 |
-
datasets:
|
| 15 |
-
- JonasGeiping/stream-data
|
| 16 |
-
pipeline_tag: text-generation
|
| 17 |
---
|
| 18 |
|
| 19 |
# Stream-Qwen3.5-27B
|
| 20 |
|
|
|
|
|
|
|
| 21 |
A multi-stream variant of Qwen3.5-27B (DeltaNet hybrid) that generates in ten
|
| 22 |
parallel streams (1 input, 1 visible output, 8 thinking channels) simultaneously per timestep. One forward pass
|
| 23 |
produces the next-row token for each stream; tokens within a row cannot see
|
| 24 |
each other (block-causal attention), but every stream can attend to every
|
| 25 |
prior row's tokens.
|
| 26 |
|
| 27 |
-
This model was trained for the monitoring experiments in Section 7 and to see whether whether we can train a generic instruction-tuned model with 8 internal streams, and still have it make sense.
|
| 28 |
As such, the internal streams are not always helpful, but they are coherent, and do (in the best case) respond to each other and the user stream. Nevertheless this is still a research prototype model.
|
| 29 |
|
| 30 |
## Architecture
|
|
@@ -247,3 +249,13 @@ Trained on `JonasGeiping/stream-data` (see dataset card). Recipe details:
|
|
| 247 |
- 2 epochs, packing depth 7, lr 2e-5, weight decay 1e-3, attention dropout 0.2
|
| 248 |
- DeepSpeed ZeRO-2 across 4×80 GB GPUs
|
| 249 |
- Per-group lr: 1e-5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
base_model: Qwen/Qwen3.5-27B
|
| 3 |
+
datasets:
|
| 4 |
+
- JonasGeiping/stream-data
|
| 5 |
language:
|
| 6 |
- en
|
| 7 |
library_name: transformers
|
| 8 |
+
license: apache-2.0
|
| 9 |
+
pipeline_tag: text-generation
|
| 10 |
tags:
|
| 11 |
- stream-llm
|
| 12 |
- multi-stream
|
|
|
|
| 14 |
- monitorability
|
| 15 |
- qwen3.5
|
| 16 |
- deltanet
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
---
|
| 18 |
|
| 19 |
# Stream-Qwen3.5-27B
|
| 20 |
|
| 21 |
+
[[Paper](https://huggingface.co/papers/2605.12460)] [[Code](https://github.com/seal-rg/streaming)]
|
| 22 |
+
|
| 23 |
A multi-stream variant of Qwen3.5-27B (DeltaNet hybrid) that generates in ten
|
| 24 |
parallel streams (1 input, 1 visible output, 8 thinking channels) simultaneously per timestep. One forward pass
|
| 25 |
produces the next-row token for each stream; tokens within a row cannot see
|
| 26 |
each other (block-causal attention), but every stream can attend to every
|
| 27 |
prior row's tokens.
|
| 28 |
|
| 29 |
+
This model was trained for the monitoring experiments in Section 7 of the paper [Multi-Stream LLMs: Unblocking Language Models with Parallel Streams of Thoughts, Inputs and Outputs](https://huggingface.co/papers/2605.12460) and to see whether whether we can train a generic instruction-tuned model with 8 internal streams, and still have it make sense.
|
| 30 |
As such, the internal streams are not always helpful, but they are coherent, and do (in the best case) respond to each other and the user stream. Nevertheless this is still a research prototype model.
|
| 31 |
|
| 32 |
## Architecture
|
|
|
|
| 249 |
- 2 epochs, packing depth 7, lr 2e-5, weight decay 1e-3, attention dropout 0.2
|
| 250 |
- DeepSpeed ZeRO-2 across 4×80 GB GPUs
|
| 251 |
- Per-group lr: 1e-5
|
| 252 |
+
|
| 253 |
+
## Citation
|
| 254 |
+
|
| 255 |
+
```bibtex
|
| 256 |
+
@article{su_2026_multi-stream,
|
| 257 |
+
title={Multi-Stream LLMs: Unblocking Language Models with Parallel Streams of Thoughts, Inputs and Outputs},
|
| 258 |
+
author={Su, Guinan and Yang, Yanwu and Li, Xueyan and Geiping, Jonas},
|
| 259 |
+
year={2026}
|
| 260 |
+
}
|
| 261 |
+
```
|