Cornell-RelaxML / quip-sharp

GNU General Public License v3.0
505 stars 44 forks source link

Llama-2-7b-E8P-2Bit not loading correctly. #39

Closed YilunKuang closed 9 months ago

YilunKuang commented 9 months ago

Hi,

I was loading this model https://huggingface.co/relaxml/Llama-2-7b-E8P-2Bit from huggingface.

from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("relaxml/Llama-2-7b-E8P-2Bit")
model = AutoModelForCausalLM.from_pretrained("relaxml/Llama-2-7b-E8P-2Bit")

It gives an error message about model loading:

Some weights of the model checkpoint at relaxml/Llama-2-7b-E8P-2Bit were not used when initializing LlamaForCausalLM: ['model.layers.27.self_attn.qkv_proj.codebook_id', 'model.layers.19.mlp.down_proj.Qidxs', 'model.layers.26.self_attn.qkv_proj.codebook_id', 'model.layers.15.self_attn.qkv_proj.SV', 'model.layers.16.self_attn.o_proj.Wscale', 'model.layers.23.mlp.down_proj.SU', 'model.layers.8.mlp.upgate_proj.SU', 'model.layers.6.self_attn.qkv_proj.Qidxs', 'model.layers.24.self_attn.o_proj.SU', 'model.layers.17.mlp.upgate_proj.SU', 'model.layers.23.self_attn.o_proj.SU', 'model.layers.9.mlp.down_proj.SU', 'model.layers.24.mlp.down_proj.codebook_id', 'model.layers.28.self_attn.o_proj.Qidxs', 'model.layers.2.self_attn.o_proj.codebook_id', 'model.layers.26.self_attn.o_proj.Qidxs', 'model.layers.10.mlp.down_proj.SV', 'model.layers.25.self_attn.o_proj.SU', 'model.layers.2.mlp.upgate_proj.fuse_scales', 'model.layers.21.mlp.upgate_proj.codebook_id', 'model.layers.31.self_attn.o_proj.codebook_id', 'model.layers.29.self_attn.qkv_proj.fuse_scales', 'model.layers.0.self_attn.qkv_proj.Qidxs', 'model.layers.31.self_attn.o_proj.Wscale', 'model.layers.0.self_attn.qkv_proj.Wscale', 'model.layers.18.mlp.down_proj.Qidxs', 'model.layers.23.mlp.upgate_proj.SU', 'model.layers.21.mlp.down_proj.Wscale', 'model.layers.24.self_attn.o_proj.Qidxs', 'model.layers.2.self_attn.qkv_proj.SV', 'model.layers.27.mlp.down_proj.codebook_id', 'model.layers.18.mlp.down_proj.codebook_id', 'model.layers.3.self_attn.o_proj.Wscale', 'model.layers.19.mlp.upgate_proj.SU', 'model.layers.3.self_attn.o_proj.SV', 'model.layers.20.mlp.upgate_proj.codebook_id', 'model.layers.8.self_attn.qkv_proj.fuse_scales', 'model.layers.20.self_attn.qkv_proj.Wscale', 'model.layers.31.mlp.upgate_proj.codebook_id', 'model.layers.2.self_attn.o_proj.Qidxs', 'model.layers.4.mlp.down_proj.codebook_id', 'model.layers.28.mlp.upgate_proj.Qidxs', 'model.layers.9.mlp.down_proj.Qidxs', 'model.layers.15.self_attn.o_proj.Wscale', 'model.layers.11.self_attn.qkv_proj.SU', 'model.layers.0.mlp.down_proj.SU', 'model.layers.9.mlp.upgate_proj.SU', 'model.layers.19.mlp.down_proj.codebook_id', 'model.layers.6.mlp.upgate_proj.Qidxs', 'model.layers.29.mlp.down_proj.SU', 'model.layers.18.mlp.upgate_proj.Qidxs', 'model.layers.12.self_attn.qkv_proj.SV', 'model.layers.30.mlp.down_proj.SU', 'model.layers.12.mlp.down_proj.SV', 'model.layers.16.mlp.upgate_proj.SV', 'model.layers.3.mlp.upgate_proj.SU', 'model.layers.16.self_attn.o_proj.SU', 'model.layers.11.mlp.upgate_proj.codebook_id', 'model.layers.4.self_attn.qkv_proj.fuse_scales', 'model.layers.29.mlp.down_proj.Wscale', 'model.layers.31.self_attn.qkv_proj.SV', 'model.layers.4.self_attn.qkv_proj.Wscale', 'model.layers.16.mlp.upgate_proj.fuse_scales', 'model.layers.18.mlp.upgate_proj.codebook_id', 'model.layers.24.mlp.upgate_proj.SV', 'model.layers.23.self_attn.o_proj.SV', 'model.layers.7.self_attn.qkv_proj.fuse_scales', 'model.layers.23.mlp.upgate_proj.Wscale', 'model.layers.19.mlp.down_proj.Wscale', 'model.layers.15.self_attn.qkv_proj.codebook_id', 'model.layers.2.mlp.down_proj.SU', 'model.layers.6.mlp.upgate_proj.Wscale', 'model.layers.0.self_attn.qkv_proj.SU', 'model.layers.2.self_attn.o_proj.Wscale', 'model.layers.24.mlp.upgate_proj.Wscale', 'model.layers.25.self_attn.qkv_proj.Qidxs', 'model.layers.1.mlp.upgate_proj.Qidxs', 'model.layers.10.mlp.upgate_proj.SV', 'model.layers.29.mlp.down_proj.Qidxs', 'model.layers.12.mlp.upgate_proj.Wscale', 'model.layers.15.mlp.upgate_proj.SV', 'model.layers.12.mlp.upgate_proj.SV', 'model.layers.30.mlp.upgate_proj.codebook_id', 'model.layers.0.mlp.upgate_proj.Qidxs', 'model.layers.20.self_attn.o_proj.Qidxs', 'model.layers.19.self_attn.qkv_proj.Qidxs', 'model.layers.29.self_attn.o_proj.SU', 'model.layers.10.self_attn.o_proj.SV', 'model.layers.17.mlp.upgate_proj.Wscale', 'model.layers.13.mlp.down_proj.codebook_id', 'model.layers.11.self_attn.o_proj.Qidxs', 'model.layers.12.self_attn.qkv_proj.codebook_id', 'model.layers.11.mlp.down_proj.Qidxs', 'model.layers.28.self_attn.qkv_proj.codebook_id', 'model.layers.29.mlp.upgate_proj.SU', 'model.layers.24.mlp.down_proj.Qidxs', 'model.layers.23.mlp.down_proj.SV', 'model.layers.20.mlp.down_proj.SV', 'model.layers.20.self_attn.o_proj.codebook_id', 'model.layers.27.self_attn.o_proj.SV', 'model.layers.8.self_attn.o_proj.Qidxs', 'model.layers.0.self_attn.o_proj.SU', 'model.layers.4.self_attn.o_proj.Qidxs', 'model.layers.15.self_attn.qkv_proj.Wscale', 'model.layers.21.self_attn.qkv_proj.Qidxs', 'model.layers.17.mlp.upgate_proj.fuse_scales', 'model.layers.19.self_attn.o_proj.SU', 'model.layers.31.mlp.down_proj.codebook_id', 'model.layers.24.self_attn.qkv_proj.Qidxs', 'model.layers.20.mlp.down_proj.Qidxs', 'model.layers.5.self_attn.o_proj.SU', 'model.layers.11.self_attn.o_proj.SV', 'model.layers.13.mlp.down_proj.Qidxs', 'model.layers.0.mlp.upgate_proj.SV', 'model.layers.19.mlp.upgate_proj.SV', 'model.layers.22.self_attn.qkv_proj.Wscale', 'model.layers.30.self_attn.o_proj.Qidxs', 'model.layers.30.mlp.upgate_proj.fuse_scales', 'model.layers.25.mlp.upgate_proj.SV', 'model.layers.8.self_attn.qkv_proj.SU', 'model.layers.17.self_attn.qkv_proj.SU', 'model.layers.19.mlp.upgate_proj.Qidxs', 'model.layers.20.mlp.down_proj.Wscale', 'model.layers.16.self_attn.o_proj.Qidxs', 'model.layers.26.self_attn.o_proj.SU', 'model.layers.11.mlp.down_proj.SU', 'model.layers.1.mlp.down_proj.SV', 'model.layers.12.self_attn.qkv_proj.Qidxs', 'model.layers.23.self_attn.qkv_proj.codebook_id', 'model.layers.26.mlp.down_proj.Qidxs', 'model.layers.3.self_attn.o_proj.Qidxs', 'model.layers.11.mlp.upgate_proj.SV', 'model.layers.14.mlp.upgate_proj.SU', 'model.layers.14.mlp.upgate_proj.codebook_id', 'model.layers.14.self_attn.o_proj.SU', 'model.layers.30.self_attn.o_proj.SV', 'model.layers.24.mlp.upgate_proj.Qidxs', 'model.layers.0.mlp.upgate_proj.fuse_scales', 'model.layers.7.mlp.upgate_proj.SV', 'model.layers.6.self_attn.o_proj.SV', 'model.layers.27.self_attn.o_proj.Wscale', 'model.layers.0.mlp.down_proj.Wscale', 'model.layers.28.mlp.down_proj.codebook_id', 'model.layers.29.self_attn.qkv_proj.Wscale', 'model.layers.22.mlp.down_proj.Qidxs', 'model.layers.15.mlp.down_proj.Qidxs', 'model.layers.10.self_attn.qkv_proj.SU', 'model.layers.25.self_attn.o_proj.Qidxs', 'model.layers.29.mlp.down_proj.codebook_id', 'model.layers.26.mlp.down_proj.Wscale', 'model.layers.22.self_attn.qkv_proj.SU', 'model.layers.17.self_attn.qkv_proj.Wscale', 'model.layers.9.self_attn.qkv_proj.Qidxs', 'model.layers.21.self_attn.o_proj.SV', 'model.layers.26.mlp.upgate_proj.codebook_id', 'model.layers.31.mlp.upgate_proj.SU', 'model.layers.10.self_attn.o_proj.SU', 'model.layers.17.self_attn.o_proj.SV', 'model.layers.10.mlp.down_proj.SU', 'model.layers.13.self_attn.qkv_proj.fuse_scales', 'model.layers.21.self_attn.o_proj.Qidxs', 'model.layers.5.mlp.down_proj.codebook_id', 'model.layers.25.mlp.down_proj.Wscale', 'model.layers.19.mlp.down_proj.SV', 'model.layers.14.self_attn.qkv_proj.Wscale', 'model.layers.25.self_attn.o_proj.Wscale', 'model.layers.3.self_attn.qkv_proj.fuse_scales', 'model.layers.3.self_attn.o_proj.SU', 'model.layers.9.mlp.upgate_proj.fuse_scales', 'model.layers.13.self_attn.qkv_proj.Qidxs', 'model.layers.2.mlp.upgate_proj.SU', 'model.layers.14.mlp.upgate_proj.fuse_scales', 'model.layers.28.mlp.upgate_proj.codebook_id', 'model.layers.6.mlp.down_proj.SU', 'model.layers.9.self_attn.o_proj.SV', 'model.layers.1.mlp.upgate_proj.Wscale', 'model.layers.26.self_attn.qkv_proj.fuse_scales', 'model.layers.16.self_attn.qkv_proj.Wscale', 'model.layers.24.mlp.upgate_proj.fuse_scales', 'model.layers.10.self_attn.o_proj.Wscale', 'model.layers.30.self_attn.qkv_proj.SU', 'model.layers.17.mlp.down_proj.Wscale', 'model.layers.28.mlp.down_proj.SU', 'model.layers.22.self_attn.o_proj.Wscale', 'model.layers.29.self_attn.o_proj.SV', 'model.layers.2.mlp.upgate_proj.Wscale', 'model.layers.5.self_attn.qkv_proj.Qidxs', 'model.layers.9.mlp.upgate_proj.Wscale', 'model.layers.31.mlp.down_proj.SU', 'model.layers.27.self_attn.qkv_proj.SU', 'model.layers.9.self_attn.o_proj.SU', 'model.layers.29.self_attn.o_proj.Wscale', 'model.layers.14.self_attn.o_proj.Qidxs', 'model.layers.30.mlp.down_proj.Qidxs', 'model.layers.2.mlp.down_proj.Qidxs', 'model.layers.21.mlp.down_proj.SU', 'model.layers.19.mlp.upgate_proj.Wscale', 'model.layers.11.self_attn.o_proj.codebook_id', 'model.layers.28.self_attn.qkv_proj.Wscale', 'model.layers.24.self_attn.qkv_proj.SV', 'model.layers.4.mlp.upgate_proj.Qidxs', 'model.layers.1.mlp.down_proj.SU', 'model.layers.7.mlp.down_proj.Wscale', 'model.layers.12.mlp.down_proj.Wscale', 'model.layers.26.self_attn.o_proj.SV', 'model.layers.5.mlp.upgate_proj.fuse_scales', 'model.layers.0.mlp.down_proj.Qidxs', 'model.layers.8.self_attn.o_proj.codebook_id', 'model.layers.20.self_attn.o_proj.Wscale', 'model.layers.18.mlp.down_proj.SV', 'model.layers.6.self_attn.o_proj.codebook_id', 'model.layers.5.mlp.down_proj.SV', 'model.layers.17.mlp.down_proj.SU', 'model.layers.29.self_attn.qkv_proj.SV', 'model.layers.5.self_attn.o_proj.SV', 'model.layers.3.mlp.upgate_proj.codebook_id', 'model.layers.6.mlp.upgate_proj.fuse_scales', 'model.layers.30.self_attn.qkv_proj.Qidxs', 'model.layers.9.self_attn.qkv_proj.SV', 'model.layers.30.mlp.down_proj.codebook_id', 'model.layers.13.self_attn.o_proj.codebook_id', 'model.layers.21.mlp.upgate_proj.Wscale', 'model.layers.4.self_attn.o_proj.SV', 'model.layers.5.self_attn.o_proj.Wscale', 'model.layers.15.self_attn.o_proj.SV', 'model.layers.10.mlp.upgate_proj.fuse_scales', 'model.layers.29.self_attn.qkv_proj.SU', 'model.layers.4.self_attn.o_proj.SU', 'model.layers.31.self_attn.o_proj.Qidxs', 'model.layers.4.self_attn.qkv_proj.SU', 'model.layers.11.mlp.upgate_proj.SU', 'model.layers.20.mlp.down_proj.SU', 'model.layers.30.self_attn.qkv_proj.SV', 'model.layers.30.mlp.upgate_proj.Wscale', 'model.layers.10.mlp.upgate_proj.Qidxs', 'model.layers.21.self_attn.qkv_proj.SU', 'model.layers.8.self_attn.qkv_proj.SV', 'model.layers.12.mlp.upgate_proj.codebook_id', 'model.layers.19.self_attn.o_proj.Qidxs', 'model.layers.31.self_attn.qkv_proj.Qidxs', 'model.layers.23.mlp.down_proj.codebook_id', 'model.layers.5.self_attn.qkv_proj.SV', 'model.layers.0.mlp.down_proj.codebook_id', 'model.layers.10.self_attn.o_proj.Qidxs', 'model.layers.26.mlp.upgate_proj.SV', 'model.layers.19.self_attn.qkv_proj.SV', 'model.layers.9.self_attn.qkv_proj.fuse_scales', 'model.layers.26.self_attn.qkv_proj.SU', 'model.layers.20.mlp.upgate_proj.SV', 'model.layers.0.mlp.upgate_proj.Wscale', 'model.layers.5.self_attn.o_proj.Qidxs', 'model.layers.4.self_attn.qkv_proj.Qidxs', 'model.layers.15.mlp.down_proj.SV', 'model.layers.16.mlp.upgate_proj.SU', 'model.layers.7.self_attn.qkv_proj.Qidxs', 'model.layers.14.mlp.upgate_proj.Wscale', 'model.layers.9.self_attn.o_proj.Qidxs', 'model.layers.18.self_attn.qkv_proj.SV', 'model.layers.6.mlp.down_proj.codebook_id', 'model.layers.3.mlp.upgate_proj.Wscale', 'model.layers.23.self_attn.qkv_proj.Qidxs', 'model.layers.0.self_attn.qkv_proj.fuse_scales', 'model.layers.14.self_attn.qkv_proj.Qidxs', 'model.layers.16.mlp.down_proj.Wscale', 'model.layers.21.mlp.down_proj.Qidxs', 'model.layers.14.mlp.down_proj.Qidxs', 'model.layers.6.self_attn.qkv_proj.SV', 'model.layers.16.self_attn.qkv_proj.fuse_scales', 'model.layers.12.mlp.upgate_proj.fuse_scales', 'model.layers.15.self_attn.qkv_proj.fuse_scales', 'model.layers.2.mlp.down_proj.codebook_id', 'model.layers.28.mlp.upgate_proj.SU', 'model.layers.27.mlp.upgate_proj.codebook_id', 'model.layers.20.mlp.down_proj.codebook_id', 'model.layers.27.self_attn.o_proj.Qidxs', 'model.layers.19.mlp.upgate_proj.fuse_scales', 'model.layers.2.self_attn.o_proj.SU', 'model.layers.21.self_attn.o_proj.Wscale', 'model.layers.12.mlp.down_proj.SU', 'model.layers.8.mlp.upgate_proj.codebook_id', 'model.layers.3.mlp.upgate_proj.Qidxs', 'model.layers.1.self_attn.qkv_proj.SV', 'model.layers.26.self_attn.qkv_proj.Wscale', 'model.layers.23.self_attn.qkv_proj.SU', 'model.layers.15.self_attn.o_proj.codebook_id', 'model.layers.24.mlp.down_proj.SV', 'model.layers.23.self_attn.qkv_proj.Wscale', 'model.layers.5.self_attn.qkv_proj.codebook_id', 'model.layers.21.self_attn.o_proj.codebook_id', 'model.layers.29.mlp.upgate_proj.SV', 'model.layers.24.self_attn.qkv_proj.fuse_scales', 'model.layers.16.self_attn.qkv_proj.SU', 'model.layers.1.self_attn.qkv_proj.codebook_id', 'model.layers.13.self_attn.o_proj.SU', 'model.layers.16.mlp.down_proj.Qidxs', 'model.layers.21.mlp.down_proj.codebook_id', 'model.layers.25.mlp.upgate_proj.Qidxs', 'model.layers.3.self_attn.qkv_proj.SV', 'model.layers.1.mlp.upgate_proj.codebook_id', 'model.layers.18.self_attn.qkv_proj.codebook_id', 'model.layers.26.mlp.upgate_proj.Wscale', 'model.layers.9.self_attn.qkv_proj.Wscale', 'model.layers.6.self_attn.o_proj.Qidxs', 'model.layers.22.self_attn.qkv_proj.Qidxs', 'model.layers.23.mlp.down_proj.Qidxs', 'model.layers.19.mlp.upgate_proj.codebook_id', 'model.layers.26.self_attn.o_proj.Wscale', 'model.layers.17.mlp.upgate_proj.codebook_id', 'model.layers.11.mlp.down_proj.SV', 'model.layers.6.mlp.down_proj.Qidxs', 'model.layers.30.mlp.upgate_proj.SU', 'model.layers.19.self_attn.qkv_proj.Wscale', 'model.layers.17.self_attn.o_proj.Qidxs', 'model.layers.7.self_attn.o_proj.Qidxs', 'model.layers.22.self_attn.qkv_proj.fuse_scales', 'model.layers.6.self_attn.qkv_proj.fuse_scales', 'model.layers.18.mlp.down_proj.Wscale', 'model.layers.4.self_attn.o_proj.codebook_id', 'model.layers.17.mlp.down_proj.Qidxs', 'model.layers.4.mlp.upgate_proj.codebook_id', 'model.layers.27.self_attn.o_proj.codebook_id', 'model.layers.30.mlp.upgate_proj.SV', 'model.layers.0.self_attn.qkv_proj.codebook_id', 'model.layers.15.mlp.upgate_proj.SU', 'model.layers.16.mlp.upgate_proj.Wscale', 'model.layers.13.self_attn.o_proj.Qidxs', 'model.layers.16.mlp.down_proj.SV', 'model.layers.30.self_attn.qkv_proj.Wscale', 'model.layers.7.mlp.upgate_proj.SU', 'model.layers.3.self_attn.qkv_proj.Wscale', 'model.layers.17.self_attn.qkv_proj.codebook_id', 'model.layers.2.mlp.down_proj.Wscale', 'model.layers.31.self_attn.o_proj.SV', 'model.layers.8.self_attn.qkv_proj.codebook_id', 'model.layers.17.self_attn.qkv_proj.fuse_scales', 'model.layers.3.self_attn.qkv_proj.Qidxs', 'model.layers.0.mlp.upgate_proj.codebook_id', 'model.layers.8.mlp.upgate_proj.SV', 'model.layers.28.self_attn.qkv_proj.SU', 'model.layers.4.mlp.down_proj.SU', 'model.layers.27.mlp.upgate_proj.SU', 'model.layers.9.self_attn.o_proj.codebook_id', 'model.layers.10.self_attn.qkv_proj.SV', 'model.layers.15.mlp.down_proj.codebook_id', 'model.layers.12.self_attn.qkv_proj.SU', 'model.layers.18.self_attn.qkv_proj.Qidxs', 'model.layers.10.self_attn.qkv_proj.codebook_id', 'model.layers.14.self_attn.o_proj.SV', 'model.layers.31.self_attn.qkv_proj.Wscale', 'model.layers.16.self_attn.qkv_proj.codebook_id', 'model.layers.20.mlp.upgate_proj.Qidxs', 'model.layers.3.mlp.down_proj.codebook_id', 'model.layers.13.self_attn.qkv_proj.Wscale', 'model.layers.30.mlp.down_proj.Wscale', 'model.layers.1.mlp.upgate_proj.SV', 'model.layers.28.self_attn.qkv_proj.fuse_scales', 'model.layers.31.mlp.upgate_proj.fuse_scales', 'model.layers.28.mlp.down_proj.SV', 'model.layers.18.self_attn.o_proj.SV', 'model.layers.0.self_attn.o_proj.codebook_id', 'model.layers.22.mlp.down_proj.SU', 'model.layers.6.self_attn.qkv_proj.codebook_id', 'model.layers.28.self_attn.o_proj.codebook_id', 'model.layers.22.mlp.upgate_proj.Qidxs', 'model.layers.18.self_attn.qkv_proj.fuse_scales', 'model.layers.24.mlp.down_proj.Wscale', 'model.layers.23.self_attn.qkv_proj.fuse_scales', 'model.layers.26.mlp.down_proj.codebook_id', 'model.layers.21.self_attn.o_proj.SU', 'model.layers.28.self_attn.o_proj.SU', 'model.layers.10.self_attn.qkv_proj.Qidxs', 'model.layers.16.mlp.down_proj.codebook_id', 'model.layers.28.mlp.upgate_proj.Wscale', 'model.layers.30.self_attn.o_proj.codebook_id', 'model.layers.31.self_attn.qkv_proj.fuse_scales', 'model.layers.14.self_attn.qkv_proj.codebook_id', 'model.layers.2.self_attn.qkv_proj.fuse_scales', 'model.layers.29.self_attn.o_proj.Qidxs', 'model.layers.21.self_attn.qkv_proj.SV', 'model.layers.2.mlp.upgate_proj.SV', 'model.layers.24.self_attn.o_proj.Wscale', 'model.layers.21.mlp.down_proj.SV', 'model.layers.4.mlp.upgate_proj.fuse_scales', 'model.layers.1.mlp.down_proj.codebook_id', 'model.layers.28.mlp.down_proj.Qidxs', 'model.layers.12.mlp.upgate_proj.Qidxs', 'model.layers.29.mlp.upgate_proj.Qidxs', 'model.layers.2.self_attn.o_proj.SV', 'model.layers.29.mlp.upgate_proj.codebook_id', 'model.layers.10.mlp.upgate_proj.SU', 'model.layers.15.mlp.down_proj.Wscale', 'model.layers.30.self_attn.o_proj.Wscale', 'model.layers.5.self_attn.qkv_proj.fuse_scales', 'model.layers.15.mlp.upgate_proj.codebook_id', 'model.layers.28.mlp.down_proj.Wscale', 'model.layers.18.mlp.upgate_proj.SU', 'model.layers.18.mlp.upgate_proj.SV', 'model.layers.23.self_attn.o_proj.Qidxs', 'model.layers.27.mlp.upgate_proj.Wscale', 'model.layers.25.self_attn.o_proj.codebook_id', 'model.layers.19.self_attn.qkv_proj.SU', 'model.layers.1.mlp.down_proj.Qidxs', 'model.layers.1.mlp.upgate_proj.SU', 'model.layers.28.mlp.upgate_proj.SV', 'model.layers.9.mlp.down_proj.codebook_id', 'model.layers.24.mlp.upgate_proj.codebook_id', 'model.layers.0.self_attn.o_proj.SV', 'model.layers.9.mlp.down_proj.SV', 'model.layers.1.self_attn.o_proj.Qidxs', 'model.layers.22.self_attn.qkv_proj.codebook_id', 'model.layers.25.mlp.upgate_proj.codebook_id', 'model.layers.1.self_attn.o_proj.codebook_id', 'model.layers.27.mlp.down_proj.SV', 'model.layers.27.self_attn.qkv_proj.fuse_scales', 'model.layers.5.self_attn.qkv_proj.SU', 'model.layers.17.self_attn.qkv_proj.SV', 'model.layers.27.self_attn.qkv_proj.SV', 'model.layers.24.self_attn.qkv_proj.Wscale', 'model.layers.15.self_attn.qkv_proj.SU', 'model.layers.22.mlp.down_proj.Wscale', 'model.layers.7.self_attn.o_proj.SV', 'model.layers.12.mlp.down_proj.Qidxs', 'model.layers.13.self_attn.o_proj.SV', 'model.layers.5.mlp.down_proj.Qidxs', 'model.layers.21.mlp.upgate_proj.fuse_scales', 'model.layers.12.mlp.down_proj.codebook_id', 'model.layers.20.mlp.upgate_proj.Wscale', 'model.layers.27.mlp.upgate_proj.fuse_scales', 'model.layers.1.self_attn.qkv_proj.Wscale', 'model.layers.0.mlp.upgate_proj.SU', 'model.layers.30.self_attn.o_proj.SU', 'model.layers.18.self_attn.o_proj.SU', 'model.layers.7.mlp.upgate_proj.Qidxs', 'model.layers.23.self_attn.qkv_proj.SV', 'model.layers.17.self_attn.o_proj.SU', 'model.layers.7.mlp.down_proj.SV', 'model.layers.30.self_attn.qkv_proj.codebook_id', 'model.layers.10.self_attn.qkv_proj.fuse_scales', 'model.layers.13.mlp.upgate_proj.SV', 'model.layers.16.self_attn.qkv_proj.Qidxs', 'model.layers.22.mlp.down_proj.codebook_id', 'model.layers.23.mlp.upgate_proj.Qidxs', 'model.layers.23.mlp.upgate_proj.fuse_scales', 'model.layers.22.self_attn.qkv_proj.SV', 'model.layers.13.self_attn.qkv_proj.SV', 'model.layers.5.mlp.upgate_proj.Wscale', 'model.layers.0.mlp.down_proj.SV', 'model.layers.20.self_attn.qkv_proj.Qidxs', 'model.layers.27.mlp.down_proj.SU', 'model.layers.19.self_attn.o_proj.codebook_id', 'model.layers.14.self_attn.o_proj.Wscale', 'model.layers.4.mlp.upgate_proj.SU', 'model.layers.20.self_attn.qkv_proj.fuse_scales', 'model.layers.10.mlp.upgate_proj.codebook_id', 'model.layers.13.mlp.upgate_proj.fuse_scales', 'model.layers.22.self_attn.o_proj.Qidxs', 'model.layers.5.self_attn.qkv_proj.Wscale', 'model.layers.22.mlp.upgate_proj.SV', 'model.layers.24.self_attn.o_proj.codebook_id', 'model.layers.25.self_attn.qkv_proj.SU', 'model.layers.6.self_attn.qkv_proj.Wscale', 'model.layers.7.mlp.upgate_proj.fuse_scales', 'model.layers.25.self_attn.qkv_proj.SV', 'model.layers.25.self_attn.qkv_proj.Wscale', 'model.layers.19.self_attn.o_proj.SV', 'model.layers.12.mlp.upgate_proj.SU', 'model.layers.10.mlp.upgate_proj.Wscale', 'model.layers.4.mlp.upgate_proj.SV', 'model.layers.4.mlp.upgate_proj.Wscale', 'model.layers.11.self_attn.o_proj.SU', 'model.layers.27.mlp.upgate_proj.Qidxs', 'model.layers.4.self_attn.qkv_proj.codebook_id', 'model.layers.2.self_attn.qkv_proj.codebook_id', 'model.layers.7.self_attn.o_proj.SU', 'model.layers.25.mlp.upgate_proj.fuse_scales', 'model.layers.12.self_attn.o_proj.SV', 'model.layers.20.self_attn.qkv_proj.SU', 'model.layers.22.self_attn.o_proj.SV', 'model.layers.16.mlp.upgate_proj.Qidxs', 'model.layers.5.mlp.upgate_proj.SU', 'model.layers.9.mlp.upgate_proj.SV', 'model.layers.4.self_attn.qkv_proj.SV', 'model.layers.4.mlp.down_proj.Qidxs', 'model.layers.26.mlp.upgate_proj.SU', 'model.layers.19.self_attn.qkv_proj.codebook_id', 'model.layers.20.self_attn.o_proj.SU', 'model.layers.29.mlp.upgate_proj.Wscale', 'model.layers.3.mlp.down_proj.SV', 'model.layers.14.self_attn.qkv_proj.fuse_scales', 'model.layers.21.self_attn.qkv_proj.Wscale', 'model.layers.26.mlp.upgate_proj.fuse_scales', 'model.layers.15.mlp.upgate_proj.fuse_scales', 'model.layers.25.self_attn.qkv_proj.codebook_id', 'model.layers.3.self_attn.qkv_proj.SU', 'model.layers.7.mlp.upgate_proj.codebook_id', 'model.layers.8.mlp.down_proj.Wscale', 'model.layers.25.mlp.down_proj.SV', 'model.layers.25.mlp.down_proj.SU', 'model.layers.22.mlp.upgate_proj.SU', 'model.layers.8.mlp.down_proj.codebook_id', 'model.layers.11.self_attn.qkv_proj.SV', 'model.layers.30.mlp.upgate_proj.Qidxs', 'model.layers.23.self_attn.o_proj.codebook_id', 'model.layers.21.mlp.upgate_proj.Qidxs', 'model.layers.5.mlp.down_proj.SU', 'model.layers.8.self_attn.qkv_proj.Qidxs', 'model.layers.31.mlp.upgate_proj.SV', 'model.layers.8.mlp.down_proj.SV', 'model.layers.18.mlp.down_proj.SU', 'model.layers.24.self_attn.qkv_proj.SU', 'model.layers.14.mlp.upgate_proj.Qidxs', 'model.layers.8.mlp.upgate_proj.Qidxs', 'model.layers.3.mlp.upgate_proj.fuse_scales', 'model.layers.27.self_attn.o_proj.SU', 'model.layers.13.mlp.down_proj.SV', 'model.layers.4.self_attn.o_proj.Wscale', 'model.layers.14.mlp.down_proj.SU', 'model.layers.9.mlp.upgate_proj.Qidxs', 'model.layers.1.mlp.upgate_proj.fuse_scales', 'model.layers.24.self_attn.o_proj.SV', 'model.layers.30.mlp.down_proj.SV', 'model.layers.20.mlp.upgate_proj.fuse_scales', 'model.layers.2.mlp.down_proj.SV', 'model.layers.23.mlp.upgate_proj.SV', 'model.layers.13.mlp.upgate_proj.Wscale', 'model.layers.11.self_attn.qkv_proj.codebook_id', 'model.layers.3.self_attn.o_proj.codebook_id', 'model.layers.8.self_attn.qkv_proj.Wscale', 'model.layers.28.self_attn.o_proj.Wscale', 'model.layers.13.mlp.upgate_proj.Qidxs', 'model.layers.19.mlp.down_proj.SU', 'model.layers.21.mlp.upgate_proj.SV', 'model.layers.17.mlp.upgate_proj.Qidxs', 'model.layers.26.mlp.down_proj.SV', 'model.layers.24.mlp.upgate_proj.SU', 'model.layers.11.self_attn.o_proj.Wscale', 'model.layers.15.mlp.upgate_proj.Qidxs', 'model.layers.11.mlp.down_proj.Wscale', 'model.layers.0.self_attn.o_proj.Wscale', 'model.layers.13.self_attn.qkv_proj.codebook_id', 'model.layers.8.mlp.down_proj.SU', 'model.layers.9.self_attn.qkv_proj.codebook_id', 'model.layers.31.mlp.down_proj.SV', 'model.layers.15.self_attn.qkv_proj.Qidxs', 'model.layers.30.self_attn.qkv_proj.fuse_scales', 'model.layers.15.self_attn.o_proj.Qidxs', 'model.layers.29.mlp.down_proj.SV', 'model.layers.1.self_attn.qkv_proj.Qidxs', 'model.layers.26.self_attn.qkv_proj.Qidxs', 'model.layers.11.self_attn.qkv_proj.Wscale', 'model.layers.5.mlp.down_proj.Wscale', 'model.layers.11.mlp.upgate_proj.Qidxs', 'model.layers.31.mlp.down_proj.Wscale', 'model.layers.10.self_attn.o_proj.codebook_id', 'model.layers.2.mlp.upgate_proj.Qidxs', 'model.layers.1.self_attn.qkv_proj.fuse_scales', 'model.layers.21.mlp.upgate_proj.SU', 'model.layers.13.mlp.upgate_proj.SU', 'model.layers.2.self_attn.qkv_proj.Qidxs', 'model.layers.0.self_attn.o_proj.Qidxs', 'model.layers.18.self_attn.o_proj.Wscale', 'model.layers.6.mlp.down_proj.Wscale', 'model.layers.7.mlp.down_proj.codebook_id', 'model.layers.12.self_attn.o_proj.Wscale', 'model.layers.27.mlp.down_proj.Wscale', 'model.layers.11.mlp.upgate_proj.fuse_scales', 'model.layers.17.self_attn.o_proj.codebook_id', 'model.layers.17.mlp.down_proj.SV', 'model.layers.7.self_attn.qkv_proj.Wscale', 'model.layers.14.self_attn.qkv_proj.SU', 'model.layers.9.mlp.down_proj.Wscale', 'model.layers.27.mlp.upgate_proj.SV', 'model.layers.29.self_attn.qkv_proj.Qidxs', 'model.layers.25.mlp.down_proj.codebook_id', 'model.layers.18.mlp.upgate_proj.fuse_scales', 'model.layers.31.self_attn.o_proj.SU', 'model.layers.5.mlp.upgate_proj.Qidxs', 'model.layers.3.mlp.down_proj.Wscale', 'model.layers.25.self_attn.o_proj.SV', 'model.layers.8.self_attn.o_proj.Wscale', 'model.layers.23.mlp.down_proj.Wscale', 'model.layers.14.self_attn.o_proj.codebook_id', 'model.layers.2.self_attn.qkv_proj.Wscale', 'model.layers.6.self_attn.o_proj.SU', 'model.layers.11.mlp.upgate_proj.Wscale', 'model.layers.19.self_attn.o_proj.Wscale', 'model.layers.6.mlp.down_proj.SV', 'model.layers.19.self_attn.qkv_proj.fuse_scales', 'model.layers.22.mlp.upgate_proj.Wscale', 'model.layers.27.mlp.down_proj.Qidxs', 'model.layers.31.self_attn.qkv_proj.codebook_id', 'model.layers.16.self_attn.o_proj.SV', 'model.layers.9.mlp.upgate_proj.codebook_id', 'model.layers.5.self_attn.o_proj.codebook_id', 'model.layers.7.mlp.upgate_proj.Wscale', 'model.layers.29.self_attn.o_proj.codebook_id', 'model.layers.24.mlp.down_proj.SU', 'model.layers.12.self_attn.o_proj.Qidxs', 'model.layers.21.self_attn.qkv_proj.fuse_scales', 'model.layers.13.mlp.upgate_proj.codebook_id', 'model.layers.14.mlp.down_proj.codebook_id', 'model.layers.16.self_attn.o_proj.codebook_id', 'model.layers.17.self_attn.o_proj.Wscale', 'model.layers.3.self_attn.qkv_proj.codebook_id', 'model.layers.8.self_attn.o_proj.SV', 'model.layers.25.self_attn.qkv_proj.fuse_scales', 'model.layers.8.mlp.upgate_proj.fuse_scales', 'model.layers.27.self_attn.qkv_proj.Qidxs', 'model.layers.23.self_attn.o_proj.Wscale', 'model.layers.12.self_attn.o_proj.SU', 'model.layers.20.mlp.upgate_proj.SU', 'model.layers.2.mlp.upgate_proj.codebook_id', 'model.layers.18.self_attn.o_proj.codebook_id', 'model.layers.29.self_attn.qkv_proj.codebook_id', 'model.layers.8.mlp.down_proj.Qidxs', 'model.layers.22.mlp.down_proj.SV', 'model.layers.8.self_attn.o_proj.SU', 'model.layers.13.self_attn.qkv_proj.SU', 'model.layers.10.self_attn.qkv_proj.Wscale', 'model.layers.4.mlp.down_proj.Wscale', 'model.layers.14.mlp.down_proj.SV', 'model.layers.1.self_attn.o_proj.SU', 'model.layers.17.self_attn.qkv_proj.Qidxs', 'model.layers.28.self_attn.qkv_proj.Qidxs', 'model.layers.16.self_attn.qkv_proj.SV', 'model.layers.3.mlp.upgate_proj.SV', 'model.layers.13.mlp.down_proj.SU', 'model.layers.10.mlp.down_proj.Qidxs', 'model.layers.27.self_attn.qkv_proj.Wscale', 'model.layers.12.self_attn.qkv_proj.fuse_scales', 'model.layers.24.self_attn.qkv_proj.codebook_id', 'model.layers.31.mlp.down_proj.Qidxs', 'model.layers.17.mlp.down_proj.codebook_id', 'model.layers.11.self_attn.qkv_proj.Qidxs', 'model.layers.22.self_attn.o_proj.SU', 'model.layers.6.mlp.upgate_proj.codebook_id', 'model.layers.6.self_attn.o_proj.Wscale', 'model.layers.5.mlp.upgate_proj.codebook_id', 'model.layers.23.mlp.upgate_proj.codebook_id', 'model.layers.11.mlp.down_proj.codebook_id', 'model.layers.26.mlp.down_proj.SU', 'model.layers.20.self_attn.o_proj.SV', 'model.layers.6.mlp.upgate_proj.SU', 'model.layers.10.mlp.down_proj.codebook_id', 'model.layers.3.mlp.down_proj.SU', 'model.layers.7.self_attn.qkv_proj.codebook_id', 'model.layers.12.self_attn.o_proj.codebook_id', 'model.layers.10.mlp.down_proj.Wscale', 'model.layers.7.self_attn.qkv_proj.SV', 'model.layers.6.self_attn.qkv_proj.SU', 'model.layers.22.self_attn.o_proj.codebook_id', 'model.layers.22.mlp.upgate_proj.fuse_scales', 'model.layers.3.mlp.down_proj.Qidxs', 'model.layers.15.self_attn.o_proj.SU', 'model.layers.21.self_attn.qkv_proj.codebook_id', 'model.layers.1.self_attn.qkv_proj.SU', 'model.layers.31.mlp.upgate_proj.Wscale', 'model.layers.8.mlp.upgate_proj.Wscale', 'model.layers.11.self_attn.qkv_proj.fuse_scales', 'model.layers.16.mlp.down_proj.SU', 'model.layers.31.mlp.upgate_proj.Qidxs', 'model.layers.12.self_attn.qkv_proj.Wscale', 'model.layers.15.mlp.down_proj.SU', 'model.layers.20.self_attn.qkv_proj.codebook_id', 'model.layers.18.self_attn.o_proj.Qidxs', 'model.layers.29.mlp.upgate_proj.fuse_scales', 'model.layers.26.self_attn.qkv_proj.SV', 'model.layers.9.self_attn.o_proj.Wscale', 'model.layers.28.mlp.upgate_proj.fuse_scales', 'model.layers.5.mlp.upgate_proj.SV', 'model.layers.14.mlp.down_proj.Wscale', 'model.layers.16.mlp.upgate_proj.codebook_id', 'model.layers.17.mlp.upgate_proj.SV', 'model.layers.28.self_attn.qkv_proj.SV', 'model.layers.2.self_attn.qkv_proj.SU', 'model.layers.1.mlp.down_proj.Wscale', 'model.layers.7.self_attn.qkv_proj.SU', 'model.layers.26.self_attn.o_proj.codebook_id', 'model.layers.18.self_attn.qkv_proj.Wscale', 'model.layers.18.mlp.upgate_proj.Wscale', 'model.layers.22.mlp.upgate_proj.codebook_id', 'model.layers.28.self_attn.o_proj.SV', 'model.layers.7.mlp.down_proj.SU', 'model.layers.18.self_attn.qkv_proj.SU', 'model.layers.9.self_attn.qkv_proj.SU', 'model.layers.14.self_attn.qkv_proj.SV', 'model.layers.7.mlp.down_proj.Qidxs', 'model.layers.20.self_attn.qkv_proj.SV', 'model.layers.7.self_attn.o_proj.codebook_id', 'model.layers.13.self_attn.o_proj.Wscale', 'model.layers.7.self_attn.o_proj.Wscale', 'model.layers.4.mlp.down_proj.SV', 'model.layers.1.self_attn.o_proj.SV', 'model.layers.13.mlp.down_proj.Wscale', 'model.layers.25.mlp.upgate_proj.SU', 'model.layers.14.mlp.upgate_proj.SV', 'model.layers.0.self_attn.qkv_proj.SV', 'model.layers.25.mlp.upgate_proj.Wscale', 'model.layers.25.mlp.down_proj.Qidxs', 'model.layers.15.mlp.upgate_proj.Wscale', 'model.layers.1.self_attn.o_proj.Wscale', 'model.layers.26.mlp.upgate_proj.Qidxs', 'model.layers.31.self_attn.qkv_proj.SU', 'model.layers.6.mlp.upgate_proj.SV']
- This IS expected if you are initializing LlamaForCausalLM from the checkpoint of a model trained on another task or with another architecture (e.g. initializing a BertForSequenceClassification model from a BertForPreTraining model).
- This IS NOT expected if you are initializing LlamaForCausalLM from the checkpoint of a model that you expect to be exactly identical (initializing a BertForSequenceClassification model from a BertForSequenceClassification model).
Some weights of LlamaForCausalLM were not initialized from the model checkpoint at relaxml/Llama-2-7b-E8P-2Bit and are newly initialized: ['model.layers.15.self_attn.q_proj.weight', 'model.layers.24.mlp.down_proj.weight', 'model.layers.20.self_attn.v_proj.weight', 'model.layers.16.mlp.up_proj.weight', 'model.layers.21.mlp.gate_proj.weight', 'model.layers.18.self_attn.q_proj.weight', 'model.layers.3.mlp.up_proj.weight', 'model.layers.22.self_attn.o_proj.weight', 'model.layers.17.mlp.up_proj.weight', 'model.layers.26.self_attn.o_proj.weight', 'model.layers.26.mlp.gate_proj.weight', 'model.layers.23.self_attn.v_proj.weight', 'model.layers.2.self_attn.q_proj.weight', 'model.layers.21.mlp.down_proj.weight', 'model.layers.3.self_attn.o_proj.weight', 'model.layers.4.mlp.up_proj.weight', 'model.layers.5.self_attn.k_proj.weight', 'model.layers.16.self_attn.q_proj.weight', 'model.layers.20.self_attn.o_proj.weight', 'model.layers.15.mlp.up_proj.weight', 'model.layers.2.mlp.gate_proj.weight', 'model.layers.15.self_attn.o_proj.weight', 'model.layers.10.self_attn.o_proj.weight', 'model.layers.18.self_attn.o_proj.weight', 'model.layers.29.self_attn.q_proj.weight', 'model.layers.12.self_attn.v_proj.weight', 'model.layers.16.self_attn.v_proj.weight', 'model.layers.17.self_attn.k_proj.weight', 'model.layers.20.mlp.gate_proj.weight', 'model.layers.1.self_attn.o_proj.weight', 'model.layers.17.mlp.gate_proj.weight', 'model.layers.5.mlp.down_proj.weight', 'model.layers.29.mlp.down_proj.weight', 'model.layers.10.self_attn.k_proj.weight', 'model.layers.23.mlp.gate_proj.weight', 'model.layers.23.mlp.down_proj.weight', 'model.layers.24.mlp.up_proj.weight', 'model.layers.27.mlp.up_proj.weight', 'model.layers.2.self_attn.o_proj.weight', 'model.layers.26.self_attn.k_proj.weight', 'model.layers.10.mlp.gate_proj.weight', 'model.layers.28.mlp.up_proj.weight', 'model.layers.5.self_attn.o_proj.weight', 'model.layers.8.self_attn.v_proj.weight', 'model.layers.8.self_attn.o_proj.weight', 'model.layers.11.self_attn.q_proj.weight', 'model.layers.4.mlp.down_proj.weight', 'model.layers.12.self_attn.o_proj.weight', 'model.layers.12.mlp.down_proj.weight', 'model.layers.9.mlp.gate_proj.weight', 'model.layers.1.self_attn.q_proj.weight', 'model.layers.31.mlp.up_proj.weight', 'model.layers.19.self_attn.o_proj.weight', 'model.layers.23.mlp.up_proj.weight', 'model.layers.27.self_attn.k_proj.weight', 'model.layers.6.mlp.up_proj.weight', 'model.layers.17.self_attn.o_proj.weight', 'model.layers.1.mlp.down_proj.weight', 'model.layers.14.self_attn.o_proj.weight', 'model.layers.30.mlp.gate_proj.weight', 'model.layers.0.mlp.down_proj.weight', 'model.layers.3.mlp.gate_proj.weight', 'model.layers.1.mlp.gate_proj.weight', 'model.layers.19.self_attn.v_proj.weight', 'model.layers.14.self_attn.k_proj.weight', 'model.layers.16.self_attn.o_proj.weight', 'model.layers.25.mlp.down_proj.weight', 'model.layers.30.self_attn.q_proj.weight', 'model.layers.31.self_attn.k_proj.weight', 'model.layers.29.self_attn.k_proj.weight', 'model.layers.19.self_attn.k_proj.weight', 'model.layers.28.self_attn.q_proj.weight', 'model.layers.3.self_attn.q_proj.weight', 'model.layers.9.self_attn.v_proj.weight', 'model.layers.27.self_attn.q_proj.weight', 'model.layers.1.self_attn.v_proj.weight', 'model.layers.24.self_attn.q_proj.weight', 'model.layers.18.mlp.up_proj.weight', 'model.layers.6.self_attn.k_proj.weight', 'model.layers.22.self_attn.v_proj.weight', 'model.layers.22.mlp.up_proj.weight', 'model.layers.16.mlp.gate_proj.weight', 'model.layers.26.self_attn.v_proj.weight', 'model.layers.26.mlp.down_proj.weight', 'model.layers.2.self_attn.v_proj.weight', 'model.layers.7.mlp.down_proj.weight', 'model.layers.7.mlp.up_proj.weight', 'model.layers.8.mlp.up_proj.weight', 'model.layers.21.self_attn.q_proj.weight', 'model.layers.0.self_attn.v_proj.weight', 'model.layers.13.self_attn.v_proj.weight', 'model.layers.18.mlp.down_proj.weight', 'model.layers.25.self_attn.o_proj.weight', 'model.layers.7.mlp.gate_proj.weight', 'model.layers.7.self_attn.k_proj.weight', 'model.layers.11.self_attn.v_proj.weight', 'model.layers.21.self_attn.o_proj.weight', 'model.layers.21.mlp.up_proj.weight', 'model.layers.14.self_attn.q_proj.weight', 'model.layers.24.self_attn.k_proj.weight', 'model.layers.4.mlp.gate_proj.weight', 'model.layers.1.mlp.up_proj.weight', 'model.layers.20.self_attn.q_proj.weight', 'model.layers.30.self_attn.o_proj.weight', 'model.layers.8.mlp.gate_proj.weight', 'model.layers.25.self_attn.k_proj.weight', 'model.layers.3.self_attn.v_proj.weight', 'model.layers.4.self_attn.o_proj.weight', 'model.layers.23.self_attn.o_proj.weight', 'model.layers.7.self_attn.v_proj.weight', 'model.layers.22.mlp.gate_proj.weight', 'model.layers.24.self_attn.o_proj.weight', 'model.layers.2.mlp.down_proj.weight', 'model.layers.3.mlp.down_proj.weight', 'model.layers.19.mlp.gate_proj.weight', 'model.layers.15.mlp.gate_proj.weight', 'model.layers.18.self_attn.v_proj.weight', 'model.layers.12.self_attn.k_proj.weight', 'model.layers.24.mlp.gate_proj.weight', 'model.layers.22.self_attn.q_proj.weight', 'model.layers.26.mlp.up_proj.weight', 'model.layers.30.mlp.up_proj.weight', 'model.layers.3.self_attn.k_proj.weight', 'model.layers.27.mlp.down_proj.weight', 'model.layers.21.self_attn.v_proj.weight', 'model.layers.0.self_attn.q_proj.weight', 'model.layers.6.self_attn.q_proj.weight', 'model.layers.12.mlp.gate_proj.weight', 'model.layers.31.self_attn.q_proj.weight', 'model.layers.31.self_attn.o_proj.weight', 'model.layers.30.mlp.down_proj.weight', 'model.layers.31.mlp.gate_proj.weight', 'model.layers.8.self_attn.q_proj.weight', 'model.layers.20.self_attn.k_proj.weight', 'model.layers.0.mlp.gate_proj.weight', 'model.layers.1.self_attn.k_proj.weight', 'model.layers.0.self_attn.o_proj.weight', 'model.layers.8.mlp.down_proj.weight', 'model.layers.15.mlp.down_proj.weight', 'model.layers.5.mlp.gate_proj.weight', 'model.layers.0.self_attn.k_proj.weight', 'model.layers.5.self_attn.q_proj.weight', 'model.layers.18.self_attn.k_proj.weight', 'model.layers.9.self_attn.o_proj.weight', 'model.layers.27.self_attn.v_proj.weight', 'model.layers.30.self_attn.k_proj.weight', 'model.layers.28.mlp.down_proj.weight', 'model.layers.25.self_attn.v_proj.weight', 'model.layers.9.mlp.up_proj.weight', 'model.layers.11.mlp.gate_proj.weight', 'model.layers.11.mlp.down_proj.weight', 'model.layers.15.self_attn.k_proj.weight', 'model.layers.10.mlp.up_proj.weight', 'model.layers.2.mlp.up_proj.weight', 'model.layers.23.self_attn.q_proj.weight', 'model.layers.29.mlp.up_proj.weight', 'model.layers.31.mlp.down_proj.weight', 'model.layers.10.self_attn.q_proj.weight', 'model.layers.29.self_attn.v_proj.weight', 'model.layers.9.self_attn.k_proj.weight', 'model.layers.6.mlp.gate_proj.weight', 'model.layers.12.mlp.up_proj.weight', 'model.layers.23.self_attn.k_proj.weight', 'model.layers.18.mlp.gate_proj.weight', 'model.layers.19.mlp.down_proj.weight', 'model.layers.10.mlp.down_proj.weight', 'model.layers.20.mlp.down_proj.weight', 'model.layers.4.self_attn.v_proj.weight', 'model.layers.2.self_attn.k_proj.weight', 'model.layers.19.self_attn.q_proj.weight', 'model.layers.28.self_attn.v_proj.weight', 'model.layers.4.self_attn.q_proj.weight', 'model.layers.20.mlp.up_proj.weight', 'model.layers.28.self_attn.o_proj.weight', 'model.layers.19.mlp.up_proj.weight', 'model.layers.31.self_attn.v_proj.weight', 'model.layers.14.mlp.up_proj.weight', 'model.layers.14.mlp.gate_proj.weight', 'model.layers.5.self_attn.v_proj.weight', 'model.layers.13.mlp.gate_proj.weight', 'model.layers.7.self_attn.o_proj.weight', 'model.layers.13.self_attn.k_proj.weight', 'model.layers.17.self_attn.v_proj.weight', 'model.layers.29.mlp.gate_proj.weight', 'model.layers.11.self_attn.k_proj.weight', 'model.layers.14.self_attn.v_proj.weight', 'model.layers.14.mlp.down_proj.weight', 'model.layers.17.mlp.down_proj.weight', 'model.layers.25.self_attn.q_proj.weight', 'model.layers.16.mlp.down_proj.weight', 'model.layers.6.mlp.down_proj.weight', 'model.layers.22.mlp.down_proj.weight', 'model.layers.25.mlp.up_proj.weight', 'model.layers.0.mlp.up_proj.weight', 'model.layers.12.self_attn.q_proj.weight', 'model.layers.26.self_attn.q_proj.weight', 'model.layers.17.self_attn.q_proj.weight', 'model.layers.13.self_attn.o_proj.weight', 'model.layers.7.self_attn.q_proj.weight', 'model.layers.10.self_attn.v_proj.weight', 'model.layers.9.self_attn.q_proj.weight', 'model.layers.5.mlp.up_proj.weight', 'model.layers.13.self_attn.q_proj.weight', 'model.layers.13.mlp.down_proj.weight', 'model.layers.27.self_attn.o_proj.weight', 'model.layers.11.mlp.up_proj.weight', 'model.layers.24.self_attn.v_proj.weight', 'model.layers.15.self_attn.v_proj.weight', 'model.layers.16.self_attn.k_proj.weight', 'model.layers.21.self_attn.k_proj.weight', 'model.layers.28.self_attn.k_proj.weight', 'model.layers.13.mlp.up_proj.weight', 'model.layers.8.self_attn.k_proj.weight', 'model.layers.25.mlp.gate_proj.weight', 'model.layers.6.self_attn.o_proj.weight', 'model.layers.30.self_attn.v_proj.weight', 'model.layers.28.mlp.gate_proj.weight', 'model.layers.29.self_attn.o_proj.weight', 'model.layers.22.self_attn.k_proj.weight', 'model.layers.6.self_attn.v_proj.weight', 'model.layers.11.self_attn.o_proj.weight', 'model.layers.9.mlp.down_proj.weight', 'model.layers.27.mlp.gate_proj.weight', 'model.layers.4.self_attn.k_proj.weight']
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.

I tested this model by doing some text generation:

(Pdb) model.generate(max_length=30)
tensor([[    1, 24279, 31730, 24945,  7771, 17308, 17698, 23431, 29339, 31895,
         10582, 21101, 31730, 21554, 17698, 23431, 17698, 11814, 21727, 21727,
         31730, 23431,  8950, 17698, 31730, 17698, 21727, 22823, 10582, 23431]],
       device='cuda:0')
(Pdb) generated_id = self.model.generate(max_length=30)
(Pdb) tokenizer.batch_decode(generated_id, skip_special_tokens=True, clean_up_tokenization_spaces=False)[0]
'Bedeutovystru Bayer Browagi scales식reraagicolon scales식ksam富富agirebmathchar富ozzárefix scalesmathchar Bayer scales scales Bedeutksam'

It seems like this checkpoint is not loaded properly, otherwise there should be better generated text.

YilunKuang commented 9 months ago

fixed it by using interactive_gen.py. marking this as closed.