Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/TharinduDR/TransQuest.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'examples/sentence_level/wmt_2019/en_ru/monotransquest.py')
-rw-r--r--examples/sentence_level/wmt_2019/en_ru/monotransquest.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/examples/sentence_level/wmt_2019/en_ru/monotransquest.py b/examples/sentence_level/wmt_2019/en_ru/monotransquest.py
index e431100..2a1eede 100644
--- a/examples/sentence_level/wmt_2019/en_ru/monotransquest.py
+++ b/examples/sentence_level/wmt_2019/en_ru/monotransquest.py
@@ -6,7 +6,6 @@ import torch
from sklearn.metrics import mean_absolute_error
from sklearn.model_selection import train_test_split
-from examples.sentence_level.wmt_2019.common.util.download import download_from_google_drive
from examples.sentence_level.wmt_2019.common.util.draw import draw_scatterplot, print_stat
from examples.sentence_level.wmt_2019.common.util.normalizer import fit, un_fit
from examples.sentence_level.wmt_2019.common.util.reader import read_annotated_file, read_test_file
@@ -18,8 +17,6 @@ from transquest.algo.sentence_level.monotransquest.run_model import MonoTransQue
if not os.path.exists(TEMP_DIRECTORY):
os.makedirs(TEMP_DIRECTORY)
-if GOOGLE_DRIVE:
- download_from_google_drive(DRIVE_FILE_ID, MODEL_NAME)
TRAIN_FOLDER = "examples/sentence_level/wmt_2019/en_ru/data/en-ru/train"
DEV_FOLDER = "examples/sentence_level/wmt_2019/en_ru/data/en-ru/dev"