Upload folder using huggingface_hub
Browse files- README.md +43 -0
- config.json +19 -0
- model.pt +3 -0
- tokenizer.json +0 -0
README.md
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: apache-2.0
|
| 5 |
+
tags:
|
| 6 |
+
- bitnet
|
| 7 |
+
- 1-bit
|
| 8 |
+
- ternary
|
| 9 |
+
- slm
|
| 10 |
+
- cronus
|
| 11 |
+
- onebit-ai
|
| 12 |
+
pipeline_tag: text-generation
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# Cronus-150M (Native Ternary SLM)
|
| 16 |
+
|
| 17 |
+
**Cronus-150M** is a ~151M parameter general-purpose native ternary small language model developed by **OneBit AI**.
|
| 18 |
+
Forward body linear layers use **native ternary weights {-1, 0, +1}** with int8 activation quantization (BitNet b1.58 style) with fp32 master weights.
|
| 19 |
+
|
| 20 |
+
## Model Details
|
| 21 |
+
* **Organization:** [OneBit AI](https://huggingface.co/OneBitAI)
|
| 22 |
+
* **Architecture:** BitLinear Transformer SLM
|
| 23 |
+
* **Parameters:** 151,100,160
|
| 24 |
+
* **Hidden Dimension:** 768
|
| 25 |
+
* **Layers:** 24
|
| 26 |
+
* **Attention Heads:** 12 (Query) / 4 (KV, Grouped-Query Attention)
|
| 27 |
+
* **Intermediate Dimension:** 2048
|
| 28 |
+
* **Context Length:** 2048
|
| 29 |
+
* **Normalization:** RMSNorm with Sub-Layer Normalization (SubLN)
|
| 30 |
+
* **Vocabulary Size:** 49,152 (SmolLM2-135M tokenizer)
|
| 31 |
+
* **Precision / Training Mode:** `int8_tf32`
|
| 32 |
+
|
| 33 |
+
## Training Status (Burn / Smoke Run)
|
| 34 |
+
* **Tokens Trained:** ~149.95M tokens (286 updates, real 524,288 tokens/update)
|
| 35 |
+
* **Training Hardware:** NVIDIA GeForce RTX 5070
|
| 36 |
+
* **Final Training Loss:** 5.39 (from 10.99 initial)
|
| 37 |
+
* **Held-out Probe Loss:** 5.53 (from 6.68 initial)
|
| 38 |
+
|
| 39 |
+
## Files in this Repository
|
| 40 |
+
* `model.pt`: Clean model weights (`state_dict`).
|
| 41 |
+
* `step_000000286_final.pt`: Full resume training checkpoint (model weights, fp32 master weights, optimizer state).
|
| 42 |
+
* `config.json`: Architecture configuration parameters.
|
| 43 |
+
* `tokenizer.json`: Tokenizer vocabulary and BPE merges.
|
config.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_type": "cronus-150m",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"CronusForCausalLM"
|
| 5 |
+
],
|
| 6 |
+
"vocab_size": 49152,
|
| 7 |
+
"hidden_size": 768,
|
| 8 |
+
"num_hidden_layers": 24,
|
| 9 |
+
"num_attention_heads": 12,
|
| 10 |
+
"num_key_value_heads": 4,
|
| 11 |
+
"intermediate_size": 2048,
|
| 12 |
+
"max_position_embeddings": 2048,
|
| 13 |
+
"rms_norm_eps": 1e-05,
|
| 14 |
+
"rope_theta": 10000.0,
|
| 15 |
+
"sub_layer_norm": true,
|
| 16 |
+
"tie_word_embeddings": true,
|
| 17 |
+
"activation_qb": 128,
|
| 18 |
+
"num_parameters": 151100160
|
| 19 |
+
}
|
model.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c917e19e649e521e945e7034f1880f8b3544008ed852748ffbb5346873f0de14
|
| 3 |
+
size 604461163
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|