-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Enable providing several components of the same type in nlu pipeline #1693
Conversation
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.
left a couple comments: in general we should make the persistence of policies and components very similar (e.g. right now, every policy gets its own directory wheras for nlu we use file name prefix)
core persistence doesn't have metadata persisted |
yes I know, every policy does that on its own (which I think might also make sense, because the policies are independent so you can actually train them outside of core and persist them, wheras that doesn't make sense for the components in the nlu pipeline) |
True, so are we going for folders? Because folders also kind of imply independence, while here only crf and intent classifier are independent |
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.
great job and a lot of work 🚀 couple type and style comments and one additional thing I noticed:
mitie_utils
andspacy_utils
still have thename
property
Co-Authored-By: Ghostvv <mr.voov@gmail.com>
Co-Authored-By: Ghostvv <mr.voov@gmail.com>
Co-Authored-By: Ghostvv <mr.voov@gmail.com>
Co-Authored-By: Ghostvv <mr.voov@gmail.com>
Co-Authored-By: Ghostvv <mr.voov@gmail.com>
Co-Authored-By: Ghostvv <mr.voov@gmail.com>
Co-Authored-By: Ghostvv <mr.voov@gmail.com>
Co-Authored-By: Ghostvv <mr.voov@gmail.com>
Co-Authored-By: Ghostvv <mr.voov@gmail.com>
Co-Authored-By: Ghostvv <mr.voov@gmail.com>
Co-Authored-By: Ghostvv <mr.voov@gmail.com>
Co-Authored-By: Ghostvv <mr.voov@gmail.com>
Co-Authored-By: Ghostvv <mr.voov@gmail.com>
Co-Authored-By: Ghostvv <mr.voov@gmail.com>
Co-Authored-By: Ghostvv <mr.voov@gmail.com>
Co-Authored-By: Ghostvv <mr.voov@gmail.com>
Co-Authored-By: Ghostvv <mr.voov@gmail.com>
Co-Authored-By: Ghostvv <mr.voov@gmail.com>
Code Climate has analyzed commit 671f2f3 and detected 16 issues on this pull request. Here's the issue category breakdown:
View more on Code Climate. |
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.
looks great, some small comments and then we are ready to merge 🚀
@Ghostvv please also make sure to increase the version in the version py and change the min compatible version in the constants.py |
Co-Authored-By: Ghostvv <mr.voov@gmail.com>
Co-Authored-By: Ghostvv <mr.voov@gmail.com>
@tmbo what do you mean with the version? Do we want to release current master |
Co-Authored-By: Ghostvv <mr.voov@gmail.com>
No I mean increasing the version to |
@tmbo added changes according to your comments, could you please take a look? Particularly whether migration guide is understandable |
looks good |
Co-authored-by: Jason Song <i@wolfogre.com>
Proposed changes:
Status (please check what you already did):