You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

cfg.cfg 538 B

7 years ago
7 years ago
12345678910111213141516171819202122232425262728293031323334
  1. [train]
  2. n_epochs = 20
  3. batch_size = 32
  4. use_cuda = true
  5. use_tqdm=true
  6. validate_every = 1000
  7. use_golden_train=true
  8. [test]
  9. save_output = true
  10. validate_in_training = true
  11. save_dev_input = false
  12. save_loss = true
  13. batch_size = 64
  14. pickle_path = "./save/"
  15. use_cuda = true
  16. [model]
  17. word_vocab_size = -1
  18. word_emb_dim = 300
  19. pos_vocab_size = -1
  20. pos_emb_dim = 100
  21. rnn_layers = 3
  22. rnn_hidden_size = 256
  23. arc_mlp_size = 500
  24. label_mlp_size = 100
  25. num_label = -1
  26. dropout = 0.3
  27. encoder="var-lstm"
  28. use_greedy_infer=false
  29. [optim]
  30. lr = 2e-3
  31. ;weight_decay = 3e-5