add data sink note in transformer readme

This commit is contained in:
yuchaojie 2020-12-26 11:15:00 +08:00
parent 8f2b70261a
commit e3cdd89a2e
2 changed files with 4 additions and 0 deletions

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.

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'文件路径。