models : add phi-3, mpt, gpt-2, starcoder
This commit is contained in:
parent
c21ab1833e
commit
120cf37d54
20 changed files with 645 additions and 10 deletions
|
@ -177,6 +177,11 @@ int main(int argc, char **argv) {
|
|||
|
||||
const auto k_tests = read_tests(fname_inp, fname_out);
|
||||
|
||||
if (k_tests.empty()) {
|
||||
fprintf(stderr, "%s : error: no tests found\n", __func__);
|
||||
return 1;
|
||||
}
|
||||
|
||||
const bool add_special = false;
|
||||
|
||||
for (const auto & test_kv : k_tests) {
|
||||
|
@ -259,5 +264,8 @@ int main(int argc, char **argv) {
|
|||
|
||||
llama_backend_free();
|
||||
|
||||
printf("\n");
|
||||
printf("Tests %s\n", success ? "passed" : "failed");
|
||||
|
||||
return success ? 0 : 3;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue