Giter Site home page Giter Site logo

awesome-text-generation / aichallenger2018_english_chinese_machine_translation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gzhcv/aichallenger2018_english_chinese_machine_translation

0.0 1.0 0.0 1.58 MB

TestB榜第10的方案,bleu32.1

Python 86.96% Perl 11.33% Shell 1.71%

aichallenger2018_english_chinese_machine_translation's Introduction

简介

该方案利用了篇章上下文信息,论文见Improving the Transformer Translation Model with Document-Level Context,论文源码Document-Transformer

环境

  • 系统:ubuntu
  • 显卡:nvidia titan x (4卡)
  • 语言:python 2.7
  • 框架:tensorflow 1.10

用法

  1. 下载原始数据(如有需要)AIChallenger_EnZh_MT_Data
  2. 下载处理过的数据和模型。数据只是做了分词和bpe,未做其它筛选。网盘密码dr83
  3. 将网盘文件解压,切换到解压后的文件夹所在目录
  4. 训练:sh train.sh
  5. 测试:解码结果位置 testB/output_testB.trans.norm
    • 网盘中模型的结果: sh translate_aic_submit.sh
    • 本地训练模型的结果: sh translate.sh

ps: testB榜提交了两个结果,一个是单模型,另一个是用三个不同训练阶段的模型ensemble解码得到的,不知道是哪个32.1。脚本种设置的训练step数不一定最优,需要调。如有帮助,给个star呗~~~

方案详细描述

AI Challenger_2018英中文本机器翻译_参赛小结

aichallenger2018_english_chinese_machine_translation's People

Contributors

gzhcv 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.