hatch fmt

This commit is contained in:
litagin02
2024-11-17 12:41:05 +09:00
parent a6047012dd
commit a6bc65271c
15 changed files with 33 additions and 23 deletions

View File

@@ -251,7 +251,6 @@ def unload_tokenizer(language: Languages) -> None:
language (Languages): アンロードする BERT トークナイザーの言語
"""
import torch
if language in __loaded_tokenizers:
del __loaded_tokenizers[language]