-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.ini
65 lines (51 loc) · 1.41 KB
/
config.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
[train]
epoch = 4
batch_size = 8
shuffle = True
reader_num = 0
optimizer = bert_adam
learning_rate = 1e-5
step_size = 1
lr_multiplier = 1
weight_decay = 0
[eval]
batch_size = 6
shuffle = False
reader_num = 0
[data]
train_dataset_type = JsonFromFiles
train_formatter_type = BertLJP
train_file_path = legal_judgment_prediction/data
train_file_name = train_50_processed.json
valid_dataset_type = JsonFromFiles
valid_formatter_type = BertLJP
valid_file_path = legal_judgment_prediction/data
valid_file_name = valid_50_processed.json
test_dataset_type = JsonFromFiles
test_formatter_type =BertLJP
test_file_path = legal_judgment_prediction/data
test_file_name = test_50_processed.json
charge_path = legal_judgment_prediction/data/charge_50.txt
article_path = legal_judgment_prediction/data/article_50.txt
article_source_path = legal_judgment_prediction/data/article_source_50.txt
max_seq_length = 512
reduce = False
[model]
model_name = LJPBert
bert_path = legal_judgment_prediction/bert
hidden_size = 768
[output]
model_path = legal_judgment_prediction/results
model_name = Bert
output_function = LJP
tensorboard_path = legal_judgment_prediction/tensorboard
output_time = 2000
test_time = 1
[server]
web_server_IP = 127.0.0.1
web_server_port = 5000
server_socket_IP = 172.17.0.4
server_socket_port = 8000
LINE_CHANNEL_ACCESS_TOKEN = ***REMOVED***
CHANNEL_SECRET = ***REMOVED***
rich_menu_ID = richmenu-1c5c154f17b8ffd07484405776048588