From 689a6a924d86cb25ae0fbe2bed5f0123c07eb8e9 Mon Sep 17 00:00:00 2001 From: PENG Bo <33809201+BlinkDL@users.noreply.github.com> Date: Wed, 20 Oct 2021 11:55:40 +0800 Subject: [PATCH] Update train.py --- train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/train.py b/train.py index f16f5e0..3e71ef1 100644 --- a/train.py +++ b/train.py @@ -125,7 +125,7 @@ NUM_OF_RUNS = 5 LENGTH_OF_EACH = 300 for run in range(NUM_OF_RUNS): - context = "it was" + context = "\n" if model_level == 'word': x = np.array([train_dataset.stoi[s] for s in context.strip().lower().split(' ')], dtype=np.int64)