Text Generation
Transformers
Safetensors
English
Chinese
qwen3
recommendation
generative-recommendation
reasoning
itemic-token
pretraining
competition
conversational
text-generation-inference
Instructions to use OpenOneRec/OneReason-8B-pretrain-competition with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OpenOneRec/OneReason-8B-pretrain-competition with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="OpenOneRec/OneReason-8B-pretrain-competition") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("OpenOneRec/OneReason-8B-pretrain-competition") model = AutoModelForCausalLM.from_pretrained("OpenOneRec/OneReason-8B-pretrain-competition", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use OpenOneRec/OneReason-8B-pretrain-competition with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "OpenOneRec/OneReason-8B-pretrain-competition" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "OpenOneRec/OneReason-8B-pretrain-competition", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/OpenOneRec/OneReason-8B-pretrain-competition
- SGLang
How to use OpenOneRec/OneReason-8B-pretrain-competition 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 "OpenOneRec/OneReason-8B-pretrain-competition" \ --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": "OpenOneRec/OneReason-8B-pretrain-competition", "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 "OpenOneRec/OneReason-8B-pretrain-competition" \ --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": "OpenOneRec/OneReason-8B-pretrain-competition", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use OpenOneRec/OneReason-8B-pretrain-competition with Docker Model Runner:
docker model run hf.co/OpenOneRec/OneReason-8B-pretrain-competition
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -11,9 +11,10 @@ tags:
|
|
| 11 |
- itemic-token
|
| 12 |
- qwen3
|
| 13 |
- pretraining
|
|
|
|
| 14 |
---
|
| 15 |
|
| 16 |
-
# OneReason
|
| 17 |
|
| 18 |
Reasoning Foundation Models for Generative Recommendation
|
| 19 |
|
|
@@ -35,23 +36,25 @@ The OneReason training stack contains three stages:
|
|
| 35 |
- **Supervised Fine-Tuning (SFT):** teaches recommendation cognition with coarse-to-fine Chain-of-Thought (CoT) traces over user profiles, behavior histories, and itemic-token evidence.
|
| 36 |
- **Reinforcement Learning (RL):** uses a specialize-then-unify recipe to improve thinking-mode recommendation while balancing performance across multiple recommendation domains.
|
| 37 |
|
| 38 |
-
This repository
|
| 39 |
|
| 40 |
## News
|
| 41 |
|
|
|
|
| 42 |
- **[2026.06]** OneReason-0.8B Pretrain checkpoint is released.
|
| 43 |
-
- **Coming soon:** OneReason-0.8B SFT
|
| 44 |
-
- **Coming soon:** OneReason-0.8B RL
|
| 45 |
-
- **Coming soon:** OneReason-8B checkpoints.
|
| 46 |
|
| 47 |
## Model Zoo
|
| 48 |
|
| 49 |
| Model | Stage | Parameters | Status | Description |
|
| 50 |
|---|---:|---:|---|---|
|
| 51 |
| OneReason-0.8B-Pretrain | Pre-training | 0.8B | Released | Foundation checkpoint after itemic-text alignment pre-training. Suitable for research, continued pre-training, and downstream SFT. |
|
|
|
|
| 52 |
| OneReason-0.8B-SFT | SFT | 0.8B | Coming soon | Instruction-tuned checkpoint with recommendation perception, derivation, evolution, and recommendation supervision. |
|
| 53 |
| OneReason-0.8B-RL | RL | 0.8B | Coming soon | Post-trained checkpoint optimized for recommendation-oriented reasoning. |
|
| 54 |
-
| OneReason-8B |
|
|
|
|
| 55 |
|
| 56 |
## Method Overview
|
| 57 |
|
|
@@ -109,9 +112,9 @@ OneReason is evaluated with **OneReason-Bench**, a reasoning-oriented recommenda
|
|
| 109 |
|
| 110 |
## Performance
|
| 111 |
|
| 112 |
-
The released **OneReason-
|
| 113 |
|
| 114 |
-
The tables below report the full OneReason-8B system results from the technical report.
|
| 115 |
|
| 116 |
<p align="center">
|
| 117 |
<img src="assert/rader.png" alt="OneReason performance overview and thinking-mode gains" width="95%">
|
|
@@ -177,7 +180,7 @@ Load the model:
|
|
| 177 |
```python
|
| 178 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 179 |
|
| 180 |
-
model_name = "OpenOneRec/OneReason-
|
| 181 |
|
| 182 |
tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)
|
| 183 |
model = AutoModelForCausalLM.from_pretrained(
|
|
@@ -299,12 +302,13 @@ Expected response (example output):
|
|
| 299 |
|
| 300 |
## Intended Use
|
| 301 |
|
| 302 |
-
The OneReason-
|
| 303 |
|
| 304 |
-
- Research on generative recommendation and recommendation foundation models.
|
| 305 |
- Continued pre-training or SFT on new recommendation domains.
|
| 306 |
- Itemic-token perception studies, including item understanding and itemic-token grounding.
|
| 307 |
- Building downstream recommendation models that combine user profiles, behavior histories, and itemic-token representations.
|
|
|
|
| 308 |
|
| 309 |
For best recommendation reasoning performance, we recommend using future SFT/RL checkpoints once released, or fine-tuning this pretrain checkpoint on task-specific supervised data.
|
| 310 |
|
|
@@ -314,7 +318,8 @@ For best recommendation reasoning performance, we recommend using future SFT/RL
|
|
| 314 |
- Direct recommendation quality depends on the itemic tokenizer, item catalog, user history format, and decoding strategy.
|
| 315 |
- Generated itemic tokens must be validated against the target item catalog before being used as item IDs.
|
| 316 |
- The model may generate invalid, stale, or unsupported itemic-token sequences if the prompt distribution differs significantly from training data.
|
| 317 |
-
- The checkpoint
|
|
|
|
| 318 |
|
| 319 |
## Citation
|
| 320 |
|
|
|
|
| 11 |
- itemic-token
|
| 12 |
- qwen3
|
| 13 |
- pretraining
|
| 14 |
+
- competition
|
| 15 |
---
|
| 16 |
|
| 17 |
+
# OneReason-8B-Pretrain (Competition)
|
| 18 |
|
| 19 |
Reasoning Foundation Models for Generative Recommendation
|
| 20 |
|
|
|
|
| 36 |
- **Supervised Fine-Tuning (SFT):** teaches recommendation cognition with coarse-to-fine Chain-of-Thought (CoT) traces over user profiles, behavior histories, and itemic-token evidence.
|
| 37 |
- **Reinforcement Learning (RL):** uses a specialize-then-unify recipe to improve thinking-mode recommendation while balancing performance across multiple recommendation domains.
|
| 38 |
|
| 39 |
+
This repository releases the **OneReason-8B-Pretrain (Competition)** checkpoint — the 8B foundation checkpoint after itemic-text alignment pre-training, prepared for the OneReason competition track. The 0.8B pretrain checkpoint is released in a sibling repository.
|
| 40 |
|
| 41 |
## News
|
| 42 |
|
| 43 |
+
- **[2026.07]** OneReason-8B-Pretrain (Competition) checkpoint is released.
|
| 44 |
- **[2026.06]** OneReason-0.8B Pretrain checkpoint is released.
|
| 45 |
+
- **Coming soon:** OneReason-0.8B / 8B SFT checkpoints.
|
| 46 |
+
- **Coming soon:** OneReason-0.8B / 8B RL checkpoints.
|
|
|
|
| 47 |
|
| 48 |
## Model Zoo
|
| 49 |
|
| 50 |
| Model | Stage | Parameters | Status | Description |
|
| 51 |
|---|---:|---:|---|---|
|
| 52 |
| OneReason-0.8B-Pretrain | Pre-training | 0.8B | Released | Foundation checkpoint after itemic-text alignment pre-training. Suitable for research, continued pre-training, and downstream SFT. |
|
| 53 |
+
| OneReason-8B-Pretrain (Competition) | Pre-training | 8B | Released | Larger foundation checkpoint with stronger itemic-token perception and broader recommendation coverage. This is the competition release. |
|
| 54 |
| OneReason-0.8B-SFT | SFT | 0.8B | Coming soon | Instruction-tuned checkpoint with recommendation perception, derivation, evolution, and recommendation supervision. |
|
| 55 |
| OneReason-0.8B-RL | RL | 0.8B | Coming soon | Post-trained checkpoint optimized for recommendation-oriented reasoning. |
|
| 56 |
+
| OneReason-8B-SFT | SFT | 8B | Coming soon | Instruction-tuned 8B checkpoint. |
|
| 57 |
+
| OneReason-8B-RL | RL | 8B | Coming soon | Post-trained 8B checkpoint optimized for recommendation-oriented reasoning. |
|
| 58 |
|
| 59 |
## Method Overview
|
| 60 |
|
|
|
|
| 112 |
|
| 113 |
## Performance
|
| 114 |
|
| 115 |
+
The released **OneReason-8B-Pretrain (Competition)** checkpoint is the 8B foundation checkpoint before SFT/RL. It provides stronger itemic-token perception and broader recommendation coverage than the 0.8B release, and serves as a strong initialization for downstream recommendation tuning.
|
| 116 |
|
| 117 |
+
The tables below report the full OneReason-8B system results from the technical report. The pretrain checkpoint itself is evaluated on R0 perception and grounding tasks; the SFT/RL rows are included to show the full system performance that this pretrain checkpoint enables.
|
| 118 |
|
| 119 |
<p align="center">
|
| 120 |
<img src="assert/rader.png" alt="OneReason performance overview and thinking-mode gains" width="95%">
|
|
|
|
| 180 |
```python
|
| 181 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 182 |
|
| 183 |
+
model_name = "OpenOneRec/OneReason-8B-pretrain-competition" # or the local path to this repository
|
| 184 |
|
| 185 |
tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)
|
| 186 |
model = AutoModelForCausalLM.from_pretrained(
|
|
|
|
| 302 |
|
| 303 |
## Intended Use
|
| 304 |
|
| 305 |
+
The OneReason-8B-Pretrain (Competition) checkpoint is intended for:
|
| 306 |
|
| 307 |
+
- Research on generative recommendation and recommendation foundation models at the 8B scale.
|
| 308 |
- Continued pre-training or SFT on new recommendation domains.
|
| 309 |
- Itemic-token perception studies, including item understanding and itemic-token grounding.
|
| 310 |
- Building downstream recommendation models that combine user profiles, behavior histories, and itemic-token representations.
|
| 311 |
+
- Competition baselines that require a strong, open recommendation foundation checkpoint.
|
| 312 |
|
| 313 |
For best recommendation reasoning performance, we recommend using future SFT/RL checkpoints once released, or fine-tuning this pretrain checkpoint on task-specific supervised data.
|
| 314 |
|
|
|
|
| 318 |
- Direct recommendation quality depends on the itemic tokenizer, item catalog, user history format, and decoding strategy.
|
| 319 |
- Generated itemic tokens must be validated against the target item catalog before being used as item IDs.
|
| 320 |
- The model may generate invalid, stale, or unsupported itemic-token sequences if the prompt distribution differs significantly from training data.
|
| 321 |
+
- The 8B checkpoint requires more memory and compute than the 0.8B release; make sure your environment has sufficient GPU resources before loading.
|
| 322 |
+
- The checkpoint is released for research and competition use, and should not be used for high-stakes personalization without careful evaluation, filtering, and privacy review.
|
| 323 |
|
| 324 |
## Citation
|
| 325 |
|