Theano vs Tensorflow 为 NLP 任务构建神经网络

Theano vs Tensorflow for building Neural Networks for NLP tasks

我正在尝试学习 Theano 和 TensorFlow 来为基于 NLP 的任务构建神经网络。关于什么时候应该选择一个而不是另一个,或者什么更好,什么时候或者这只是一个人对什么感到舒服的个人选择,有什么建议吗?

Theano 可能是您今天可以使用的最好的框架,但 TensorFlow 正在迅速变得更好并包含更多功能(如内置优化器、对 LSTM 的支持等),这些功能对于快速构建 NLP 模型特别有用。 In my testing, the slow-down from using TensorFlow ranges from about 1.5-3.0 times slower than using Theano, but its performance will depend on your application. TensorFlow is currently ranked near the top for convolutional operations, so if you're interested in building things like CHARSCNN 应该很快。此外,TensorFlow 启动速度极快,这使其更适合原型设计时模型开发的初始阶段。