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

@@ -17,7 +17,6 @@
import json
import os
import unittest
from io import open
from transformers.tokenization_gpt2 import VOCAB_FILES_NAMES, GPT2Tokenizer