thinhnggia / Bana_NMT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Viet-Bana Neural Machine Translation

1. Requirements

Install Nodejs for React App

sudo apt update
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt install nodejs

Check Nodejs version

node --version

Check npm version

npm --version

Install node_modules

cd nmt-react
npm install

Clone the version 1 repository: https://github.com/nsphuoc10/transformer-based

2. Run app

Copy two files app.py and app_util.py into transformer-based folder

Run python app

cd transformer-based
python app.py

Run React app

cd nmt-react
npm start

About


Languages

Language:JavaScript 64.2%Language:Python 15.2%Language:HTML 13.3%Language:CSS 7.2%