RasaHQ / rasa

💬 Open source machine learning framework to automate text- and voice-based conversations: NLU, dialogue management, connect to Slack, Facebook, and more - Create chatbots and voice assistants
https://rasa.com/docs/rasa/
Apache License 2.0
18.91k stars 4.63k forks source link

`--augmentation` parameter overwritten with default value #10132

Closed koernerfelicia closed 2 years ago

koernerfelicia commented 2 years ago

Rasa Open Source version

3.0.0rc1

Rasa SDK version

No response

Rasa X version

No response

Python version

3.8

What operating system are you using?

OSX

What happened?

The --augmentation parameter is not making it into the TrainingDataGenerator component but instead seems to be overwritten with the default value.

Here in model_training.py it is correctly passed to train:

Screenshot 2021-11-10 at 09 47 10

Here in TrainingTrackerProvider.provide it has been overwritten with the default value of 50:

Screenshot 2021-11-10 at 09 50 00

Command / Request

rasa train --augmentation 200

Relevant log output

No response

wochinge commented 2 years ago

@joejuzl easy fix but needs to be done

koernerfelicia commented 2 years ago

Woah, so quick! Was just typing a message about this 😅

koernerfelicia commented 2 years ago

Should note I didn't try this out for any different parameters, it was just a coincidence I found it. Wanted to write a test to demonstrate but couldn't quite wrap my head around how to do it so figured screenshots would be quicker