Update llama.py
This commit is contained in:
parent
41ee26ce65
commit
3dabf84ab6
1 changed files with 1 additions and 1 deletions
|
|
@ -1089,7 +1089,7 @@ class LlamaExtendedRotaryEmbedding(torch.nn.Module):
|
|||
pass
|
||||
|
||||
# From https://github.com/meta-llama/llama-models/blob/main/models/llama3_1/api/model.py#L41
|
||||
def apply_scaling(freqs: torch.Tensor):
|
||||
def apply_scaling(self, freqs: torch.Tensor):
|
||||
# Values obtained from grid search
|
||||
scale_factor = 8
|
||||
low_freq_factor = 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue