From 8e45228d26cc66be6395bb153cf619d889550791 Mon Sep 17 00:00:00 2001 From: wawltor Date: Thu, 10 Dec 2020 10:03:24 +0800 Subject: [PATCH] use paddlenlp downloader for the tokenizer (#5003) use paddlenlp downloader for the tokenizer --- PaddleNLP/paddlenlp/transformers/tokenizer_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PaddleNLP/paddlenlp/transformers/tokenizer_utils.py b/PaddleNLP/paddlenlp/transformers/tokenizer_utils.py index 639bd198..da0cd64c 100644 --- a/PaddleNLP/paddlenlp/transformers/tokenizer_utils.py +++ b/PaddleNLP/paddlenlp/transformers/tokenizer_utils.py @@ -22,7 +22,7 @@ import os import six import unicodedata -from paddle.utils.download import get_path_from_url +from paddlenlp.utils.downloader import get_path_from_url from paddlenlp.utils.env import MODEL_HOME from ..data.vocab import Vocab -- GitLab