Closed manuelrech closed 1 year ago
` from pygpt4all.models.gpt4all import GPT4All
def new_text_callback(text): print(text, end="")
model = GPT4All('./models/ggml-gpt4all-l13b-snoozy.bin') model.generate("Once upon a time, ", n_predict=55, new_text_callback=new_text_callback) `
simply when running this code (with models on proper folder) I get error illegal instruction: 4. I have a M2 MacBook Air
illegal instruction: 4
@manuelrech
I think it is duplicate of #57. Please take a look at this comment
` from pygpt4all.models.gpt4all import GPT4All
def new_text_callback(text): print(text, end="")
model = GPT4All('./models/ggml-gpt4all-l13b-snoozy.bin') model.generate("Once upon a time, ", n_predict=55, new_text_callback=new_text_callback) `
simply when running this code (with models on proper folder) I get error
illegal instruction: 4
. I have a M2 MacBook Air