Text Generation
Transformers
Safetensors
udream
Mixture of Experts
mixture-of-experts
ukrainian
nope
sliding-window-attention
from-scratch
custom_code
Instructions to use UDream/UDream-1.0-Base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use UDream/UDream-1.0-Base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="UDream/UDream-1.0-Base", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("UDream/UDream-1.0-Base", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use UDream/UDream-1.0-Base with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "UDream/UDream-1.0-Base" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "UDream/UDream-1.0-Base", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/UDream/UDream-1.0-Base
- SGLang
How to use UDream/UDream-1.0-Base 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 "UDream/UDream-1.0-Base" \ --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": "UDream/UDream-1.0-Base", "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 "UDream/UDream-1.0-Base" \ --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": "UDream/UDream-1.0-Base", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use UDream/UDream-1.0-Base with Docker Model Runner:
docker model run hf.co/UDream/UDream-1.0-Base
Add Zenodo technical report DOI (10.5281/zenodo.24653108) and BibTeX citation
Browse files
README.md
CHANGED
|
@@ -22,6 +22,10 @@ tags:
|
|
| 22 |
|
| 23 |
# UDream 1.0 Base (`UDream/UDream-1.0-Base`)
|
| 24 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
**UDream 1.0 Base** is a from-scratch **Ukrainian-first sparse Mixture-of-Experts (MoE)** pretrained base language model (**4.14B backbone / 4.20B total parameters**, **1.44B active backbone / 1.50B full active**), trained on **63.73B tokens** plus a **32k Long-Context Bridge** (32.8M tokens) on a single 2脳 NVIDIA RTX 5090 workstation.
|
| 26 |
|
| 27 |
> **Staged Release Note:** This repository hosts the **Base** checkpoint (`step=972,500` + 32k context bridge, trained exclusively on public web/news/wiki corpora) alongside the `udream-64k` tokenizer and evaluation scripts. Conversational chat weights (`UDream-1.0-Chat`, with active 8D hormonal dialogue alignment) will be released separately after ongoing on-policy DPO alignment.
|
|
@@ -101,9 +105,13 @@ All 9 models below were evaluated on identical hardware (`cuda:0`, bf16) with ve
|
|
| 101 |
|
| 102 |
```bibtex
|
| 103 |
@misc{dormidontov2026udream10,
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 108 |
}
|
| 109 |
```
|
|
|
|
| 22 |
|
| 23 |
# UDream 1.0 Base (`UDream/UDream-1.0-Base`)
|
| 24 |
|
| 25 |
+
[](https://doi.org/10.5281/zenodo.24653108)
|
| 26 |
+
|
| 27 |
+
**Technical Report (Preprint):** [Zenodo (DOI: 10.5281/zenodo.24653108)](https://doi.org/10.5281/zenodo.24653108) 路 **Project Page:** [udream.com.ua](https://udream.com.ua)
|
| 28 |
+
|
| 29 |
**UDream 1.0 Base** is a from-scratch **Ukrainian-first sparse Mixture-of-Experts (MoE)** pretrained base language model (**4.14B backbone / 4.20B total parameters**, **1.44B active backbone / 1.50B full active**), trained on **63.73B tokens** plus a **32k Long-Context Bridge** (32.8M tokens) on a single 2脳 NVIDIA RTX 5090 workstation.
|
| 30 |
|
| 31 |
> **Staged Release Note:** This repository hosts the **Base** checkpoint (`step=972,500` + 32k context bridge, trained exclusively on public web/news/wiki corpora) alongside the `udream-64k` tokenizer and evaluation scripts. Conversational chat weights (`UDream-1.0-Chat`, with active 8D hormonal dialogue alignment) will be released separately after ongoing on-policy DPO alignment.
|
|
|
|
| 105 |
|
| 106 |
```bibtex
|
| 107 |
@misc{dormidontov2026udream10,
|
| 108 |
+
author = {Dormidontov, Oleksandr},
|
| 109 |
+
title = {{UDream 1.0: A From-Scratch Ukrainian Sparse MoE Conversational Language Model with Continuous 8D Hormonal Conditioning and Hybrid 32k Context}},
|
| 110 |
+
month = nov,
|
| 111 |
+
year = {2026},
|
| 112 |
+
publisher = {Zenodo},
|
| 113 |
+
version = {1.0},
|
| 114 |
+
doi = {10.5281/zenodo.24653108},
|
| 115 |
+
url = {https://doi.org/10.5281/zenodo.24653108}
|
| 116 |
}
|
| 117 |
```
|