Skip to content

Commit

Permalink
Fix tokenizer tests
Browse files Browse the repository at this point in the history
  • Loading branch information
abuelnasr0 committed May 6, 2024
1 parent 88dd003 commit 10967a4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/sentencepiece_testing/create_phi3_test_proto.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def add_added_tokens(filename):
with open(
pathlib.Path(__file__).parent.parent.parent
/ "keras_nlp"
/ "src"
/ "tests"
/ "test_data"
/ filename,
Expand All @@ -53,6 +54,7 @@ def add_added_tokens(filename):
with open(
pathlib.Path(__file__).parent.parent.parent
/ "keras_nlp"
/ "src"
/ "tests"
/ "test_data"
/ filename,
Expand Down
1 change: 1 addition & 0 deletions tools/sentencepiece_testing/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def train_sentencepiece(data, filename, *args, **kwargs):
with open(
pathlib.Path(__file__).parent.parent.parent
/ "keras_nlp"
/ "src"
/ "tests"
/ "test_data"
/ filename,
Expand Down

0 comments on commit 10967a4

Please sign in to comment.