fastNLP/reproduction/LSTM+self_attention_sentiment_analysis/config.cfg

13 lines
243 B
INI

[train]
epochs = 30
batch_size = 32
pickle_path = "./save/"
validate = true
save_best_dev = true
model_saved_path = "./save/"
rnn_hidden_units = 300
word_emb_dim = 300
use_crf = true
use_cuda = false
loss_func = "cross_entropy"
num_classes = 5