Skip to content

Commit

Permalink
Update lowercase.
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgiosSmyrnis committed May 19, 2024
1 parent 84e4bd4 commit e53b794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion open_lm/datapreprocess/ray/tokenize_shuffle.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def load_from_yaml(filename):
# Add get_source and get_sampling_frequency methods to Sources
def get_source_dynamic(self, key):
for item in data["sources"]:
if any(marker in key.lower() for marker in item["markers"]):
if any(marker.lower() in key.lower() for marker in item["markers"]):
return Sources[item["source"]]
return Sources.UNKNOWN

Expand Down

0 comments on commit e53b794

Please sign in to comment.