swkimx97 commited on
Commit
4eeb7c8
·
verified ·
1 Parent(s): 8b9ad89

Update configuration_phi3.py

Browse files
Files changed (1) hide show
  1. configuration_phi3.py +2 -2
configuration_phi3.py CHANGED
@@ -1,5 +1,5 @@
1
  # coding=utf-8
2
- # Copyright 2024 Microsoft and the HuggingFace Inc. team. All rights reserved.
3
  #
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
  # you may not use this file except in compliance with the License.
@@ -224,4 +224,4 @@ class Phi3Config(PretrainedConfig):
224
  if not len(rope_scaling_long_factor) == self.hidden_size // self.num_attention_heads // 2:
225
  raise ValueError(
226
  f"`rope_scaling`'s long_factor field must have length {self.hidden_size // self.num_attention_heads // 2}, got {len(rope_scaling_long_factor)}"
227
- )
 
1
  # coding=utf-8
2
+ # Copyright 2024 swkimx97 and the HuggingFace Inc. team. All rights reserved.
3
  #
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
  # you may not use this file except in compliance with the License.
 
224
  if not len(rope_scaling_long_factor) == self.hidden_size // self.num_attention_heads // 2:
225
  raise ValueError(
226
  f"`rope_scaling`'s long_factor field must have length {self.hidden_size // self.num_attention_heads // 2}, got {len(rope_scaling_long_factor)}"
227
+ )