Downloads · 30 days
9
25% of all-time downloads
quik-models/stage2-from-vision-only
stage2-from-vision-only is a text generation model from quik-models. Use it when you need the model to write or continue text. The card lists the license as mit.
Downloads · 30 days
9
25% of all-time downloads
All-time downloads
36
Public
Repo size
227 MB
Likes
0
Public
Click a slice to open those files.
.pt227 MB · 100%
From the Hugging Face model README

AutoResearch-multivision-depth8 is a 77.6M parameter decoder-only Transformer trained from scratch on multivision.
This model is part of the AutoResearch project, which focuses on training, evaluating, and releasing efficient language models with reproducible research workflows.
This is a 8-layer decoder-only Transformer trained on the multivision dataset for 1.0 hours of wall-clock training time. The model achieves a validation bits-per-byte (val_bpb) of 1.215848 (perplexity: 2.3228) on the held-out validation set.
| Property | Value |
|---|---|
| Architecture | Decoder-only Transformer |
| Parameters | 77,575,312 (77.6M) |
| Layers | 8 |
| Hidden Size | 512 |
| Attention Heads | 4 |
| KV Heads | 4 |
| Head Dimension | 128 |
| Feed Forward Size | 2048 |
| Context Length | 2048 |
| Vocabulary Size | 16,384 |
| Positional Encoding | RoPE |
| Activation | ReLU² |
| Normalization | RMSNorm |
| Window Pattern | SSSL |
| Weight Tying | No |
This model was trained from scratch for 1.0 hours (3611s) of wall-clock training time.
| Setting | Value |
|---|---|
| Optimizer | MuonAdamW (Muon + AdamW) |
| Precision | torch.bfloat16 |
| Learning Rate | 0.04 (matrix) / 0.6 (embedding) |
| Weight Decay | 0.2 |
| Batch Size | 4 × 2048 = 8,192 tokens/step |
| Gradient Accumulation | 64 steps |
| Total Batch Size | 524,288 tokens |
| Context Length | 2048 |
| Vocabulary | 16,384 tokens (BPE) |
| LR Scheduler | Linear warmdown (50%) |
| Activation Checkpointing | Enabled |
Data is packed into fixed-length sequences of 2048 tokens using the nanochat-compatible BPE tokenizer (16,384 vocabulary, 9 special tokens). No additional filtering or deduplication is applied beyond what is in the source dataset.
This model is intended for:
Not recommended for:
| Metric | Score |
|---|---|
| Validation BPB | 1.215848 |
| Perplexity | 2.3228 |
| Peak VRAM | 3.9 GB |
| MFU | 9.27% |
Once upon a time,
Once upon a time, and were established in the first first first first first first first first first second first first first first first first second first second first first second second first second first second second second second second first second second second first second second second second second second second second second second second second second second first second second second second second second second second second second second second second second second third second second second third third second second second second second second second second second second second second second second second second second second second second third second second
A lonely dragon
A lonely dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon dragon
The opposite of boy is
The opposite of boy is also also..................................................................................................
The opposite of queen is
The opposite of queen is queen queen queen queen queen queen queen queen queen queen queen queen queen queen queen queen queen queen queen queen queen queen queen queen queen queen queen queen queen queen queen queen queen queen queen queen queen queen queen queen queen queen queen queen queen queen queen queen queen queen
My name is
My name is....................................................................................................
2 + 2 is
2 + 2 is2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
import torch
import pickle
import json
from train import GPT, GPTConfig, Tokenizer
# Load config
with open('config.json', 'r') as f:
config_dict = json.load(f)
config = GPTConfig(**{k: v for k, v in config_dict.items() if k in GPTConfig.__dataclass_fields__})
# Load model
model = GPT(config)
state_dict = torch.load('model.pt', map_location='cpu')['state_dict']
model.load_state_dict(state_dict)
model.eval()
# Load tokenizer
with open('tokenizer.pkl', 'rb') as f:
tokenizer = pickle.load(f)
# Generate
prompt = 'Once upon a time, '
input_ids = tokenizer.encode(prompt)
x = torch.tensor([input_ids], dtype=torch.long)
with torch.no_grad():
for _ in range(50):
logits = model(x)
probs = torch.softmax(logits[:, -1, :] / 0.8, dim=-1)
next_token = torch.multinomial(probs, num_samples=1)
input_ids.append(next_token.item())
x = torch.tensor([input_ids], dtype=torch.long)
print(tokenizer.decode(input_ids))
model.pt # Model weights
config.json # Model architecture config
dataset.txt # Dataset name used for training
token_bytes.pt # Token byte mappings
tokenizer.pkl # Trained BPE tokenizer
tokenizer_config.json # Tokenizer configuration
training_metrics.json # Training metrics
README.md # This file
@misc{autoresearch_multivision_depth8,
title={AutoResearch-multivision-depth8},
author={Dustin Loring},
year={2026},
howpublished={\url{https://huggingface.co/quik-models/stage2-from-vision-only}}
}}
| Version | Date | Notes |
|---|---|---|
| v1.0 | 2026-07-31 | Initial release |
Built with the AutoResearch training framework.
Thanks to:
This model is released under the MIT License unless otherwise specified.