add gemma3
This commit is contained in:
@@ -112,7 +112,9 @@ def patch_rope_scaling_dict(rope_scaling: Dict[str, Any]) -> None:
|
||||
logger.info("Replacing legacy 'type' key with 'rope_type'")
|
||||
|
||||
if "rope_type" not in rope_scaling:
|
||||
raise ValueError("rope_scaling should have a 'rope_type' key")
|
||||
rope_scaling["rope_type"] = "default"
|
||||
logger.warning("rope_scaling missing 'rope_type' key, "
|
||||
"defaulting to 'default'")
|
||||
|
||||
if rope_scaling["rope_type"] == "su":
|
||||
rope_scaling["rope_type"] = "longrope"
|
||||
|
||||
Reference in New Issue
Block a user