GithubHelp home page GithubHelp logo

abs_pretraining's People

Contributors

xingxingzhang avatar zoezou2015 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

xingxingzhang

abs_pretraining's Issues

How to get the unlabeled dataset of pre-training stage?

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?

Separate optimizer parameters for decoder are not supported

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'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.