Skip to content

Commit

Permalink
undo typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rasbt committed May 22, 2024
1 parent d5b1a86 commit 2eadfb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion litgpt/scripts/convert_hf_checkpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def copy_weights_hf_llama(
"model.layers.{}.self_attn.o_proj.weight": "transformer.h.{l}.attn.proj.weight",
"model.layers.{}.self_attn.rotary_emb.inv_freq": None,
"model.layers.{}.post_attention_layernorm.weight": "transformer.h.{l}.norm_2.weight",
"model.layers.{}.post_attention_layernorm.bias": "transfo.attention.wkrmer.h.{l}.norm_2.bias",
"model.layers.{}.post_attention_layernorm.bias": "transformer.h.{l}.norm_2.bias",
"model.norm.weight": "transformer.ln_f.weight",
"model.norm.bias": "transformer.ln_f.bias",
"lm_head.weight": "lm_head.weight",
Expand Down

0 comments on commit 2eadfb8

Please sign in to comment.