From 715ff80d4bb9d548dcc61cbe05d6faa87173aa28 Mon Sep 17 00:00:00 2001 From: Tanja Bergmann Date: Wed, 15 Apr 2020 11:51:16 +0200 Subject: [PATCH 1/2] set regularization constant to 0.001 --- rasa/nlu/classifiers/embedding_intent_classifier.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rasa/nlu/classifiers/embedding_intent_classifier.py b/rasa/nlu/classifiers/embedding_intent_classifier.py index 193d3c71a267..4886c987f3e7 100644 --- a/rasa/nlu/classifiers/embedding_intent_classifier.py +++ b/rasa/nlu/classifiers/embedding_intent_classifier.py @@ -117,7 +117,7 @@ def required_components(cls) -> List[Type[Component]]: SCALE_LOSS: True, # ## Regularization parameters # The scale of regularization - REGULARIZATION_CONSTANT: 0.002, + REGULARIZATION_CONSTANT: 0.001, # The scale of how important is to minimize the maximum similarity # between embeddings of different labels. NEGATIVE_MARGIN_SCALE: 0.8, From 706d753c9615030e5880e21d6c24e9bf8b2e742b Mon Sep 17 00:00:00 2001 From: Tanja Bergmann Date: Wed, 15 Apr 2020 11:53:03 +0200 Subject: [PATCH 2/2] add changelog --- changelog/5631.misc.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog/5631.misc.rst diff --git a/changelog/5631.misc.rst b/changelog/5631.misc.rst new file mode 100644 index 000000000000..d1994407f85c --- /dev/null +++ b/changelog/5631.misc.rst @@ -0,0 +1 @@ +Set regularization constant in ``EmbeddingIntentClassifier`` to 0.001. \ No newline at end of file