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 671 B

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
12345678910111213141516171819202122232425262728293031323334353637383940
  1. [train]
  2. epochs = -1
  3. batch_size = 16
  4. pickle_path = "./save/"
  5. validate = true
  6. save_best_dev = true
  7. eval_sort_key = "UAS"
  8. use_cuda = true
  9. model_saved_path = "./save/"
  10. print_every_step = 20
  11. use_golden_train=true
  12. [test]
  13. save_output = true
  14. validate_in_training = true
  15. save_dev_input = false
  16. save_loss = true
  17. batch_size = 64
  18. pickle_path = "./save/"
  19. use_cuda = true
  20. [model]
  21. word_vocab_size = -1
  22. word_emb_dim = 100
  23. pos_vocab_size = -1
  24. pos_emb_dim = 100
  25. word_hid_dim = 100
  26. pos_hid_dim = 100
  27. rnn_layers = 3
  28. rnn_hidden_size = 400
  29. arc_mlp_size = 500
  30. label_mlp_size = 100
  31. num_label = -1
  32. dropout = 0.33
  33. use_var_lstm=false
  34. use_greedy_infer=false
  35. [optim]
  36. lr = 2e-3
  37. weight_decay = 5e-5