Skip to content

Commit

Permalink
fix tokenizer
Browse files Browse the repository at this point in the history
  • Loading branch information
黄宇扬 committed May 20, 2024
1 parent 5d366e1 commit f28b119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fastllm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -897,7 +897,7 @@ namespace fastllm {
charByteDict[special_token] = L'\x100' + n;
}
byteCharDict[L'\x100' + n++] = L'\xAD';
charByteDict[L'\xAD'] = L'\x100' + n++;
charByteDict[L'\xAD'] = L'\x100' + (n - 1);
}

Tokenizer::~Tokenizer() {
Expand Down

0 comments on commit f28b119

Please sign in to comment.