Apply suggestion from @ParthSareen

Co-authored-by: Parth Sareen <parth.sareen@ollama.com>
This commit is contained in:
Michael Yang
2025-12-17 15:29:55 -08:00
committed by GitHub
parent bddcb3fb16
commit 4a0f90ec38

View File

@@ -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"
}