From a2ddaad577d4dc94d08f098102e347ab85b478a7 Mon Sep 17 00:00:00 2001 From: goerch Date: Fri, 29 Sep 2023 20:40:11 +0200 Subject: [PATCH] Fix PR for recent change --- tests/test-tokenizer-0-falcon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-tokenizer-0-falcon.cpp b/tests/test-tokenizer-0-falcon.cpp index 89d5b860e..0f3c50bce 100644 --- a/tests/test-tokenizer-0-falcon.cpp +++ b/tests/test-tokenizer-0-falcon.cpp @@ -85,7 +85,7 @@ int main(int argc, char **argv) { } } - if (llama_vocab_type(ctx) != LLAMA_VOCAB_TYPE_BPE) { + if (llama_vocab_type(model) != LLAMA_VOCAB_TYPE_BPE) { fprintf(stderr, "%s : error: vocab type is not BPE\n", __func__); llama_free_model(model); llama_free(ctx);