Skip to content

Commit

Permalink
fix all issues and code clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
wenbingl committed Jan 13, 2025
1 parent 429e0a7 commit 7b7913a
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 939 deletions.
2 changes: 1 addition & 1 deletion operators/tokenizer/bpe_tokenizer_model.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ class BpeModel {
} else {
vocab_map_[line] = id;
}
special_tokens_.Add(std::move(line_32), id);
ORTX_RETURN_IF_ERROR(special_tokens_.Add(std::move(line_32), id));
}
}

Expand Down
Loading

0 comments on commit 7b7913a

Please sign in to comment.