chore: refactor to split files apart

This commit is contained in:
swaits committed 2024-09-24 11:45:13 -06:00
1 parent b97f853730
commit c23e56619c
7 files changed
+1188 -1159

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
/// The character used to denote word breaks in the tokenized output.
pub(crate) const WORD_BREAK_CHAR: &str = "▁";
/// The token used to mark the start of a sentence.
pub(crate) const SENTENCE_START_TOKEN: &str = "<s>";
/// The token used to mark the end of a sentence.
pub(crate) const SENTENCE_END_TOKEN: &str = "</s>";
/// The token used to represent unknown words or subwords.
pub(crate) const UNKNOWN_TOKEN: &str = "<unk>";