Skip to content

Commit

Permalink
Fixes imports in train.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrilzakka authored Feb 17, 2024
1 parent cc7fb34 commit 1abcd54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions train.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"""

# feel free to use either
from bpe_regex import Tokenizer as RegexTokenizer
from bpe_basic import Tokenizer as BasicTokenizer
from bpe_regex import RegexTokenizer
from bpe_basic import BasicTokenizer

# open some text and train a vocab of 512 tokens
text = open("taylorswift.txt", "r", encoding="utf-8").read()
Expand Down

0 comments on commit 1abcd54

Please sign in to comment.