mirror of
https://github.com/saymrwulf/transformers.git
synced 2026-05-14 20:58:08 +00:00
[fix] Marian tests import (#5442)
This commit is contained in:
parent
608d5a7c44
commit
e0d58ddb65
1 changed files with 1 additions and 1 deletions
|
|
@ -20,11 +20,11 @@ import unittest
|
|||
from pathlib import Path
|
||||
from shutil import copyfile
|
||||
|
||||
from transformers.testing_utils import _torch_available
|
||||
from transformers.tokenization_marian import MarianTokenizer, save_json, vocab_files_names
|
||||
from transformers.tokenization_utils import BatchEncoding
|
||||
|
||||
from .test_tokenization_common import TokenizerTesterMixin
|
||||
from .utils import _torch_available
|
||||
|
||||
|
||||
SAMPLE_SP = os.path.join(os.path.dirname(os.path.abspath(__file__)), "fixtures/test_sentencepiece.model")
|
||||
|
|
|
|||
Loading…
Reference in a new issue