Skip to content

Commit

Permalink
Modifying base in yarn embedding (huggingface#2212)
Browse files Browse the repository at this point in the history
  • Loading branch information
SeongBeomLEE authored and yuanwu2017 committed Sep 25, 2024
1 parent 5029e72 commit dedeb3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/text_generation_server/layers/rotary.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def static(cls, config, dim, base, device):
max_position_embeddings=rope_scaling[
"original_max_position_embeddings"
],
base=10000.0,
base=base,
device=inv_freq.device,
scaling_factor=scaling_factor,
extrapolation_factor=1,
Expand Down

0 comments on commit dedeb3c

Please sign in to comment.