fix examples/rag imports, tests (#7712)

This commit is contained in:
Sam Shleifer
2020-10-14 11:35:00 -04:00
committed by GitHub
parent 890e790e16
commit 8feb0cc967
5 changed files with 42 additions and 18 deletions

View File

@@ -15,7 +15,7 @@ from transformers import logging as transformers_logging
sys.path.append(os.path.join(os.getcwd())) # noqa: E402 # isort:skip
from examples.rag.utils import exact_match_score, f1_score # noqa: E402 # isort:skip
from utils import exact_match_score, f1_score # noqa: E402 # isort:skip
logger = logging.getLogger(__name__)