Skip to content

Commit aa0d679

Browse files
committed
Tiny fix
1 parent ae4aaa1 commit aa0d679

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

21_Machine_Translation.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1719,7 +1719,7 @@
17191719
"source": [
17201720
"Now we can train the model. One epoch of training took about 1 hour on a GTX 1070 GPU. You probably need to run 10 epochs or more during training. After 10 epochs the loss was about 1.10 on the training-set and about 1.15 on the validation-set.\n",
17211721
"\n",
1722-
"Note the strange batch-size of 640 (512 + 128) which was chosen because it kept the GPU running at nearly 100% while being within the memory limits of 8GB for this GPU."
1722+
"Note the batch-size of 512 which was chosen because it kept the GPU running at nearly 100% while being within the memory limits of 8GB for this GPU."
17231723
]
17241724
},
17251725
{
@@ -1732,7 +1732,7 @@
17321732
"source": [
17331733
"model_train.fit(x=x_data,\n",
17341734
" y=y_data,\n",
1735-
" batch_size=640,\n",
1735+
" batch_size=512,\n",
17361736
" epochs=10,\n",
17371737
" validation_split=validation_split,\n",
17381738
" callbacks=callbacks)"
@@ -2162,7 +2162,7 @@
21622162
"name": "python",
21632163
"nbconvert_exporter": "python",
21642164
"pygments_lexer": "ipython3",
2165-
"version": "3.6.1"
2165+
"version": "3.6.6"
21662166
}
21672167
},
21682168
"nbformat": 4,

0 commit comments

Comments
 (0)