|
Download README.md from EncryptidSystems/hodge-5.1: direct link, hf CLI and curl.
- Browser
- Download file 2.24 kB
-
https://huggingface.co/EncryptidSystems/hodge-5.1/resolve/main/README.md
- Command line
-
hf download hf://EncryptidSystems/hodge-5.1/README.md
-
curl -L -o README.md https://huggingface.co/EncryptidSystems/hodge-5.1/resolve/main/README.md
2.24 kB
| language: | |
| - en | |
| pipeline_tag: text-generation | |
| tags: | |
| - text-generation | |
| - hodge | |
| - ternary | |
| base_model: | |
| - EncryptidSystems/Hodge-5 | |
| - openai/gpt-oss-120b | |
| # Hodge-5.1 | |
| Hodge-5.1 is a ternarized causal language model. The linear layers are Hodge linear, quantized offline. The base is Hodge-5. The source mixed into it is gpt-oss. Topology stays on the base, so the output depth is 36 layers. | |
| Layers 0–29 keep the Hodge-5 dense projections. The mix stored the leftover as extra digit planes. About 2,100 of those planes are in this file and not in Hodge-5o. On the body their scale is 0, so they add nothing to the matmul, and they still occupy a full plane in memory. The checkpoint is 5.68 GB. gptrun reads 3,338 tensors. Hodge-5o reads 1,244 tensors from a 4.06 GB file. | |
| Layers 30–35 are the tail. The tail gate scale is about 0.0003, against body gate scales around 2, so that feed-forward is shut. Tail attention still runs. Layer 35 carries an output plane at scale 0.40 on a primary scale of 0.14. That plane is not in Hodge-5o. The head reads the residual after it. | |
| ## Model | |
| | | | | |
| | --- | --- | | |
| | hidden size | 2560 | | |
| | layers | 36 | | |
| | intermediate size | 6912 | | |
| | attention heads | 20 | | |
| | key-value heads | 5 | | |
| | head size | 128 | | |
| | vocabulary | 563206 | | |
| | context length | 4096 | | |
| | rope theta | 500000 | | |
| | activation | relu2 | | |
| | local experts in the file | 128 | | |
| | experts per token in the file | 4 | | |
| | embeddings | tied | | |
| | weight dtype | packed ternary, bfloat16 scale | | |
| | bos token id | 128000 | | |
| | eos token ids | 128001, 128009 | | |
| The checkpoint also stores a quaternary expert chart beside the dense gate. The dense `mlp.gate_proj` block is the relu2 path. A runtime that adds the chart on top of that gate mixes a second feed-forward into the residual. | |
| ## Weights | |
| `hodge-5.1.bnz.ternary.safetensors` | |
| ## Chat | |
| Each turn is a role line closed by `<|eot_id|>`. Generation starts at `Assistant: `. | |
| ``` | |
| User: Where was the federal district placed?<|eot_id|>Assistant: | |
| ``` | |
| ## Sampling | |
| `generation_config.json` samples with temperature 0.6 and top-p 0.9. The length cap is 4096. | |
| ## Run | |
| gptrun loads the ternary safetensors beside `config.json` and `tokenizer.json`. | |
| ``` | |
| gptrun run --config hodge-5.1.bnz.yaml | |
| ``` |