We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, I met the wrong shape in the model file, does anyone know how to resolve this?
➜ build git:(master) make -j4 gpt-2 Consolidate compiler generated dependencies of target ggml_utils Consolidate compiler generated dependencies of target ggml [ 33%] Built target ggml_utils [ 66%] Built target ggml Consolidate compiler generated dependencies of target gpt-2 [100%] Built target gpt-2 ➜ build git:(master) ../examples/gpt-2/download-ggml-model.sh 117M Downloading ggml model 117M ... models/gpt-2-117M/ggml-mod 100%[======================================>] 239.58M 41.3MB/s in 6.2s Done! Model '117M' saved in 'models/gpt-2-117M/ggml-model.bin' You can now use it like this: $ ./bin/gpt-2 -m models/gpt-2-117M/ggml-model.bin -p "This is an example" ➜ build git:(master) ./bin/gpt-2 -m models/gpt-2-117M/ggml-model.bin -p "This is an example" main: seed = 1680664186 gpt2_model_load: loading model from 'models/gpt-2-117M/ggml-model.bin' gpt2_model_load: n_vocab = 50257 gpt2_model_load: n_ctx = 1024 gpt2_model_load: n_embd = 768 gpt2_model_load: n_head = 12 gpt2_model_load: n_layer = 12 gpt2_model_load: f16 = 1 gpt2_model_load: ggml ctx size = 384.74 MB gpt2_model_load: memory size = 72.00 MB, n_mem = 12288 gpt2_model_load: tensor 'model/h0/attn/c_attn/w' has wrong shape in model file: got [768, 2304], expected [2304, 768] main: failed to load model from 'models/gpt-2-117M/ggml-model.bin'
The text was updated successfully, but these errors were encountered:
Model format recently changed, try converting the original model.
Sorry, something went wrong.
Use vdotq_s32 to improve performance (ggerganov#67)
84d9015
* 10% performance boost on ARM * Back to original change
No branches or pull requests
Hello,
I met the wrong shape in the model file, does anyone know how to resolve this?
The text was updated successfully, but these errors were encountered: