facebookresearch/fairseq

Invalid suffix of raw dataset when preprocessing without language

開放

#1,426 建立於 2019年11月25日

 (2 則留言) (0 個反應) (0 位負責人)Python (6,224 個分叉)batch import
bughelp wanted

倉庫指標

星標
 (29,107 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

When preprocessing using --dataset-impl raw and no source and target languages are specified, the datasets are stored under train.None-None due to this line:

https://github.com/pytorch/fairseq/blob/5349052aae4ec1350822c894fbb6be350dff61a0/preprocess.py#L218

Is this expected behavior or can we remove this suffix?

貢獻者指南