-
Notifications
You must be signed in to change notification settings - Fork 2
Other Tools
Joe Kawai edited this page Aug 1, 2018
·
4 revisions
- Web-based software used for visualizing the training of the model.
- The example above shows the training of the Seq2Seq model with the blue line representing the training set and the orange line representing the evaluation set.
- A downward trend in the graphs should be observed when training. An increasing lost value of the evaluation set (orange line) shows the model being overfitted.
- Generally useful for monitoring the training of models.
-
Open the terminal and enter the following command.
python -m tensorflow.tensorboard --logdir <enter log directory> --port <port number>
- Displays the source text and generated summary.
- Shows the heatmap of attention for each generated word. (Yellow words in the source text)
- Shows the Pgen values for Pointer-Generator models. (Green words in the generated summary)
-
Download the code from the Attention Visualizer Github
-
Place the
external folder
andindex.html
into the decode directory -
Open the terminal, cd into the decode directory, and enter the following command.
python -m SimpleHTTPServer
-
Navigate to the browser on
http://<ip-address>:8000/
Completed by Melvin and Joe