Skip to content

Commit

Permalink
Update sentencepiece.cpp
Browse files Browse the repository at this point in the history
Fix typo.
  • Loading branch information
mikekgfb authored Dec 23, 2024
1 parent 871a874 commit 9f6b198
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokenizer/sentencepiece.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ void SPTokenizer::load(const std::string& tokenizer_path) {
if (!status.ok()) {
// Execute 'ls -al' on the tokenizer path
std::string command = "set -x ; ls -al " + tokenizer_path;
fprintf(stderr, "Command: %s!\nlen: %d\n", command.c_str(), strlen(command.c_str())):
fprintf(stderr, "Command: '%s'.\nlen: %d\n", command.c_str(), strlen(command.c_str()));
int ret = system(command.c_str());
if (ret != 0) {
fprintf(stderr, "Failed to execute 'ls -al' on path: %s\n", tokenizer_path.c_str());
Expand Down

0 comments on commit 9f6b198

Please sign in to comment.