Skip to content

Adding SingleTaskConfigurator, some cleanup#1135

Merged
zphang merged 9 commits intonyu-mll:masterfrom
zphang:more_polish_2
Oct 7, 2020
Merged

Adding SingleTaskConfigurator, some cleanup#1135
zphang merged 9 commits intonyu-mll:masterfrom
zphang:more_polish_2

Conversation

@zphang
Copy link
Collaborator

@zphang zphang commented Oct 7, 2020

No description provided.


@Registry.register
@zconf.run_config
class SingleTaskConfigurator(zconf.RunConfig):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would prefer to not duplicate everything here. Can the configurators be combined?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is meant to be a much more streamlined configurator since it only supports one task - the multi-task configurator has a lot more complexity because it needs to deal with potentially different tasks in different phases.

@codecov
Copy link

codecov bot commented Oct 7, 2020

Codecov Report

Merging #1135 into master will decrease coverage by 0.16%.
The diff coverage is 31.88%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1135      +/-   ##
==========================================
- Coverage   57.04%   56.87%   -0.17%     
==========================================
  Files         132      132              
  Lines        9584     9652      +68     
==========================================
+ Hits         5467     5490      +23     
- Misses       4117     4162      +45     
Impacted Files Coverage Δ
jiant/proj/main/scripts/configurator.py 59.13% <30.88%> (-16.29%) ⬇️
jiant/utils/python/datastructures.py 82.17% <100.00%> (ø)
jiant/utils/zconf/core.py 73.40% <0.00%> (+1.06%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a5fc8a3...85efc32. Read the comment docs.

@zphang zphang merged commit 7d1cc29 into nyu-mll:master Oct 7, 2020
@zphang zphang deleted the more_polish_2 branch October 7, 2020 21:54
leo-liuzy pushed a commit to leo-liuzy/dynamic_jiant that referenced this pull request Nov 11, 2020
* Colab fix

* single-task configurator

* configurator

* blake

Co-authored-by: jeswan <[email protected]>
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.

2 participants