Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
text-generation-inference
Commits
c46eaf70
"vscode:/vscode.git/clone" did not exist on "c4c99c3907c9524dc15e86ddd69389a5ffcdc07d"
Unverified
Commit
c46eaf70
authored
Jul 12, 2024
by
SeongBeomLEE
Committed by
GitHub
Jul 12, 2024
Browse files
[fix] Modifying base in yarn embedding (#2212)
parent
d789de32
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
server/text_generation_server/layers/rotary.py
server/text_generation_server/layers/rotary.py
+1
-1
No files found.
server/text_generation_server/layers/rotary.py
View file @
c46eaf70
...
@@ -102,7 +102,7 @@ class PositionRotaryEmbedding(nn.Module):
...
@@ -102,7 +102,7 @@ class PositionRotaryEmbedding(nn.Module):
max_position_embeddings
=
rope_scaling
[
max_position_embeddings
=
rope_scaling
[
"original_max_position_embeddings"
"original_max_position_embeddings"
],
],
base
=
10000.0
,
base
=
base
,
device
=
inv_freq
.
device
,
device
=
inv_freq
.
device
,
scaling_factor
=
scaling_factor
,
scaling_factor
=
scaling_factor
,
extrapolation_factor
=
1
,
extrapolation_factor
=
1
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment