Giter VIP home page Giter VIP logo

seq2seq-nmt's Introduction

seq2seq-nmt

基于Keras实现seq2seq,进行英文到中文的翻译

模型结构

推理模型结构

  • encoder

  • decoder

测试结果

Is it all there?
全都在那裡嗎?

Is it too salty?
还有多余的盐吗?

Is she Japanese?
她是日本人嗎?

Is this a river?
這是一條河嗎?

Isn't that mine?
那是我的吗?

It is up to you.
由你來決定。
python predict.py --eng_sent "It's a nice day."

今天天氣很好。

参考:

https://github.com/pjgao/seq2seq_keras/blob/master/seq2seq_keras.ipynb

https://github.com/keras-team/keras/blob/master/examples/lstm_seq2seq.py

https://blog.csdn.net/PIPIXIU/article/details/81016974

seq2seq-nmt's People

Contributors

yanqiangmiffy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

seq2seq-nmt's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.