How to use from
llama.cpp
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf ufzoo/dreamling:F16
# Run inference directly in the terminal:
llama cli -hf ufzoo/dreamling:F16
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf ufzoo/dreamling:F16
# Run inference directly in the terminal:
llama cli -hf ufzoo/dreamling:F16
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-app
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama serve -hf ufzoo/dreamling:F16
# Run inference directly in the terminal:
./build/bin/llama cli -hf ufzoo/dreamling:F16
Use Docker
docker model run hf.co/ufzoo/dreamling:F16
Quick Links

Dreamling 1

Dreamling 1 is a GPT-style language model trained from scratch on one AMD Radeon RX 7900 XTX. This version is continued-trained on a public math/reasoning and instruction corpus and chat-tuned on its SFT split. This repository contains weights, tokenizer, and config only โ€” no code.

Files

File Format What
dreamling-500m.pt custom PyTorch continued-trained base weights
dreamling-500m-chat.pt custom PyTorch chat-tuned weights
model.safetensors HF Llama safetensors base weights (same as .pt)
dreamling-500m-chat.safetensors HF Llama safetensors chat weights (same as .pt)
dreamling-500m-f16.gguf GGUF F16 base
dreamling-500m-q8_0.gguf GGUF Q8_0 base
dreamling-500m-chat-f16.gguf GGUF F16 chat
dreamling-500m-chat-q8_0.gguf GGUF Q8_0 chat

The safetensors files use the Llama HF layout (model.layers.*.self_attn.*, mlp.gate_proj/up_proj/down_proj, RMSNorm, tied embeddings) with config.json. The GGUF files were generated with llama.cpp and load with the gpt-2 BPE pre-tokenizer.

Architecture

Parameters 517.8M total, 475.9M non-embedding
Layers 24
Width / heads 1280 / 10 (head dim 128)
Context 65,536 tokens
Vocabulary 32,768 BPE
Feed-forward SwiGLU, hidden 3456
Norm RMSNorm
Positions RoPE, theta 1,000,000
Embeddings tied

Additional training

The corpus provides 2.60B pretrain tokens and 383.7M SFT tokens. This release used a hardware-sized subset:

  • Continued pretraining: 25.0M pretrain tokens, 1,500 steps at 8k context, best validation loss 4.3137.
  • Chat SFT: 12.27M SFT tokens formatted as System/User/Assistant conversations, 749 steps at 2k context, validation loss 2.8037.

The starting Dreamling 1 checkpoint was trained on our 1.54B-token corpus (Wikipedia, Gutenberg, code, TinyStories) at 64k context. Final reference validation losses before this stage were 4.4226 (base, 64k) and 4.3001 (Dolly chat).

The data sources are permissively licensed (Apache-2.0, MIT, CC-BY-4.0, ODC-By); see training_info.json for the used subset and the original data cards for upstream attribution.

Formats and loading

  • .pt files contain model, config, tokenizer, step, tokens_seen, val_loss. The custom Dreamling implementation is not included here.
  • .safetensors + config.json use the Llama architecture and can be loaded with a Llama-capable implementation.
  • .gguf files are self-contained and load with llama.cpp/llama-cli; F16 is higher quality, Q8_0 is smaller.

The tokenizer is a byte-level BPE with <|endoftext|> id 0.

Limitations

This is a 500M model trained on a small subset of the public corpus on one GPU. It is heavily undertrained relative to its size. Chat formatting is learned, but facts, reasoning, code, and long-context retrieval remain unreliable. It is not RLHF- or safety-tuned.

License

Weights and config: MIT. Data licenses remain those of the upstream corpus.

Downloads last month
128
Safetensors
Model size
0.6B params
Tensor type
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support