541431 (5) [Avatar] Offline
When I run the code in Chapter 10.4.5 where:

decoder_model = Model(
    inputs=[decoder_inputs] + decoder_states_inputs,
    output=[decoder_outputs] + decoder_states)

I get a UserWarning that says "update your Model call to the Keras 2 API: `Model(inputs=[<tf.Tenso..., outputs=[<tf.Tenso...)`
How would I update the above code to conform to Keras 2? Thanks
hobs (58) [Avatar] Offline
Cole is looking into it and if the warning prevents the code from working correctly, we'll fix the the example or the installation instructions at http://github.com/totalgood/nlpia