fix dolphin-mistral
This commit is contained in:
parent
21947d5c1b
commit
47b0e81219
@ -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