Skip to content

Commit

Permalink
update tests to accomodate tokenizers move
Browse files Browse the repository at this point in the history
  • Loading branch information
Ankur-singh committed Jan 21, 2025
1 parent fc2c9e0 commit e451834
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion torchtune/models/t5/_tokenizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
# LICENSE file in the root directory of this source tree.
from typing import Any, Dict, List

from torchtune.modules.tokenizers._sentencepiece import SentencePieceBaseTokenizer
from torchtune.modules.transforms.tokenizers._sentencepiece import (
SentencePieceBaseTokenizer,
)


class T5Tokenizer(SentencePieceBaseTokenizer):
Expand Down

0 comments on commit e451834

Please sign in to comment.