There was an error while loading. Please reload this page.
1 parent 70cef47 commit aad7c93Copy full SHA for aad7c93
models/keras_base_model.py
@@ -28,7 +28,7 @@ def __init__(self, config):
28
super(KerasBaseModel, self).__init__()
29
self.config = config
30
self.level = self.config.input_level
31
- self.max_len = self.config.max_len[self.config.level]
+ self.max_len = self.config.max_len[self.config.input_level]
32
self.word_embeddings = config.word_embeddings
33
self.n_class = config.n_class
34
0 commit comments