Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Commit 9f6b198

Browse files
authored
Update sentencepiece.cpp
Fix typo.
1 parent 871a874 commit 9f6b198

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tokenizer/sentencepiece.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ void SPTokenizer::load(const std::string& tokenizer_path) {
4242
if (!status.ok()) {
4343
// Execute 'ls -al' on the tokenizer path
4444
std::string command = "set -x ; ls -al " + tokenizer_path;
45-
fprintf(stderr, "Command: %s!\nlen: %d\n", command.c_str(), strlen(command.c_str())):
45+
fprintf(stderr, "Command: '%s'.\nlen: %d\n", command.c_str(), strlen(command.c_str()));
4646
int ret = system(command.c_str());
4747
if (ret != 0) {
4848
fprintf(stderr, "Failed to execute 'ls -al' on path: %s\n", tokenizer_path.c_str());

0 commit comments

Comments
 (0)