tests : fix test-tokenizer-0.sh

This commit is contained in:
Georgi Gerganov 2024-05-28 15:04:09 +03:00
parent 8b99e2aa66
commit edc29433fa
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735

View File

@ -28,6 +28,8 @@ printf "Tokenizing using (cpp) llama.cpp ...\n"
cat /tmp/test-tokenizer-0-$name-py.log | grep "tokenized in"
cat /tmp/test-tokenizer-0-$name-cpp.log | grep "tokenized in"
set +e
diff $input.tok $input.tokcpp > /dev/null 2>&1
if [ $? -eq 0 ]; then