chickadee » llama » checkpoint-init-weights

checkpoint-init-weights config port shared-weights file-size #!key (layout 'flat)procedure

Reads the weights that follow the configuration header and returns a transformer-weights record.

shared-weights
true when the classifier is the token embedding table; otherwise the classifier is read from the rest of the file
file-size
size of the checkpoint file in bytes
layout
'flat or 'per-layer, as described under Model weights