Giter VIP home page Giter VIP logo

ko_en_neural_machine_translation's Introduction

Neural Korean to English Machine Translater with Gluon

2018 마이크로소프트웨어 기사를 통해 오신분은 이곳을 참고하세요.

특징

요구사항

  • Python 3.5 이상
  • MXNet 1.0 이상
  • tqdm, konlpy, stemming, gensim

구성

  • 아키텍처

  • seq2seq

  • Attention

  • bi-directional GRU encoder

  • 영한 교차 임베딩 학습

TODO

  • Beam Search 구현

How to

  • 임베딩 학습
python main.py --embedding 
  • 번역 모형 학습
CUDA_VISIBLE_DEVICES='4,5,6,7' python main.py --train --gpu-count 4 --batch-size 100
  • 번역 모형 테스트
python main.py --test --init-model "models/trained_model.params" 

kor > 오바마는 대통령이다.
오바마는 대통령이다.
eng > obama is a presid .
kor > 좋은 아침.
좋은 아침.
eng > good morn
kor > 북한은 핵무기를 가지고 있다.
북한은 핵무기를 가지고 있다.
eng > north korea has a nuclear weapon .
kor >
  • models/trained_model.params
    1. rmsprop(batch size : 100, lr : 0.01) : 7 epocs
    2. sgd (batch size : 100, lr : 0.01) : 33 epocs

ko_en_neural_machine_translation's People

Contributors

gogamza avatar haven-jeon avatar

Watchers

James Cloos avatar

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.