Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to run this project if I have downloaded your pre-processed data? #21

Closed
Adityaa64 opened this issue Sep 8, 2019 · 1 comment
Closed

Comments

@Adityaa64
Copy link

python train.py -task ext -mode train -bert_data_path BERT_DATA_PATH -ext_dropout 0.1 -model_path MODEL_PATH -lr 2e-3 -visible_gpus 0,1,2 -report_every 50 -save_checkpoint_steps 1000 -batch_size 3000 -train_steps 50000 -accum_count 2 -log_file ../logs/ext_bert_cnndm -use_interval true -warmup_steps 10000 -max_pos 512
Traceback (most recent call last):
File "train.py", line 10, in
from train_abstractive import validate_abs, train_abs, baseline, test_abs, test_text_abs
File "/home/aditya64/text summerizer/PreSumm-master/src/train_abstractive.py", line 15, in
from pytorch_transformers import BertTokenizer
ModuleNotFoundError: No module named 'pytorch_transformers'

@astariul
Copy link

pip install pytorch_transformers

Check the dependencies in the README and install it.

@nlpyang nlpyang closed this as completed Sep 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants