Skip to content

Commit

Permalink
Adapted regex pattern to accommodate all_but_one as a position
Browse files Browse the repository at this point in the history
  • Loading branch information
ojh31 committed Oct 12, 2023
1 parent b862d10 commit 9ae9ec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/store.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

DIRECTION_PATTERN = (
r'^(kmeans|pca|das|das2d|das3d|logistic_regression|mean_diff|random_direction)_'
r'(?:(simple_adverb|simple_book|simple_product|simple_train|simple_res|treebank_train)_(ADJ|ADV|ALL|FEEL|NOUN|VRB)_)'
r'(?:(simple_adverb|simple_book|simple_product|simple_train|simple_res|treebank_train)_(ADJ|ADV|ALL|FEEL|NOUN|VRB|all_but_one)_)'
r'layer(\d*)'
r'\.npy$'
)
Expand Down

0 comments on commit 9ae9ec5

Please sign in to comment.