Skip to page content
SAVRN
Search Plan a project

Open-weight model

ternary-composer-charlm

by Cody Dixon CodeMasterCody3D/ternary-composer-charlm

ternary-composer-charlm is an open-weight model from Cody Dixon. Its published files total 5.7 GB.

A strict all-ternary character-level language model — every linear weight is {-1, 0, +1} — built on a Composer lane-FFN (4 conditional ternary "lanes" gated by a ternary controller) with ternary attention, trained with the alive-init recipe.

Parameters—
Context—
Weights5.7 GB
License—
AccessOpen weights
Monthly Downloads—

Model Card

A strict all-ternary character-level language model — every linear weight is {-1, 0, +1} — built on a Composer lane-FFN (4 conditional ternary "lanes" gated by a ternary controller) with ternary attention, trained with the alive-init recipe. Banked here as a checkpoint of ongoing research (TernaryTest project). Not a chat model — a small research char-LM. Status: research checkpoint; the accompanying paper is unfinished and will ship with the finished model. The 16k run used one window per step (same tokens/step as the 2048 run) and lost to it at every step: one document per step collapses gradient diversity. Long context needs packed multi-document windows (see trainlive.py --pack) and…

Excerpt from the card by Cody Dixon.

Identity and Version

Repository
CodeMasterCody3D/ternary-composer-charlm
Publisher
Cody Dixon
Task
Not stated by the source
Modality
Other
Library
pytorch
Parameters
Not stated by the source
Languages
Not stated by the source
Revision
673fe99e30cd24d38f8fff9ea248778fd840895f
First published
2026-09-24
Last updated
2026-09-27

Files and Weights

65 files, 5.7 GB in total. The weights are 14 files totalling 5.7 GB in pt.

Weights14 files · 5.7 GB
Configuration28 files · 254.0 KB
Tokenizer3 files · 2.3 MB
Documentation1 file · 7.9 KB
Other18 files · 706.8 KB
Repository1 file · 1.5 KB
Every file
FileTypeSizeSHA-256
adamA/best_model.ptWeights302.6 MB 1613a85045ec
best_model.ptWeights5.4 MB b9aab4ab0005
big1/best_model.ptWeights336.3 MB 5dda49156f84
big1/best_step46000_1.0597.ptWeights336.3 MB c776716626cb
big1/latest.ptWeights1.0 GB 238dc355cc75
big1chat/best_model.ptWeights336.2 MB b85d689eb1e8
big1rig/best_model.ptWeights302.6 MB b057d8af6b77
big1rig/latest.ptWeights907.9 MB 2ceca2a33f72
big1rig/latest_int8_step3350.ptWeights907.9 MB 8f377d413871
big1rig/latest_k1_step5200.ptWeights907.9 MB f178aa862660
ctx16k/best_model.ptWeights5.4 MB 43802f4da896
ctx2048/best_model.ptWeights5.4 MB c9a2bf3dea4a
flipB/best_model.ptWeights302.6 MB 3ad2a13da654
live1/best_model.ptWeights5.4 MB e8518d127e4b
bench_rig.pyConfiguration3.1 KB —
bench_switch_int.pyConfiguration3.1 KB —
big1/control.jsonConfiguration1.2 KB —
big1rig/control.jsonConfiguration1.1 KB —
charset.jsonConfiguration1.4 KB —
chat.pyConfiguration13.0 KB —
chat_test.pyConfiguration4.8 KB —
corpus_stream.pyConfiguration23.7 KB —
ctx16k/progress.jsonConfiguration16.4 KB —
ctx2048/progress.jsonConfiguration16.3 KB —
diag_ctx.pyConfiguration4.3 KB —
diag_nan.pyConfiguration3.3 KB —
diag_srcs.pyConfiguration2.5 KB —
diag_step.pyConfiguration2.1 KB —
eval_compare.pyConfiguration2.9 KB —
fixed_corpus.pyConfiguration7.2 KB —
flip_lm.pyConfiguration8.6 KB —
generate.pyConfiguration4.7 KB —
int_forward.pyConfiguration15.6 KB —
int_ops.pyConfiguration8.5 KB —
make_chat_corpus.pyConfiguration8.6 KB —
smoke_k1.pyConfiguration2.4 KB —
tern_hip.pyConfiguration13.1 KB —
tern_kernels.pyConfiguration8.9 KB —
ternary_lm.pyConfiguration24.9 KB —
train_best.pyConfiguration4.5 KB —
train_ctx.pyConfiguration11.5 KB —
train_live.pyConfiguration36.5 KB —
README.mdDocumentation7.9 KB —
adamA/events.jsonlOther25.5 KB —
adamA/train.logOther7.1 KB —
big1/events.jsonlOther171.7 KB —
big1/train.logOther39.7 KB —
big1chat/events.jsonlOther2.3 KB —
big1rig/events.jsonlOther183.8 KB —
csrc/tern_kernels.cuOther24.7 KB —
ctx16k/log.txtOther9.6 KB —
ctx2048/log.txtOther9.2 KB —
flipB/events.jsonlOther26.1 KB —
flipB/train.logOther7.6 KB —
launch_big1.shOther914 B —
launch_rig.shOther2.1 KB —
launch_rig_chat.shOther2.4 KB —
live1/events.jsonlOther188.9 KB —
relaunch_big1.shOther1.8 KB —
rollover_big1.shOther2.3 KB —
run_live.shOther1.1 KB —
.gitattributesRepository1.5 KB —
make_tokenizer.pyTokenizer4.5 KB —
tokenizer.jsonTokenizer2.3 MB —
tokenizer.json.stats.jsonTokenizer1.8 KB —

License and Download

License
Not stated by the source
Access
Open weights, no gate
Download size
5.7 GB
Download from Cody Dixon

Released by Cody Dixon through its official repository on Hugging Face.

Memory Requirements

PrecisionWeights in memory
As published5.7 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.