Update tokenization_qwen.py
Browse files- tokenization_qwen.py +1 -1
tokenization_qwen.py
CHANGED
@@ -18,7 +18,7 @@ from PIL import Image
|
|
18 |
from PIL import ImageFont
|
19 |
from PIL import ImageDraw
|
20 |
from transformers import PreTrainedTokenizer, AddedToken
|
21 |
-
from transformers.utils import try_to_load_from_cache
|
22 |
|
23 |
import matplotlib.pyplot as plt
|
24 |
import matplotlib.colors as mcolors
|
|
|
18 |
from PIL import ImageFont
|
19 |
from PIL import ImageDraw
|
20 |
from transformers import PreTrainedTokenizer, AddedToken
|
21 |
+
from transformers.utils.hub import try_to_load_from_cache
|
22 |
|
23 |
import matplotlib.pyplot as plt
|
24 |
import matplotlib.colors as mcolors
|