We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a3797a commit feef76eCopy full SHA for feef76e
cpp/tokenizers.cc
@@ -35,7 +35,7 @@ std::string TokenizerObj::Decode(const std::vector<int32_t>& token_ids) const {
35
}
36
37
Tokenizer Tokenizer::FromPath(const String& _path) {
38
- std::filesystem::path path(_path);
+ std::filesystem::path path(_path.operator std::string());
39
std::filesystem::path sentencepiece;
40
std::filesystem::path huggingface;
41
std::filesystem::path rwkvworld;
0 commit comments