From a08652772791fdaeed6f263b1a99926ca64be5dc Mon Sep 17 00:00:00 2001 From: Lysandre Date: Thu, 21 May 2020 09:42:47 -0400 Subject: [PATCH] Unused Union should not be imported --- src/transformers/trainer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transformers/trainer.py b/src/transformers/trainer.py index e4b14750d0..4362832644 100644 --- a/src/transformers/trainer.py +++ b/src/transformers/trainer.py @@ -7,7 +7,7 @@ import re import shutil from contextlib import contextmanager from pathlib import Path -from typing import Callable, Dict, List, Optional, Tuple, Union +from typing import Callable, Dict, List, Optional, Tuple import numpy as np import torch