zoezou2015 / abs_pretraining Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
hi, thank you for your great job!
According to the paper, the model is pre-trained by the GIGA-CM dataset (totally 6,626,842 documents and 2,854 million words), which includes 6,339,616 documents sampled from the English Gigaword4 dataset and the training split of the CNNDM dataset.
Could you give some detail for obtaining the GIGA-CM dataset? or could you mind publishing this dataset?
Upon running the provided bash script for pretraining, I get the error
train.py: error: unrecognized arguments: --warmup-dec-updates 10000 --warmup-init-dec-lr 1e-07
If I run the code after removing those two parameters, I still get this error
Traceback (most recent call last):
File "/home/kundank/operate/abs_pretraining/train.py", line 449, in
cli_main()
File "/home/kundank/operate/abs_pretraining/train.py", line 445, in cli_main
main(args)
File "/home/kundank/operate/abs_pretraining/train.py", line 109, in main
trainer.dummy_train_step([dummy_batch])
File "/home/kundank/operate/abs_pretraining/fairseq/trainer.py", line 290, in dummy_train_step
self.train_step(dummy_batch, dummy_batch=True)
File "/home/kundank/operate/abs_pretraining/fairseq/trainer.py", line 307, in train_step
self.zero_grad()
File "/home/kundank/operate/abs_pretraining/fairseq/trainer.py", line 442, in zero_grad
self.optimizer.zero_grad()
File "/home/kundank/operate/abs_pretraining/fairseq/trainer.py", line 98, in optimizer
self._build_optimizer()
File "/home/kundank/operate/abs_pretraining/fairseq/trainer.py", line 160, in _build_optimizer
self._lr_scheduler = lr_scheduler.build_lr_scheduler(self.args, self.optimizer)
File "/home/kundank/operate/abs_pretraining/fairseq/optim/lr_scheduler/init.py", line 18, in build_lr_scheduler
return LR_SCHEDULER_REGISTRY[args.lr_scheduler](args, optimizer, decoder=decoder)
TypeError: init() got an unexpected keyword argument 'decoder'
Thank you for giving code about your great work.
The readme seems a bit simple, and it hard to know how to process an unlabeled document for pre-training.
Could you please add the preprocessing process in the readme?
Thank you very much!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.