text
stringlengths
0
101
# convert meta llama2 *.pth file to llama2.c *.bin file
downloads/llama2.c $ python export_meta_llama_bin.py Downloads/llama2_7b_chat bins/llama2_7b_chat.bin
{'dim': 4096, 'multiple_of': 256, 'n_heads': 32, 'n_layers': 32, 'norm_eps': 1e-06, 'vocab_size': -1}
writing tok_embeddings...
writing tok_embeddings.weight...
writing layers.0.attention_norm.weight...
writing layers.1.attention_norm.weight...
writing layers.2.attention_norm.weight...
writing layers.3.attention_norm.weight...
writing layers.4.attention_norm.weight...
writing layers.5.attention_norm.weight...
writing layers.6.attention_norm.weight...
writing layers.7.attention_norm.weight...
writing layers.8.attention_norm.weight...
writing layers.9.attention_norm.weight...
writing layers.10.attention_norm.weight...
writing layers.11.attention_norm.weight...
writing layers.12.attention_norm.weight...
writing layers.13.attention_norm.weight...
writing layers.14.attention_norm.weight...
writing layers.15.attention_norm.weight...
writing layers.16.attention_norm.weight...
writing layers.17.attention_norm.weight...
writing layers.18.attention_norm.weight...
writing layers.19.attention_norm.weight...
writing layers.20.attention_norm.weight...
writing layers.21.attention_norm.weight...
writing layers.22.attention_norm.weight...
writing layers.23.attention_norm.weight...
writing layers.24.attention_norm.weight...
writing layers.25.attention_norm.weight...
writing layers.26.attention_norm.weight...
writing layers.27.attention_norm.weight...
writing layers.28.attention_norm.weight...
writing layers.29.attention_norm.weight...
writing layers.30.attention_norm.weight...
writing layers.31.attention_norm.weight...
writing layers.0.attention.wq.weight...
writing layers.1.attention.wq.weight...
writing layers.2.attention.wq.weight...
writing layers.3.attention.wq.weight...
writing layers.4.attention.wq.weight...
writing layers.5.attention.wq.weight...
writing layers.6.attention.wq.weight...
writing layers.7.attention.wq.weight...
writing layers.8.attention.wq.weight...
writing layers.9.attention.wq.weight...
writing layers.10.attention.wq.weight...
writing layers.11.attention.wq.weight...
writing layers.12.attention.wq.weight...
writing layers.13.attention.wq.weight...
writing layers.14.attention.wq.weight...
writing layers.15.attention.wq.weight...
writing layers.16.attention.wq.weight...
writing layers.17.attention.wq.weight...
writing layers.18.attention.wq.weight...
writing layers.19.attention.wq.weight...
writing layers.20.attention.wq.weight...
writing layers.21.attention.wq.weight...
writing layers.22.attention.wq.weight...
writing layers.23.attention.wq.weight...
writing layers.24.attention.wq.weight...
writing layers.25.attention.wq.weight...
writing layers.26.attention.wq.weight...
writing layers.27.attention.wq.weight...
writing layers.28.attention.wq.weight...
writing layers.29.attention.wq.weight...
writing layers.30.attention.wq.weight...
writing layers.31.attention.wq.weight...
writing layers.0.attention.wk.weight...
writing layers.1.attention.wk.weight...
writing layers.2.attention.wk.weight...
writing layers.3.attention.wk.weight...
writing layers.4.attention.wk.weight...
writing layers.5.attention.wk.weight...
writing layers.6.attention.wk.weight...
writing layers.7.attention.wk.weight...
writing layers.8.attention.wk.weight...
writing layers.9.attention.wk.weight...
writing layers.10.attention.wk.weight...
writing layers.11.attention.wk.weight...
writing layers.12.attention.wk.weight...
writing layers.13.attention.wk.weight...
writing layers.14.attention.wk.weight...
writing layers.15.attention.wk.weight...
writing layers.16.attention.wk.weight...
writing layers.17.attention.wk.weight...
writing layers.18.attention.wk.weight...
writing layers.19.attention.wk.weight...
writing layers.20.attention.wk.weight...
writing layers.21.attention.wk.weight...
writing layers.22.attention.wk.weight...
writing layers.23.attention.wk.weight...
writing layers.24.attention.wk.weight...
writing layers.25.attention.wk.weight...
writing layers.26.attention.wk.weight...
writing layers.27.attention.wk.weight...
writing layers.28.attention.wk.weight...
writing layers.29.attention.wk.weight...
README.md exists but content is empty. Use the Edit dataset card button to edit it.
Downloads last month
33
Edit dataset card