type Model

bend-ml-llama@0.2.1.0 · main.bend:984

import bend-ml-llama@0.2.1.0/main.bend as BendMlLlama
import Base
import bend-ml-tensor-array@0.1.19.0/main.bend as TA

984# emb: the embedding (vocab rows; also the LM head, tied); lnf: the final norm's gains
985type Model<-c: Cfg> is Type:
986  Model{d: Nat, emb: TA.Bands<Cfg.vocab(c), Cfg.dim(c)>, layers: List<&1, LW<c>>, lnf: List<&2, F32>}

Uses (8)

Used by (9)