baidu / DuReader

Baseline Systems of DuReader Dataset
http://ai.baidu.com/broad/subordinate?dataset=dureader
1.13k stars 308 forks source link

I do not understand the meaning of this line and cannot locate which module output this stdout. #43

Closed fooSynaptic closed 5 years ago

fooSynaptic commented 5 years ago
2019-02-22 13:16:30,550 - brc - INFO - Training the model for epoch 10
2019-02-22 13:16:36,357 - brc - INFO - Average train loss for epoch 10 is 8.694370711477179
2019-02-22 13:16:36,358 - brc - INFO - Evaluating the model after epoch 10
**{'testlen': 5920, 'reflen': 9147, 'correct': [2409, 1195, 762, 577], 'guess': [5920, 5821, 5722, 5623]}
ratio: 0.6472067344483823**
2019-02-22 13:16:42,349 - brc - INFO - Dev eval loss 14.789813613891601
2019-02-22 13:16:42,351 - brc - INFO - Dev eval result: {'Bleu-3': 0.12942842413184924, 'Bleu-1': 0.2359285965766089, 'Bleu-4': 0.10657137097095022, 'Bleu-2': 0.1675745997143726, 'Rouge-L': 0.24175041960869123}
2019-02-22 13:16:42,911 - brc - INFO - Model saved in ../data/models/, with prefix BIDAF.
fooSynaptic commented 5 years ago

for line: {'testlen': 5920, 'reflen': 9147, 'correct': [2409, 1195, 762, 577], 'guess': [5920, 5821, 5722, 5623]} ratio: 0.6472067344483823 i cannot find stdout method in train() or evaluate() from rc_mdoel.py