Apply suggestion from @ParthSareen
Co-authored-by: Parth Sareen <parth.sareen@ollama.com>
This commit is contained in:
@@ -249,7 +249,7 @@ func parseVocabularyFromTokenizer(fsys fs.FS) (*Vocabulary, error) {
|
||||
}
|
||||
|
||||
model := "gpt2"
|
||||
if t.Decoder.Type == "SentencePiece" {
|
||||
if t.Decoder.Type == "Sequence" {
|
||||
model = "llama"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user