Use built-in open().
On Python 3, `open is io.open`.
This commit is contained in:
@@ -14,7 +14,6 @@ import logging
|
||||
import math
|
||||
import re
|
||||
import string
|
||||
from io import open
|
||||
|
||||
from transformers.tokenization_bert import BasicTokenizer
|
||||
|
||||
|
||||
Reference in New Issue
Block a user