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

Merge master back into our fork. #1

Merged
merged 6 commits into from
Dec 19, 2018
Merged

Conversation

daphnei
Copy link
Collaborator

@daphnei daphnei commented Dec 19, 2018

No description provided.

bpopeters and others added 6 commits December 15, 2018 19:46
…asses (#1114)

* remove references to constant special symbols

* refactor CopyGenerator to not require tgt_dict, inputters.PAD_WORD

* fix incorrect documentation

* remove hard-coded specials from model_builder

* remove unused methods and attributes

* fix spelling error

* remove hard-coded special tokens from loss computation

* remove hard-coded special tokens

* do not hardcode unk with 0

* use assert instead of raise AssertionError

* remove meaningless line in save_fields_to_vocab, use list comprehension

* refactor merge_vocabs to make it private and not depend on hard-coded special tokens

* simplify load_vocabulary

* fix load_vocabulary bug

* remove UNK, which is unused

* remove get_num_features

* remove unused ShardedCorpusIterator and similar, update comments

* fix variable name, update test_models.py

* remove continuation-line ternary

* fix error message spacing

* fix rnn dim check

* make long args lists vertical
* Make MultipleOptimizer expose a param_group attribute

This allows to use the same learning rate update for all optimizers.

* Harmonize learning rate decay definition

* Make each method compute a scaling factor for the given step
* Implement the  general learning rate decay as a single formula

* Set initial_accumulator_value argument for Adagrad

* Remove params attribute from the Optimizer class

The parameters are already stored in the underlying optimizer.
* remove make_text_examples

* remove make_image_examples

* remove make_audio_examples

* remove building dataset from iterator

* remove TextDataset.make_iterator_from_file, combine with make_examples

* combine image's make_iterator_from_file and make_examples

* rename AudioDataset method

* unify dataset constructors

* move _dynamic_dict to DatasetBase

* fix import bug

* fix import error (for real this time)

* change dynamic_dict default value

* dataset creation with iterators (except audio)

* remove hard-coded specials from _dynamic_dict

* do not split in _read_file

* update src argument

* fix silly error

* remove print
* introducing Adafactor
@daphnei daphnei merged commit aa00038 into rekriz11:master Dec 19, 2018
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

Successfully merging this pull request may close these issues.

4 participants