File size: 990 Bytes
d67f00a d21d793 d67f00a d21d793 d67f00a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | ---
language:
- en
pipeline_tag: text-generation
tags:
- text-generation
- hodge
---
# Hodge-3.5
Hodge-3.5 is a ternarized causal language model. The linear layers are Hodge linear, quantized offline.
## Model
| | |
| --- | --- |
| hidden size | 2560 |
| layers | 30 |
| intermediate size | 6912 |
| attention heads | 20 |
| key-value heads | 5 |
| head size | 128 |
| vocabulary | 514304 |
| context length | 4096 |
| rope theta | 500000 |
| activation | relu2 |
| embeddings | tied |
| weight dtype | bfloat16 |
| bos token id | 128000 |
| eos token ids | 128001, 128009 |
## Weights
`hodge-3.5.bnz`
## Chat
Each turn is a role line closed by `<|eot_id|>`. Generation starts at `Assistant: `.
## Sampling
`generation_config.json` samples with temperature 0.6 and top-p 0.9. The length cap is 4096.
## Run
ModelRun loads this directory. The catalog points `model` at `hodge-3.5.bnz`, beside `config.json` and `tokenizer.json`.
```
modelrun run --config hodge-3.5.bnz.yaml
```
|