From 8e6f75949104c0f7291f805fcb6049b25a0b4369 Mon Sep 17 00:00:00 2001 From: Paul-Louis NECH Date: Tue, 26 Nov 2019 16:59:41 +0100 Subject: [PATCH] fix(dawa): don't truncate corpus --- KoozDawa/dawa.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KoozDawa/dawa.py b/KoozDawa/dawa.py index 11f1222..76bbef9 100644 --- a/KoozDawa/dawa.py +++ b/KoozDawa/dawa.py @@ -24,7 +24,7 @@ def train(): corpus = load_text() print("Corpus:", corpus[:10]) - lstm.create_model(corpus[:1000]) + lstm.create_model(corpus) with open(filename_output, "a+") as f: for i in range(0, nb_epoch, 10): lstm.fit(epochs=min(i + 10, nb_epoch), initial_epoch=i, -- libgit2 0.27.0