-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Conversation
<div class="known-issues"> | ||
<h3>Known Issues</h3> | ||
<ul> | ||
<li>For the most part this doesn't handle union types correctly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe put the
OK--so there's a lot going on in here (and much of it's in javascript) so it's hard to review such a large PR--but the code looks good on the whole and the wizard looks great. I'm bothered by the fact that the HTML is duplicated across python and a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm approving the PR--since it doesn't introduce the duplicated HTML (even though it's pretty bad).
@schmmd seems like the .html file is being included. I ran:
Then, navigate to the install directory, in my case /Users/nfliu/miniconda3/envs/test_config_explorer/lib/python3.6/site-packages/allennlp/... Lastly:
|
@nelson-liu you make everything look so easy ;-P |
this xcode issue makes it so I can't even pip install allennlp on my macbook 😢 |
ok, I got rid of the duplicated HTML and it seems to still work |
I'd feel better if someone else tests that they can run the config explorer from this version before I merge it |
Will do. |
Works for me.
|
allennlp configure
launches the config explorer** Vocabulary has a weird from_params and needs bespoke treatment
** not all
FromParams
classes are subclasses ofRegistrable
classes (e.g.FeedForward
), so I had to change a bunch of logic to deal with that** some
Registrable
base classes are themselves instantiable (Vocabulary, Trainer), so I had to change a bunch of logic to deal with that too** make the API change
Activation
annotations tostr
annotations, since when we take them from_params that's how we take them anyway** probably some others
the main remaining non-supported case is union types, which I'm still not sure how to handle