Skip to content

Commit d0c09af

Browse files
authored
Update file_utils.py
fix method `http_get_tokenization_utils` not exists.
1 parent f6d0682 commit d0c09af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PyTorch/LanguageModeling/BERT/file_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def get_from_cache(url, cache_dir=None):
258258
if url.startswith("s3://"):
259259
s3_get(url, temp_file)
260260
else:
261-
http_get_tokenization_utils(url, temp_file)
261+
http_get(url, temp_file)
262262

263263
# we are copying the file before closing it, so flush to avoid truncation
264264
temp_file.flush()

0 commit comments

Comments
 (0)