Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 575 Bytes

README.md

File metadata and controls

29 lines (18 loc) · 575 Bytes

Introduction

The purpose of create this repository is to learn Transformer.

most code clone from Tensorflow-models

What I did ?

  • split vocab to inputs_vocab and targets_vocab
  • delete some tpu config
  • cut chinese to words

run demo

  1. create vocab and tfrecord
python process_data.py
  1. train_model
./en_zh_train.sh

you can change en_zh_train.sh to test and export model

There is an demo