Browse Source

!10586 add data sink note in transformer readme

From: @yuchaojie
Reviewed-by: @c_34,@oacjiewen,@linqingke
Signed-off-by: @c_34,@linqingke
tags/v1.2.0-rc1
mindspore-ci-bot Gitee 5 years ago
parent
commit
a17c4352ec
2 changed files with 4 additions and 0 deletions
  1. +2
    -0
      model_zoo/official/nlp/transformer/README.md
  2. +2
    -0
      model_zoo/official/nlp/transformer/README_CN.md

+ 2
- 0
model_zoo/official/nlp/transformer/README.md View File

@@ -204,6 +204,8 @@ Parameters for learning rate:
sh scripts/run_distribute_train_ascend.sh DEVICE_NUM EPOCH_SIZE DATA_PATH RANK_TABLE_FILE
```

**Attention**: data sink mode can not be used in transformer since the input datas have different sequence lengths.

## [Evaluation Process](#contents)

- Set options in `eval_config.py`. Make sure the 'data_file', 'model_file' and 'output_file' are set to your own path.


+ 2
- 0
model_zoo/official/nlp/transformer/README_CN.md View File

@@ -211,6 +211,8 @@ Parameters for learning rate:
sh scripts/run_distribute_train_ascend.sh DEVICE_NUM EPOCH_SIZE DATA_PATH RANK_TABLE_FILE
```
**注意**:由于网络输入中有不同句长的数据,所以数据下沉模式不可使用。
### 评估过程
- 在`eval_config.py`中设置选项。确保已设置了‘data_file'、'model_file’和'output_file'文件路径。


Loading…
Cancel
Save