This workflows shows two options how the previously trained TensorFlow network to generate fairy tales can be used to generates text in fairy tale style.
Both options read the previously trained TensorFlow network and predict a sequences of index-encoded characters within a loop.
The difference between the two options is in the Extract Index metanode.
The metanode uses probability distribution over all possible indexes to make the predictions. In the Deployment Workflow I the index with the highest probability is extracted. In the Deployment workflow II the next index based is picked based on the given probability distribution.
Workflow
Generate Text Using a Many-To-One LSTM Network (Deployment)
External resources
Used extensions & nodes
Created with KNIME Analytics Platform version 4.3.0
- Go to item
- Go to item
- Go to item
- Go to item
- Go to item
- Go to item
Legal
By using or downloading the workflow, you agree to our terms and conditions.