aboutsummaryrefslogtreecommitdiff
path: root/examples/embedding
diff options
context:
space:
mode:
authorJudd <foldl@users.noreply.github.com>2023-07-07 00:23:49 +0800
committerGitHub <noreply@github.com>2023-07-06 19:23:49 +0300
commit36680f6e40e4440c3ec3385d0b7e5ca8bb6c37f7 (patch)
tree1878d52dbd76aae450e044208208ff9335ec2e56 /examples/embedding
parenta17a2683d8fdb899ba497d0c28ccafb28c62efb6 (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/embedding')
-rw-r--r--examples/embedding/embedding.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/embedding/embedding.cpp b/examples/embedding/embedding.cpp
index 2b7eb39..03e801c 100644
--- a/examples/embedding/embedding.cpp
+++ b/examples/embedding/embedding.cpp
@@ -18,7 +18,7 @@ int main(int argc, char ** argv) {
params.embedding = true;
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);
}