From 969ee9877d2616c41274a3d45ff5cc2325ee7250 Mon Sep 17 00:00:00 2001 From: alexeib Date: Tue, 4 Aug 2020 14:18:03 -0700 Subject: [PATCH] wav2vec 2.0 (#1220) Summary: Pull Request resolved: https://github.com/fairinternal/fairseq-py/pull/1220 Test Plan: Please see examples/wav2vec/README.md for instructions Reviewed By: edunov Differential Revision: D22707565 Pulled By: alexeib fbshipit-source-id: 0c0d4ca7acc933ef7c0062f8dce550b94e414680 --- pytext/metric_reporters/seq2seq_metric_reporter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytext/metric_reporters/seq2seq_metric_reporter.py b/pytext/metric_reporters/seq2seq_metric_reporter.py index 9cf598f25..236bc13ca 100644 --- a/pytext/metric_reporters/seq2seq_metric_reporter.py +++ b/pytext/metric_reporters/seq2seq_metric_reporter.py @@ -3,7 +3,7 @@ from typing import Dict, List import torch -from fairseq import bleu +from fairseq.scoring import bleu from pytext.common.constants import ( BatchContext, DatasetFieldName,