Skip to content

Commit 3b07a26

Browse files
authored
Merge pull request #1 from mpj1234/main
fest(tokenizer): Fix redundant im_end token output
2 parents d99c673 + edcd0c9 commit 3b07a26

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/tokenizer.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1065,7 +1065,6 @@ struct PreTrainedTokenizer::Impl {
10651065
}
10661066
}
10671067
}
1068-
if (add_special_tokens && special_tokens_.eos != -1) input_ids.push_back(special_tokens_.eos);
10691068
return input_ids;
10701069
}
10711070

0 commit comments

Comments
 (0)