使用 Keras 构建语言建模的循环神经网络(RNN)
David Cecchini
Instructor
可能的架构:
文本生成:示例
# 预训练模型
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.'
如何构建文本生成模型:
神经机器翻译:示例
# 预训练模型
model.translate("Vamos jogar futebol?")
'Let's go play soccer?'
如何构建 NMT 模型:
本章内容:
使用 Keras 构建语言建模的循环神经网络(RNN)