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

Commit 871a874

Browse files
authored
Update sentencepiece.cpp
Add print
1 parent fb24e0b commit 871a874

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tokenizer/sentencepiece.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +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())):
4546
int ret = system(command.c_str());
4647
if (ret != 0) {
4748
fprintf(stderr, "Failed to execute 'ls -al' on path: %s\n", tokenizer_path.c_str());

0 commit comments

Comments
 (0)