atticusg commited on
Commit
089bf5a
·
verified ·
1 Parent(s): f077c9e

Remove ":" from filenames

Browse files
Files changed (1) hide show
  1. src/submission/check_validity.py +2 -2
src/submission/check_validity.py CHANGED
@@ -515,9 +515,9 @@ def validate_directory_causalgraph(fs: HfFileSystem, repo_id: str, dirname: str)
515
  found_token = False
516
  if "residual" or "attention" in prefix.lower():
517
  found_submodule = True
518
- if "layer:" in prefix.lower():
519
  found_layer = True
520
- if "token:" in prefix.lower():
521
  found_token = True
522
  if not found_submodule or not found_layer or not found_token:
523
  errors.append("Could not derive where featurizer should be applied from featurizer filenames.")
 
515
  found_token = False
516
  if "residual" or "attention" in prefix.lower():
517
  found_submodule = True
518
+ if "layer" in prefix.lower():
519
  found_layer = True
520
+ if "token" in prefix.lower():
521
  found_token = True
522
  if not found_submodule or not found_layer or not found_token:
523
  errors.append("Could not derive where featurizer should be applied from featurizer filenames.")