Skip to content

Commit 01d6c12

Browse files
author
chenguimin
committed
Update twasp_model.py
1 parent 5ea826a commit 01d6c12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

twasp_model.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def __init__(self, word2id, gram2id, feature2id, labelmap, processor, hpara, arg
114114
else:
115115
self.zen_tokenizer = self.hpara['zen_tokenizer']
116116
self.zen_ngram_dict = self.hpara['zen_ngram_dict']
117-
self.zen = zen.modeling.ZenModel(self.hpapra['config'])
117+
self.zen = zen.modeling.ZenModel(self.hpara['config'])
118118
hidden_size = self.zen.config.hidden_size
119119
self.dropout = nn.Dropout(self.zen.config.hidden_dropout_prob)
120120
else:

0 commit comments

Comments
 (0)