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

add --num-threads argument to train cli #5086

Merged
merged 7 commits into from
May 18, 2020

Conversation

mludv
Copy link
Contributor

@mludv mludv commented Jan 17, 2020

Hey guys, I did some work on issue #4141

Take a look and say what you think

Proposed changes:

  • Adds additional parameters for the NLU training in a similar way to the core training.
  • A --num-threads cli arguments is added and forwarded to the kwargs of the NLU components train method.

Status (please check what you already did):

  • added some tests for the functionality
  • updated the documentation
  • updated the changelog (please check changelog for instructions)
  • reformat files using black (please check Readme for instructions)

@akelad akelad requested a review from tabergma January 20, 2020 12:43
@akelad
Copy link
Contributor

akelad commented Jan 20, 2020

thanks for submitting this PR, we'll give it a review as soon as possible

Copy link
Contributor

@tabergma tabergma left a comment

Choose a reason for hiding this comment

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

Looks good so far 👍, however a couple of things are missing:

rasa/train.py Show resolved Hide resolved
@mludv mludv force-pushed the add_num_threads_cli_argument branch 2 times, most recently from 0474812 to 806822d Compare January 26, 2020 12:03
@mludv mludv force-pushed the add_num_threads_cli_argument branch from 806822d to d0268a9 Compare February 5, 2020 08:45
@CLAassistant
Copy link

CLA assistant check
All committers have signed the CLA.

@tabergma
Copy link
Contributor

@mludv Are you still working on this? If yes, would be great if you could tackle my comments. Would be great if we can merge this soon. Thanks!

@mludv
Copy link
Contributor Author

mludv commented Mar 26, 2020

Hi Tanja,
I got stuck on some tests and some recent changes, I can take a look and hopefully update the PR this weekend

rasa/cli/train.py Outdated Show resolved Hide resolved
@tmbo tmbo requested a review from tabergma May 15, 2020 22:23
Copy link
Contributor

@tabergma tabergma left a comment

Choose a reason for hiding this comment

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

You need to update the CLI tests. Apart from that it looks good 👍

@tmbo tmbo self-assigned this May 18, 2020
@tmbo tmbo merged commit 0d34b00 into RasaHQ:master May 18, 2020
indam23 pushed a commit that referenced this pull request Jul 27, 2022
* add `--num-threads` argument to train cli

* Update rasa/cli/train.py

* Create 5086.feature.rst

* fixed tests

Co-authored-by: Tom Bocklisch <tom@rasa.com>
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.

5 participants