ThilinaRajapakse / pytorch-transformers-classification

Based on the Pytorch-Transformers library by HuggingFace. To be used as a starting point for employing Transformer models in text classification tasks. Contains code to easily train BERT, XLNet, RoBERTa, and XLM models for text classification.
Apache License 2.0
306 stars 97 forks source link

passing args #36

Closed vr25 closed 5 years ago

vr25 commented 5 years ago

Hi,

I am trying to set reprocess_input_data to True so as to avoid overwriting the features. I do it using the following commands but it still creates a new feature file every time I run the file:

python filename.py reprocess_input_data=True [or] python filename.py --reprocess_input_data=True [or] python filename.py reprocess_input_data True [or] python filename.py --reprocess_input_data True

Thanks!

vr25 commented 5 years ago

Or I think I have to change the args in the dictionary next time I run the same file.

vr25 commented 5 years ago

Actually, it should be set to False.