Apply suggestion from @ParthSareen
Co-authored-by: Parth Sareen <parth.sareen@ollama.com>
This commit is contained in:
parent
bddcb3fb16
commit
4a0f90ec38
|
|
@ -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"
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue