Skip to content

Commit

Permalink
add model checkpointing to response selector
Browse files Browse the repository at this point in the history
  • Loading branch information
tttthomasssss committed Jul 15, 2020
1 parent f41a448 commit 32fe373
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rasa/nlu/selectors/response_selector.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
INTENT,
DEFAULT_OPEN_UTTERANCE_TYPE,
TEXT,
CHECKPOINT_MODEL,
)

from rasa.utils.tensorflow.model_data import RasaModelData
Expand Down Expand Up @@ -214,6 +215,8 @@ def required_components(cls) -> List[Type[Component]]:
# Specify what features to use as sequence and sentence features
# By default all features in the pipeline are used.
FEATURIZERS: [],
# Perform model checkpointing
CHECKPOINT_MODEL: False,
}

def __init__(
Expand Down

0 comments on commit 32fe373

Please sign in to comment.