diff options
author | Judd <foldl@users.noreply.github.com> | 2023-07-07 00:23:49 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-06 19:23:49 +0300 |
commit | 36680f6e40e4440c3ec3385d0b7e5ca8bb6c37f7 (patch) | |
tree | 1878d52dbd76aae450e044208208ff9335ec2e56 /examples/main | |
parent | a17a2683d8fdb899ba497d0c28ccafb28c62efb6 (diff) |
convert : update for baichuan (#2081)
1. guess n_layers;
2. relax warnings on context size;
3. add a note that its derivations are also supported.
Co-authored-by: Judd <foldl@boxvest.com>
Diffstat (limited to 'examples/main')
-rw-r--r-- | examples/main/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/main/main.cpp b/examples/main/main.cpp index 3a17192..0f6391a 100644 --- a/examples/main/main.cpp +++ b/examples/main/main.cpp @@ -85,7 +85,7 @@ int main(int argc, char ** argv) { } if (params.n_ctx > 2048) { - fprintf(stderr, "%s: warning: model does not support context sizes greater than 2048 tokens (%d specified);" + fprintf(stderr, "%s: warning: model might not support context sizes greater than 2048 tokens (%d specified);" "expect poor results\n", __func__, params.n_ctx); } else if (params.n_ctx < 8) { fprintf(stderr, "%s: warning: minimum context size is 8, using minimum size.\n", __func__); |