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

30 lines
1.0 KiB

{
"dataset_reader": {
"type": "citation_dataset_reader"
},
"train_data_path": "data/jsonl/train.jsonl",
"validation_data_path": "data/jsonl/test.jsonl",
"test_data_path": "data/jsonl/test.jsonl",
"model": {
"type": "basic_bilstm_classifier",
"elmo_text_field_embedder": {
"tokens": {
"type": "embedding",
"pretrained_file": "https://s3-us-west-2.amazonaws.com/allennlp/datasets/glove/glove.6B.100d.txt.gz",
"embedding_dim": 100,
"trainable": false
},
"elmo": {
"type": "elmo_token_embedder",
"options_file": "https://s3-us-west-2.amazonaws.com/allennlp/models/elmo/2x4096_512_2048cnn_2xhighway_5.5B/elmo_2x4096_512_2048cnn_2xhighway_5.5B_options.json",
"weight_file": "https://s3-us-west-2.amazonaws.com/allennlp/models/elmo/2x4096_512_2048cnn_2xhighway_5.5B/elmo_2x4096_512_2048cnn_2xhighway_5.5B_weights.hdf5",
"do_layer_norm": true,
"dropout": 0.5
}
}
},
"trainer": {
"optimizer": "adam",
"num_epochs": 10
}
}