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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<div style="max-width:100%;overflow:hidden;">
|
| 2 |
+
<pre style="
|
| 3 |
+
background:#0d0d0d;
|
| 4 |
+
font-family:'Courier New',Courier,monospace;
|
| 5 |
+
font-size:clamp(3.5px,0.82vw,10px);
|
| 6 |
+
line-height:1.15;
|
| 7 |
+
padding:0.9em 1.1em;
|
| 8 |
+
border-radius:12px;
|
| 9 |
+
white-space:pre;
|
| 10 |
+
overflow:hidden;
|
| 11 |
+
max-width:100%;
|
| 12 |
+
box-sizing:border-box;
|
| 13 |
+
color:transparent;
|
| 14 |
+
background-clip:text;
|
| 15 |
+
-webkit-background-clip:text;
|
| 16 |
+
background-image:linear-gradient(
|
| 17 |
+
118deg,
|
| 18 |
+
#FF6B6B 0%,
|
| 19 |
+
#FF8C42 20%,
|
| 20 |
+
#FFCF48 40%,
|
| 21 |
+
#FFFFFF 55%,
|
| 22 |
+
#FFCF48 70%,
|
| 23 |
+
#FF8C42 85%,
|
| 24 |
+
#FF6B6B 100%
|
| 25 |
+
);
|
| 26 |
+
">βββββββ βββββββ ββββββββ ββββββ ββββ ββββ
|
| 27 |
+
βββββββββββββββββββββββββββββββββββββ βββββ
|
| 28 |
+
βββ βββββββββββββββββ βββββββββββββββββββ
|
| 29 |
+
βββ βββββββββββββββββ βββββββββββββββββββ
|
| 30 |
+
βββββββββββ ββββββββββββββ ββββββ βββ βββ
|
| 31 |
+
βββββββ βββ ββββββββββββββ ββββββ βββ
|
| 32 |
+
|
| 33 |
+
ββββ ββββ ββββββ ββββββββββ ββββββββββ βββββββββββ
|
| 34 |
+
βββββ ββββββββββββββββββββββββ βββββββββββ βββββββββββ
|
| 35 |
+
ββββββββββββββββββββββ βββββββββββββββββ βββββββββ
|
| 36 |
+
ββββββββββββββββββββββ βββββββββββββββββββββββββββ
|
| 37 |
+
βββ βββ ββββββ ββββββββββββββ βββββββββ ββββββββββββββ
|
| 38 |
+
βββ ββββββ βββ ββββββββββ βββββββββ βββββββββββββ</pre>
|
| 39 |
+
</div>
|
| 40 |
+
|
| 41 |
+
<div align="center">
|
| 42 |
+
|
| 43 |
+
<p style="font-size:1.6em;font-weight:900;letter-spacing:0.04em;margin:0.2em 0 0.1em;">
|
| 44 |
+
β¨ DreamMachine Research β¨
|
| 45 |
+
</p>
|
| 46 |
+
|
| 47 |
+
<p style="font-size:1.05em;font-weight:500;color:#aaa;margin:0 0 1em;">
|
| 48 |
+
Billion-Item Neural Recommendation Β· Industrial AI Β· Open Research
|
| 49 |
+
</p>
|
| 50 |
+
|
| 51 |
+
[](https://huggingface.co/dream-machine-ai/Dream-Machine-08-09)
|
| 52 |
+
[](https://huggingface.co/datasets/dream-machine-ai/Dream-Machine-08-09-Dataset)
|
| 53 |
+
[](https://huggingface.co/spaces/dream-machine-ai/)
|
| 54 |
+
[](https://doi.org/10.5281/zenodo.21906715)
|
| 55 |
+
[](https://github.com/When-Summer-Understands-Winter/Dream-Machine/)
|
| 56 |
+
[](https://creativecommons.org/licenses/by-nc/4.0/)
|
| 57 |
+
|
| 58 |
+
<br/>
|
| 59 |
+
|
| 60 |
+
> *"We build the magic shop β the AI that knows exactly what you want before you do."*
|
| 61 |
+
|
| 62 |
+
**[π€ Models](#-models)** Β·
|
| 63 |
+
**[π¦ Datasets](#-datasets)** Β·
|
| 64 |
+
**[π Spaces](#-spaces)** Β·
|
| 65 |
+
**[π Research](#-research)** Β·
|
| 66 |
+
**[βοΈ License](#οΈ-license)**
|
| 67 |
+
|
| 68 |
+
</div>
|
| 69 |
+
|
| 70 |
---
|
| 71 |
+
|
| 72 |
+
## β¦ Our Mission
|
| 73 |
+
|
| 74 |
+
```
|
| 75 |
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 76 |
+
β β¦ 10ΒΉβ°-item scale β recommend from billion-item catalogues β
|
| 77 |
+
β β¦ Open research β weights, data, code, paper all public β
|
| 78 |
+
β β¦ Reproducible β every result in the paper can be verified β
|
| 79 |
+
β β¦ Production-grade β from laptop to 250 Γ A100 cluster unchanged β
|
| 80 |
+
β β¦ Community-first β CC BY-NC 4.0, free for academic use β
|
| 81 |
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 82 |
+
```
|
| 83 |
+
|
| 84 |
---
|
| 85 |
|
| 86 |
+
## π€ Models
|
| 87 |
+
|
| 88 |
+
### [Dream-Machine-08-09](https://huggingface.co/dream-machine-ai/Dream-Machine-08-09)
|
| 89 |
+
|
| 90 |
+
> **Billion-Item Neural Recommendation Sorcerer** β Multi-Hash Transformer Dual-Tower with RAG-Enhanced Recall
|
| 91 |
+
|
| 92 |
+
| Property | Value |
|
| 93 |
+
|:---------|:------|
|
| 94 |
+
| Architecture | Dual-Tower Transformer (Item + User) |
|
| 95 |
+
| Scale | Up to 10ΒΉβ° items, 10ΒΉβ° users |
|
| 96 |
+
| Embedding | Multi-Hash K=3, B=50K buckets |
|
| 97 |
+
| Layers | L=2 Transformer, H=8 heads, d=128 |
|
| 98 |
+
| Retrieval | FAISS HNSW, β€ 100 ms P99 |
|
| 99 |
+
| **AUC** | **0.4849** Β· HR@10 **1.0** Β· NDCG@10 **0.537** |
|
| 100 |
+
| Format | `safetensors` Β· `transformers`-compatible |
|
| 101 |
+
|
| 102 |
+
```python
|
| 103 |
+
from transformers import AutoModel
|
| 104 |
+
model = AutoModel.from_pretrained(
|
| 105 |
+
"dream-machine-ai/Dream-Machine-08-09", trust_remote_code=True
|
| 106 |
+
).eval()
|
| 107 |
+
```
|
| 108 |
+
|
| 109 |
+
**[β View Model Card](https://huggingface.co/dream-machine-ai/Dream-Machine-08-09)**
|
| 110 |
+
|
| 111 |
+
---
|
| 112 |
+
|
| 113 |
+
## π¦ Datasets
|
| 114 |
+
|
| 115 |
+
### [Dream-Machine-08-09-Dataset](https://huggingface.co/datasets/dream-machine-ai/Dream-Machine-08-09-Dataset)
|
| 116 |
+
|
| 117 |
+
> **E-Commerce Synthetic Dataset** β JD / Taobao schema, fully reproducible, zero real PII
|
| 118 |
+
|
| 119 |
+
| Split | Records | Format | Description |
|
| 120 |
+
|:------|--------:|:------:|:------------|
|
| 121 |
+
| `products` | 1,000 | JSONL | SKU catalogue β price, brand, category, attributes |
|
| 122 |
+
| `users` | 1,000 | JSONL | User profiles β demographics, interests, spending |
|
| 123 |
+
| `behaviors` | 5,000 | JSONL | Click / purchase / rating events |
|
| 124 |
+
|
| 125 |
+
```python
|
| 126 |
+
from datasets import load_dataset
|
| 127 |
+
products = load_dataset(
|
| 128 |
+
"dream-machine-ai/Dream-Machine-08-09-Dataset",
|
| 129 |
+
name="products", split="train"
|
| 130 |
+
)
|
| 131 |
+
```
|
| 132 |
+
|
| 133 |
+
**[β View Dataset Card](https://huggingface.co/datasets/dream-machine-ai/Dream-Machine-08-09-Dataset)**
|
| 134 |
+
|
| 135 |
+
---
|
| 136 |
+
|
| 137 |
+
## π Spaces
|
| 138 |
+
|
| 139 |
+
### [dream-machine-ai / README](https://huggingface.co/spaces/dream-machine-ai/README)
|
| 140 |
+
|
| 141 |
+
Interactive landing page β no installation required.
|
| 142 |
+
Explore the model architecture, scaling law charts, and end-to-end deployment guide.
|
| 143 |
+
|
| 144 |
+
**[β Open Space](https://huggingface.co/spaces/dream-machine-ai/)**
|
| 145 |
+
|
| 146 |
+
---
|
| 147 |
+
|
| 148 |
+
## π Research
|
| 149 |
+
|
| 150 |
+
### DreamMachine: A Billion-Item Neural Recommendation Sorcerer
|
| 151 |
+
|
| 152 |
+
> Wen, Fangjun Β· DreamMachine Research Team Β· August 2026
|
| 153 |
+
> DOI: [10.5281/zenodo.21906715](https://doi.org/10.5281/zenodo.21906715)
|
| 154 |
+
|
| 155 |
+
**Seven original contributions:**
|
| 156 |
+
|
| 157 |
+
| # | Contribution | Key Formula |
|
| 158 |
+
|:-:|:-------------|:------------|
|
| 159 |
+
| C1 | Multi-Hash Transformer Dual-Tower | Ξ΅_eff = (1 β e^{βN/2B})^K |
|
| 160 |
+
| C2 | Hierarchical Feature Architecture | ID β sparse β dense numeric |
|
| 161 |
+
| C3 | RAG-Enhanced Multi-Channel Recall | FAISS IVF-PQ + CF + rules |
|
| 162 |
+
| C4 | Cross-Attention Listwise Re-ranker | CTR / CVR / dwell-time |
|
| 163 |
+
| C5 | Uncertainty-Weighted InfoNCE | Learnable Ο_kΒ² per task |
|
| 164 |
+
| C6 | Closed-Form Scaling Laws | 9 breakpoints 10Β² β 10ΒΉβ° |
|
| 165 |
+
| C7 | Production Serving Stack | FastAPI + ONNX + INT8 |
|
| 166 |
+
|
| 167 |
+
```bibtex
|
| 168 |
+
@techreport{wen2026dreammachine,
|
| 169 |
+
title = {Magic Shop at Scale: Dream-Machine --- A Billion-Item
|
| 170 |
+
Real-Time Neural Recommendation Sorcerer},
|
| 171 |
+
author = {Wen, Fangjun},
|
| 172 |
+
year = {2026},
|
| 173 |
+
institution = {DreamMachine Research Team},
|
| 174 |
+
doi = {10.5281/zenodo.21906715},
|
| 175 |
+
url = {https://doi.org/10.5281/zenodo.21906715},
|
| 176 |
+
note = {Technical Report, August 2026. arXiv cs.IR / cs.LG}
|
| 177 |
+
}
|
| 178 |
+
```
|
| 179 |
+
|
| 180 |
+
---
|
| 181 |
+
|
| 182 |
+
## π Quick Start
|
| 183 |
+
|
| 184 |
+
```bash
|
| 185 |
+
pip install transformers torch faiss-cpu huggingface_hub datasets
|
| 186 |
+
```
|
| 187 |
+
|
| 188 |
+
```python
|
| 189 |
+
# 1. Load model
|
| 190 |
+
from transformers import AutoModel, AutoFeatureExtractor
|
| 191 |
+
model = AutoModel.from_pretrained(
|
| 192 |
+
"dream-machine-ai/Dream-Machine-08-09", trust_remote_code=True
|
| 193 |
+
).eval()
|
| 194 |
+
|
| 195 |
+
# 2. Load dataset
|
| 196 |
+
from datasets import load_dataset
|
| 197 |
+
ds = load_dataset("dream-machine-ai/Dream-Machine-08-09-Dataset",
|
| 198 |
+
name="products", split="train")
|
| 199 |
+
|
| 200 |
+
# 3. Start inference server
|
| 201 |
+
# git clone https://huggingface.co/dream-machine-ai/Dream-Machine-08-09
|
| 202 |
+
# python serve_hf.py --model_dir ./hf_model --port 8000
|
| 203 |
+
```
|
| 204 |
+
|
| 205 |
+
---
|
| 206 |
+
|
| 207 |
+
## π All Resources
|
| 208 |
+
|
| 209 |
+
| Resource | Link |
|
| 210 |
+
|:---------|:-----|
|
| 211 |
+
| π€ **Model** | [dream-machine-ai/Dream-Machine-08-09](https://huggingface.co/dream-machine-ai/Dream-Machine-08-09) |
|
| 212 |
+
| π¦ **Dataset** | [dream-machine-ai/Dream-Machine-08-09-Dataset](https://huggingface.co/datasets/dream-machine-ai/Dream-Machine-08-09-Dataset) |
|
| 213 |
+
| π **Space** | [spaces/dream-machine-ai](https://huggingface.co/spaces/dream-machine-ai/) |
|
| 214 |
+
| π’ **Org** | [huggingface.co/DreamMachine-AI](https://huggingface.co/DreamMachine-AI) |
|
| 215 |
+
| π **Paper** | [Zenodo 10.5281/zenodo.21906715](https://doi.org/10.5281/zenodo.21906715) |
|
| 216 |
+
| π» **GitHub** | [When-Summer-Understands-Winter/Dream-Machine](https://github.com/When-Summer-Understands-Winter/Dream-Machine/) |
|
| 217 |
+
|
| 218 |
+
---
|
| 219 |
+
|
| 220 |
+
## βοΈ License
|
| 221 |
+
|
| 222 |
+
All models, datasets, and code published by DreamMachine Research are licensed under the
|
| 223 |
+
**Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0)**.
|
| 224 |
+
|
| 225 |
+
| β
Permitted | β Prohibited |
|
| 226 |
+
|:---|:---|
|
| 227 |
+
| Academic research & publication | Commercial products or services |
|
| 228 |
+
| Personal learning & experimentation | Revenue-generating deployments |
|
| 229 |
+
| Non-commercial derivative works | Sublicensing for profit |
|
| 230 |
+
| Citing in papers with attribution | Any business use without written permission |
|
| 231 |
+
|
| 232 |
+
> **Commercial use of any kind β including integrating model weights, code, or outputs into a product or service β requires explicit prior written consent from the author (Fangjun Wen).**
|
| 233 |
+
> Contact: fangjunwen168@outlook.com
|
| 234 |
+
|
| 235 |
+
[](https://creativecommons.org/licenses/by-nc/4.0/)
|
| 236 |
+
|
| 237 |
+
---
|
| 238 |
+
|
| 239 |
+
<div align="center">
|
| 240 |
+
|
| 241 |
+
<p style="font-size:1.05em;font-weight:700;margin:0.5em 0 0.3em;">
|
| 242 |
+
π€ <a href="https://huggingface.co/dream-machine-ai/Dream-Machine-08-09">Model</a> Β·
|
| 243 |
+
π¦ <a href="https://huggingface.co/datasets/dream-machine-ai/Dream-Machine-08-09-Dataset">Dataset</a> Β·
|
| 244 |
+
π <a href="https://huggingface.co/spaces/dream-machine-ai/">Space</a> Β·
|
| 245 |
+
π <a href="https://doi.org/10.5281/zenodo.21906715">Paper</a> Β·
|
| 246 |
+
π» <a href="https://github.com/When-Summer-Understands-Winter/Dream-Machine/">GitHub</a>
|
| 247 |
+
</p>
|
| 248 |
+
|
| 249 |
+
**DreamMachine Research Team** Β· Fangjun Wen Β· August 2026
|
| 250 |
+
|
| 251 |
+
`// built with focus Β· DreamMachine Research`
|
| 252 |
+
|
| 253 |
+
</div>
|