Use built-in open().

On Python 3, `open is io.open`.
This commit is contained in:
Aymeric Augustin
2019-12-22 18:26:42 +01:00
parent d6eaf4e6d2
commit 1c62e87b34
29 changed files with 0 additions and 29 deletions

View File

@@ -14,7 +14,6 @@ import logging
import math
import re
import string
from io import open
from transformers.tokenization_bert import BasicTokenizer