facebookresearch / XLM

PyTorch original implementation of Cross-lingual Language Model Pretraining.
Other
2.87k stars 495 forks source link

./get-data-para.sh #352

Open Sakurakdx opened 2 years ago

Sakurakdx commented 2 years ago

I run this command, but the terminal says "head: unrecognized option '--10000'"

HeegonJin commented 1 year ago

I have the same issue. Did anyone solve this?

orrp commented 1 year ago

How exactly are you running get-data-para.sh? It seems that Line 197 is evaluating to -10000, which implies that the line above it evaluates to 0; that is, that the file given as the argument to get-data-para.sh (which is $1) is empty (has zero lines).

t109368507 commented 1 year ago

How to fix it? Thanks!