Skip to content

Commit

Permalink
fix filter, cf. intrinsic
Browse files Browse the repository at this point in the history
  • Loading branch information
markus583 committed May 17, 2024
1 parent 8809327 commit 545beca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wtpsplit/train/train_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ def maybe_pad(text):
"lyrics" not in dataset_name
and "short" not in dataset_name
and "code" not in dataset_name
and "ted" not in dataset_name
and "ted2020" not in dataset_name
and "legal" not in dataset_name
):
print("SKIP: ", lang, dataset_name)
Expand All @@ -406,7 +406,7 @@ def maybe_pad(text):
continue
print("RUNNING:", dataset_name, lang)
# skip langs starting with a, b, ..., k
# if not lang.startswith(tuple("abcd")):
# if lang.startswith(tuple("abcd")):
# print(f"Skipping {lang} {dataset_name}")
# continue
# do model stuff here; otherwise, head params would be overwritten every time
Expand Down

0 comments on commit 545beca

Please sign in to comment.