1 Star 1 Fork 0

左令君 / en-ch-NMT

加入 Gitee
与超过 800 万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README.md

en-ch-NMT

a Pytorch implementation of neural machine translation system from english (chinese) to chinese (english) based on 30m parallel data.

this is a neural machine translation system from english to chinese and vice versa.

The training set contians 30m english parallel corpora from chinese to english.

As we use Google's sentencepiece encoding methods for both en and ch, the shared vocabulary enables us to learn a single model to translate either english or chinese.

The model is a 8 layer 512 transformer enhanced with LSTM.

I use a webservice to make the model output more instant visible.


Usage:

1)pip3 install -r requirements.txt

2)download the model from https://drive.google.com/file/d/1JMf3daDdMvi2GXH39EatcSmZws8cxFZW/view?usp=sharing

3)python3 interface.py

and then open your browser with http://localhost:4000/


I also build a public website: https://bingning.wang/translation/ (due to the mvps memory limits, the model is a 512-5 layer transformer).

some snapshots of our model.

Image text Image text

简介

a neural machine translation system from english (chinese) to chinese (english) based on 30m parallel data. 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/ling_jun_zuo/en-ch-NMT.git
git@gitee.com:ling_jun_zuo/en-ch-NMT.git
ling_jun_zuo
en-ch-NMT
en-ch-NMT
master

搜索帮助