add comments
This commit is contained in:
parent
c31c118d86
commit
b30bea3257
1 changed files with 4 additions and 3 deletions
|
@ -13,9 +13,10 @@ struct callback_data {
|
||||||
int n_tokens = 0;
|
int n_tokens = 0;
|
||||||
int n_embd = 0;
|
int n_embd = 0;
|
||||||
bool is_eval_pos = true;
|
bool is_eval_pos = true;
|
||||||
std::vector<float *> v_pos;
|
// each element of the vector correspond to one layer
|
||||||
std::vector<float *> v_neg;
|
std::vector<float *> v_pos; // vector of matrices of size [n_embd, n_tokens]
|
||||||
std::vector<float *> v_diff;
|
std::vector<float *> v_neg; // vector of matrices of size [n_embd, n_tokens]
|
||||||
|
std::vector<float *> v_diff; // vector of matrices of size [n_embd, n_tokens]
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string ggml_ne_string(const ggml_tensor * t) {
|
static std::string ggml_ne_string(const ggml_tensor * t) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue