tiny fix
This commit is contained in:
1 parent
3e84f430b1
commit
0048a2021e
4 files changed
+15
-17
No files matched your search
@@ -11,7 +11,7 @@ if TYPE_CHECKING:
|
||||
from transformers.tokenization_utils import PreTrainedTokenizer
|
||||
|
||||
if is_jieba_available():
|
||||
import jieba
|
||||
import jieba # type: ignore
|
||||
|
||||
if is_nltk_available():
|
||||
from nltk.translate.bleu_score import SmoothingFunction, sentence_bleu
|
||||
|
||||
Reference in new issue
Block a user