Skip to content

Commit

Permalink
Fix RoPE theta in config (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fedzbar authored Dec 15, 2024
1 parent fda6cd1 commit e23bfed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion penzai/models/transformer/variants/llamalike_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ def llamalike_from_huggingface_model(
num_decoder_blocks=hf_config.num_hidden_layers,
vocab_size=hf_config.vocab_size,
mlp_variant="swiglu",
rope_wavelength=10_000,
rope_wavelength=hf_config.rope_theta,
tie_embedder_and_logits=False,
attention_type=attention_type,
rms_norm_eps=hf_config.rms_norm_eps,
Expand Down

0 comments on commit e23bfed

Please sign in to comment.