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

Ioc refactor #10

Merged
merged 28 commits into from Apr 23, 2019
Merged

Ioc refactor #10

merged 28 commits into from Apr 23, 2019

Conversation

petermartigny
Copy link
Contributor

  • Refactor the basic trainer in an IoC pattern, with a single registry for every registrable classes, allowing for maximum customization
  • Separate the example experiments from the library
  • Adapt the examples to the new logic
  • Set cuda as optional in the config file

experiments/cbow.py Outdated Show resolved Hide resolved
experiments/cbow.py Outdated Show resolved Hide resolved
experiments/cbow.json Outdated Show resolved Hide resolved
experiments/cbow.py Outdated Show resolved Hide resolved
experiments/cbow.py Outdated Show resolved Hide resolved
experiments/training.py Outdated Show resolved Hide resolved
transfer_nlp/plugins/helpers.py Outdated Show resolved Hide resolved
transfer_nlp/plugins/predictors.py Outdated Show resolved Hide resolved
transfer_nlp/plugins/trainers.py Outdated Show resolved Hide resolved
@petermartigny
Copy link
Contributor Author

IoC Refactoring

@petermartigny petermartigny merged commit bffc949 into master Apr 23, 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

Successfully merging this pull request may close these issues.

None yet

2 participants