Skip to content

Commit

Permalink
Added support for LLongMA (#3616)
Browse files Browse the repository at this point in the history
Added tokenizer for llongma
  • Loading branch information
shahules786 authored Jul 29, 2023
1 parent c2c1318 commit b9ac30a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions model/model_training/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ class TokenizerConfig(NamedTuple):
"falcon": TokenizerConfig(
special_tokens=SpecialTokens("<|endoftext|>", "<|endoftext|>", sep_token="<|endoftext|>")
),
"LLongMA": TokenizerConfig(special_tokens=SpecialTokens("</s>", "</s>", sep_token="<s>")),
}


Expand Down

0 comments on commit b9ac30a

Please sign in to comment.