private-gpt icon indicating copy to clipboard operation
private-gpt copied to clipboard

Are there any other GPT4All-J compatible models of which MODEL_N_CTX is greater than 2048?

Open fishfree opened this issue 2 years ago • 2 comments

I tried ggml-mpt-7b-instruct.bin of which MODEL_N_CTX is 4096. But error occured when loading:

gptj_model_load: loading model from 'models/ggml-mpt-7b-instruct.bin' - please wait ...
gptj_model_load: invalid model file 'models/ggml-mpt-7b-instruct.bin' (bad magic)
GPT-J ERROR: failed to load model from models/ggml-mpt-7b-instruct.bin

fishfree avatar May 24 '23 22:05 fishfree

Have been getting similar errors with various models as per below, the error is the same:

gptj_model_load: invalid model file 'models/mpt-7b-instruct.ggmlv3.q8_0.bin' (bad vocab size 2007 != 4096)

darrinh avatar May 24 '23 23:05 darrinh

yeah so in privateGPT on line 36 change " backend='gptj' " to " backend='mpt' "

ProxyAyush avatar Jun 04 '23 01:06 ProxyAyush