intent_predictor moved to classifier package

isaac
Pavan Mandava 5 years ago
parent 0467eeee5f
commit 50b3409578

@ -148,7 +148,7 @@ Our BiLSTM AllenNLP model contains 4 major components:
- Dropout
- Embeddings
- All the classes that the Config file uses must register using Python decorators (for example, `@Model.register('bilstm_classifier'`).
4. Predictor - [IntentClassificationPredictor](/testing/intent_predictor.py)
4. Predictor - [IntentClassificationPredictor](/classifier/intent_predictor.py)
- AllenNLP uses `Predictor`, a wrapper around the trained model, for making predictions.
- The Predictor uses a pre-trained/saved model and dataset reader to predict new Instances

@ -1,2 +1,3 @@
from .nn import *
from utils.reader import *
from.intent_predictor import *

@ -1,6 +1,4 @@
import classifier
import testing.intent_predictor as pred
import classifier.intent_predictor as pred
import eval.metrics as metrics

Loading…
Cancel
Save