使用 Keras 建立語言模型的循環神經網路(RNN)
David Cecchini
Instructor
可能的架構:
文字生成:範例
# Pre-trained model
model.generate_sheldon_phrase()
'knock knock. penny. do you have an epost is part in your expert,
too bealie to play the tariment with last night.'
如何建立文字生成模型:
神經機器翻譯:範例
# Pre-trained model
model.translate("Vamos jogar futebol?")
'Let's go play soccer?'
如何建立 NMT 模型:
本章重點:
使用 Keras 建立語言模型的循環神經網路(RNN)