mirror of
https://github.com/tcsenpai/ollama.git
synced 2025-06-07 11:45:21 +00:00
fix dolphin-mistral
This commit is contained in:
parent
343aba9fca
commit
3cc7ec4429
@ -68,7 +68,7 @@ func (s *Sequence) prompt() bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s *Server) NewSequence(prompt string, numPredict int, stop []string, params *llama.SamplingParams, embedding bool) *Sequence {
|
func (s *Server) NewSequence(prompt string, numPredict int, stop []string, params *llama.SamplingParams, embedding bool) *Sequence {
|
||||||
tokens, err := s.lc.Model().Tokenize(prompt, embedding, true)
|
tokens, err := s.lc.Model().Tokenize(prompt, true, true)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user