fixup! lookup: evaluation tools, use corpus/previous gens
This commit is contained in:
parent
e2f6704d6c
commit
e04cf1a24c
2 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ void llama_ngram_cache_update(llama_ngram_cache & ngram_cache, int ngram_min, in
|
||||||
const int64_t eta_min = eta_ms / (60*1000);
|
const int64_t eta_min = eta_ms / (60*1000);
|
||||||
const int64_t eta_s = (eta_ms - 60*1000*eta_min) / 1000;
|
const int64_t eta_s = (eta_ms - 60*1000*eta_min) / 1000;
|
||||||
|
|
||||||
fprintf(stderr, "%s: %ld/%ld done, ETA: %02ld:%02ld\n", __func__, n_done, n_todo, eta_min, eta_s);
|
fprintf(stderr, "%s: %ld/%ld done, ETA: %02" PRId64 ":%02" PRId64 "\n", __func__, n_done, n_todo, eta_min, eta_s);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -132,7 +132,7 @@ int main(int argc, char ** argv){
|
||||||
const int64_t eta_min = eta_ms / (60*1000);
|
const int64_t eta_min = eta_ms / (60*1000);
|
||||||
const int64_t eta_s = (eta_ms - 60*1000*eta_min) / 1000;
|
const int64_t eta_s = (eta_ms - 60*1000*eta_min) / 1000;
|
||||||
|
|
||||||
LOG_TEE("%d/%d done, ETA: %02ld:%02ld\n", i_start, n_input, eta_min, eta_s);
|
LOG_TEE("lookup-stats: %d/%d done, ETA: %02" PRId64 ":%02" PRId64 "\n", i_start, n_input, eta_min, eta_s);
|
||||||
}
|
}
|
||||||
|
|
||||||
// After each chunk, update the dynamic ngram cache with the context ngram cache:
|
// After each chunk, update the dynamic ngram cache with the context ngram cache:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue