Spaces:
Sleeping
Sleeping
Update trainer.py
Browse files- trainer.py +2 -0
trainer.py
CHANGED
@@ -19,6 +19,8 @@ from lstm_model_new import LSTM_model, BiLSTMModel
|
|
19 |
from max_ent_model import MaxEntropyModel
|
20 |
from svm_model import SVM
|
21 |
|
|
|
|
|
22 |
|
23 |
class Trainer(object):
|
24 |
def __init__(self, vocab_size, sequence_len, batch_size, nn_epochs, model_type):
|
|
|
19 |
from max_ent_model import MaxEntropyModel
|
20 |
from svm_model import SVM
|
21 |
|
22 |
+
nltk.download('punkt')
|
23 |
+
|
24 |
|
25 |
class Trainer(object):
|
26 |
def __init__(self, vocab_size, sequence_len, batch_size, nn_epochs, model_type):
|