Small changes to ROPE & comments
This commit is contained in:
@@ -51,8 +51,8 @@ typedef struct {
|
||||
// final rmsnorm
|
||||
float* rms_final_weight; // (dim,)
|
||||
// freq_cis for RoPE relatively positional embeddings
|
||||
float* freq_cis_real; // (seq_len, dim/2)
|
||||
float* freq_cis_imag; // (seq_len, dim/2)
|
||||
float* freq_cis_real; // (seq_len, head_size/2)
|
||||
float* freq_cis_imag; // (seq_len, head_size/2)
|
||||
// (optional) classifier weights for the logits, on the last layer
|
||||
float* wcls;
|
||||
} TransformerWeights;
|
||||
|
||||
Reference in New Issue
Block a user