fix some typos (#6209)

Co-authored-by: Brayden Zhong <b8zhong@uwaterloo.ca>
This commit is contained in:
applesaucethebun
2025-05-13 01:42:38 +08:00
committed by GitHub
co-authored by Brayden Zhong
parent 3ee40ff919
commit d738ab52f8
95 changed files with 276 additions and 276 deletions
+1 -1
View File
@@ -127,7 +127,7 @@ CONTEXT_LENGTH_KEYS = [
def get_context_length(config):
"""Get the context length of a model from a huggingface model configs."""
"""Get the context length of a model from a HuggingFace model configs."""
text_config = config
rope_scaling = getattr(text_config, "rope_scaling", None)
if rope_scaling: