Created
January 24, 2019 16:44
-
-
Save wochinge/c671eefe15eaa4746997b9d736e95c1f to your computer and use it in GitHub Desktop.
Rasa Test Train split
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from rasa_nlu.training_data.loading import load_data | |
data = load_data('<path to your nlu training data>') | |
train, test = data.train_test_split() | |
train.persist('<output directory for training data>') | |
test.persist('<output directory for test data>') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment