GithubHelp home page GithubHelp logo

minhnguyent546 / nmt-en-vi Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 4.31 MB

Neural machine translation English - Vietnamese with Transformer.

Python 61.17% ActionScript 0.33% Smalltalk 1.27% Emacs Lisp 11.39% JavaScript 0.56% OCaml 0.35% NewLisp 1.06% Perl 22.11% Ruby 1.10% Slash 0.19% SystemVerilog 0.48%
natural-language-processing transformer neural-machine-translation

nmt-en-vi's Introduction

Neural machine translation English-Vietnamese with Transformer

Open in Colab Open in Kaggle

A Transformer implementation from scratch, crafted following the principles outlined in the paper 'Attention Is All You Need', serves as a robust solution for tasks such as neural machine translation and grammatical error correction.

Setup

  • Clone this repo:
git clone https://github.com/minhnguyent546/nmt-en-vi.git
cd nmt-en-vi
  • Install required dependencies:
pip install -r requirements.txt

Training and testing

Please take a look at the config file located at config/config.yaml, and change the train, test, and validation paths to your local files.

  • Preprocessing the data:
python preprocess_nmt.py --config 'config/config.yaml'
  • To train the model:
python train_nmt.py --config 'config/config.yaml'
  • To test the model:
python test_nmt.py --config 'config/config.yaml'

nmt-en-vi's People

Contributors

minhnguyent546 avatar dependabot[bot] avatar

Watchers

Kostas Georgiou avatar  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.