|
2021-05-31 17:53:34,523 INFO __main__ Namespace(adjust_lr=False, config='torchdistill/configs/sample/glue/mrpc/kd/bert_base_uncased_from_bert_large_uncased.yaml', log='log/glue/mrpc/kd/bert_base_uncased_from_bert_large_uncased.txt', private_output='leaderboard/glue/kd/bert_base_uncased_from_bert_large_uncased/', seed=None, student_only=False, task_name='mrpc', test_only=False, world_size=1) |
|
2021-05-31 17:53:34,568 INFO __main__ Distributed environment: NO |
|
Num processes: 1 |
|
Process index: 0 |
|
Local process index: 0 |
|
Device: cuda |
|
Use FP16 precision: True |
|
|
|
2021-05-31 17:53:46,056 WARNING datasets.builder Reusing dataset glue (/root/.cache/huggingface/datasets/glue/mrpc/1.0.0/dacbe3125aa31d7f70367a07a8a9e72a5a0bfeb5fc42e75c9db75b96da6053ad) |
|
2021-05-31 17:53:47,912 INFO __main__ Start training |
|
2021-05-31 17:53:47,912 INFO torchdistill.models.util [teacher model] |
|
2021-05-31 17:53:47,912 INFO torchdistill.models.util Using the original teacher model |
|
2021-05-31 17:53:47,912 INFO torchdistill.models.util [student model] |
|
2021-05-31 17:53:47,913 INFO torchdistill.models.util Using the original student model |
|
2021-05-31 17:53:47,913 INFO torchdistill.core.distillation Loss = 1.0 * OrgLoss |
|
2021-05-31 17:53:47,913 INFO torchdistill.core.distillation Freezing the whole teacher model |
|
2021-05-31 17:53:52,838 INFO torchdistill.misc.log Epoch: [0] [ 0/230] eta: 0:00:18 lr: 9.991304347826087e-05 sample/s: 53.83697333376119 loss: 0.1500 (0.1500) time: 0.0792 data: 0.0049 max mem: 1984 |
|
2021-05-31 17:53:57,162 INFO torchdistill.misc.log Epoch: [0] [ 50/230] eta: 0:00:15 lr: 9.556521739130435e-05 sample/s: 47.326553812563645 loss: 0.1309 (0.1424) time: 0.0860 data: 0.0028 max mem: 3426 |
|
2021-05-31 17:54:01,372 INFO torchdistill.misc.log Epoch: [0] [100/230] eta: 0:00:11 lr: 9.121739130434783e-05 sample/s: 50.72200454699367 loss: 0.1143 (0.1301) time: 0.0844 data: 0.0029 max mem: 3426 |
|
2021-05-31 17:54:05,633 INFO torchdistill.misc.log Epoch: [0] [150/230] eta: 0:00:06 lr: 8.686956521739131e-05 sample/s: 47.706321425626356 loss: 0.0961 (0.1229) time: 0.0840 data: 0.0028 max mem: 3514 |
|
2021-05-31 17:54:09,841 INFO torchdistill.misc.log Epoch: [0] [200/230] eta: 0:00:02 lr: 8.252173913043479e-05 sample/s: 51.89701774628108 loss: 0.0798 (0.1154) time: 0.0837 data: 0.0028 max mem: 3514 |
|
2021-05-31 17:54:12,262 INFO torchdistill.misc.log Epoch: [0] Total time: 0:00:19 |
|
2021-05-31 17:54:12,694 INFO /usr/local/lib/python3.7/dist-packages/datasets/metric.py Removing /root/.cache/huggingface/metrics/glue/mrpc/default_experiment-1-0.arrow |
|
2021-05-31 17:54:12,694 INFO __main__ Validation: accuracy = 0.8137254901960784, f1 = 0.8758169934640523 |
|
2021-05-31 17:54:12,695 INFO __main__ Updating ckpt at ./resource/ckpt/glue/mrpc/kd/mrpc-bert-base-uncased_from_bert-large-uncased |
|
2021-05-31 17:54:13,740 INFO torchdistill.misc.log Epoch: [1] [ 0/230] eta: 0:00:23 lr: 7.991304347826087e-05 sample/s: 41.638144685540134 loss: 0.0671 (0.0671) time: 0.1008 data: 0.0047 max mem: 3514 |
|
2021-05-31 17:54:18,206 INFO torchdistill.misc.log Epoch: [1] [ 50/230] eta: 0:00:16 lr: 7.556521739130435e-05 sample/s: 47.095790431062554 loss: 0.0538 (0.0574) time: 0.0852 data: 0.0028 max mem: 3514 |
|
2021-05-31 17:54:22,392 INFO torchdistill.misc.log Epoch: [1] [100/230] eta: 0:00:11 lr: 7.121739130434783e-05 sample/s: 51.10875664478394 loss: 0.0411 (0.0576) time: 0.0829 data: 0.0028 max mem: 3514 |
|
2021-05-31 17:54:26,596 INFO torchdistill.misc.log Epoch: [1] [150/230] eta: 0:00:06 lr: 6.686956521739131e-05 sample/s: 51.13508241490295 loss: 0.0486 (0.0582) time: 0.0831 data: 0.0028 max mem: 3514 |
|
2021-05-31 17:54:30,823 INFO torchdistill.misc.log Epoch: [1] [200/230] eta: 0:00:02 lr: 6.252173913043479e-05 sample/s: 50.08109229524688 loss: 0.0462 (0.0563) time: 0.0837 data: 0.0027 max mem: 3514 |
|
2021-05-31 17:54:33,328 INFO torchdistill.misc.log Epoch: [1] Total time: 0:00:19 |
|
2021-05-31 17:54:33,746 INFO /usr/local/lib/python3.7/dist-packages/datasets/metric.py Removing /root/.cache/huggingface/metrics/glue/mrpc/default_experiment-1-0.arrow |
|
2021-05-31 17:54:33,746 INFO __main__ Validation: accuracy = 0.8480392156862745, f1 = 0.8973509933774835 |
|
2021-05-31 17:54:33,747 INFO __main__ Updating ckpt at ./resource/ckpt/glue/mrpc/kd/mrpc-bert-base-uncased_from_bert-large-uncased |
|
2021-05-31 17:54:34,895 INFO torchdistill.misc.log Epoch: [2] [ 0/230] eta: 0:00:21 lr: 5.9913043478260875e-05 sample/s: 44.05931925197026 loss: 0.0465 (0.0465) time: 0.0945 data: 0.0038 max mem: 3514 |
|
2021-05-31 17:54:39,140 INFO torchdistill.misc.log Epoch: [2] [ 50/230] eta: 0:00:15 lr: 5.556521739130435e-05 sample/s: 50.21795455089677 loss: 0.0095 (0.0346) time: 0.0823 data: 0.0027 max mem: 3514 |
|
2021-05-31 17:54:43,295 INFO torchdistill.misc.log Epoch: [2] [100/230] eta: 0:00:10 lr: 5.1217391304347826e-05 sample/s: 50.8051007337377 loss: 0.0142 (0.0291) time: 0.0837 data: 0.0028 max mem: 3514 |
|
2021-05-31 17:54:47,483 INFO torchdistill.misc.log Epoch: [2] [150/230] eta: 0:00:06 lr: 4.686956521739131e-05 sample/s: 51.06348993778838 loss: 0.0007 (0.0272) time: 0.0842 data: 0.0029 max mem: 3514 |
|
2021-05-31 17:54:51,714 INFO torchdistill.misc.log Epoch: [2] [200/230] eta: 0:00:02 lr: 4.252173913043478e-05 sample/s: 50.24276854244841 loss: 0.0026 (0.0253) time: 0.0851 data: 0.0030 max mem: 3514 |
|
2021-05-31 17:54:54,205 INFO torchdistill.misc.log Epoch: [2] Total time: 0:00:19 |
|
2021-05-31 17:54:54,639 INFO /usr/local/lib/python3.7/dist-packages/datasets/metric.py Removing /root/.cache/huggingface/metrics/glue/mrpc/default_experiment-1-0.arrow |
|
2021-05-31 17:54:54,639 INFO __main__ Validation: accuracy = 0.8529411764705882, f1 = 0.8932384341637011 |
|
2021-05-31 17:54:54,639 INFO __main__ Updating ckpt at ./resource/ckpt/glue/mrpc/kd/mrpc-bert-base-uncased_from_bert-large-uncased |
|
2021-05-31 17:54:55,920 INFO torchdistill.misc.log Epoch: [3] [ 0/230] eta: 0:00:22 lr: 3.991304347826087e-05 sample/s: 42.869448788315495 loss: 0.0016 (0.0016) time: 0.0967 data: 0.0034 max mem: 3514 |
|
2021-05-31 17:55:00,189 INFO torchdistill.misc.log Epoch: [3] [ 50/230] eta: 0:00:15 lr: 3.556521739130435e-05 sample/s: 52.13343152700482 loss: 0.0001 (0.0136) time: 0.0830 data: 0.0027 max mem: 3514 |
|
2021-05-31 17:55:04,403 INFO torchdistill.misc.log Epoch: [3] [100/230] eta: 0:00:11 lr: 3.121739130434783e-05 sample/s: 45.72906348890518 loss: 0.0002 (0.0123) time: 0.0849 data: 0.0028 max mem: 3514 |
|
2021-05-31 17:55:08,613 INFO torchdistill.misc.log Epoch: [3] [150/230] eta: 0:00:06 lr: 2.6869565217391306e-05 sample/s: 46.72499255005389 loss: 0.0002 (0.0128) time: 0.0836 data: 0.0028 max mem: 3514 |
|
2021-05-31 17:55:12,805 INFO torchdistill.misc.log Epoch: [3] [200/230] eta: 0:00:02 lr: 2.252173913043478e-05 sample/s: 50.039716295134184 loss: 0.0001 (0.0117) time: 0.0837 data: 0.0028 max mem: 3514 |
|
2021-05-31 17:55:15,259 INFO torchdistill.misc.log Epoch: [3] Total time: 0:00:19 |
|
2021-05-31 17:55:15,712 INFO /usr/local/lib/python3.7/dist-packages/datasets/metric.py Removing /root/.cache/huggingface/metrics/glue/mrpc/default_experiment-1-0.arrow |
|
2021-05-31 17:55:15,713 INFO __main__ Validation: accuracy = 0.875, f1 = 0.9090909090909091 |
|
2021-05-31 17:55:15,713 INFO __main__ Updating ckpt at ./resource/ckpt/glue/mrpc/kd/mrpc-bert-base-uncased_from_bert-large-uncased |
|
2021-05-31 17:55:17,017 INFO torchdistill.misc.log Epoch: [4] [ 0/230] eta: 0:00:22 lr: 1.9913043478260872e-05 sample/s: 43.684523530545185 loss: 0.0001 (0.0001) time: 0.0963 data: 0.0048 max mem: 3514 |
|
2021-05-31 17:55:21,223 INFO torchdistill.misc.log Epoch: [4] [ 50/230] eta: 0:00:15 lr: 1.5565217391304347e-05 sample/s: 46.87211121541281 loss: 0.0001 (0.0051) time: 0.0825 data: 0.0027 max mem: 3514 |
|
2021-05-31 17:55:25,451 INFO torchdistill.misc.log Epoch: [4] [100/230] eta: 0:00:10 lr: 1.1217391304347827e-05 sample/s: 50.193014892865904 loss: 0.0000 (0.0061) time: 0.0839 data: 0.0028 max mem: 3514 |
|
2021-05-31 17:55:29,638 INFO torchdistill.misc.log Epoch: [4] [150/230] eta: 0:00:06 lr: 6.869565217391305e-06 sample/s: 50.56851090507939 loss: 0.0001 (0.0062) time: 0.0832 data: 0.0028 max mem: 3514 |
|
2021-05-31 17:55:33,890 INFO torchdistill.misc.log Epoch: [4] [200/230] eta: 0:00:02 lr: 2.5217391304347826e-06 sample/s: 46.181077480373915 loss: 0.0000 (0.0062) time: 0.0860 data: 0.0028 max mem: 3514 |
|
2021-05-31 17:55:36,313 INFO torchdistill.misc.log Epoch: [4] Total time: 0:00:19 |
|
2021-05-31 17:55:36,734 INFO /usr/local/lib/python3.7/dist-packages/datasets/metric.py Removing /root/.cache/huggingface/metrics/glue/mrpc/default_experiment-1-0.arrow |
|
2021-05-31 17:55:36,735 INFO __main__ Validation: accuracy = 0.8676470588235294, f1 = 0.9042553191489361 |
|
2021-05-31 17:55:36,774 INFO __main__ [Teacher: bert-large-uncased] |
|
2021-05-31 17:55:37,374 INFO /usr/local/lib/python3.7/dist-packages/datasets/metric.py Removing /root/.cache/huggingface/metrics/glue/mrpc/default_experiment-1-0.arrow |
|
2021-05-31 17:55:37,375 INFO __main__ Test: accuracy = 0.8799019607843137, f1 = 0.9162393162393162 |
|
2021-05-31 17:55:41,047 INFO __main__ [Student: bert-base-uncased] |
|
2021-05-31 17:55:41,477 INFO /usr/local/lib/python3.7/dist-packages/datasets/metric.py Removing /root/.cache/huggingface/metrics/glue/mrpc/default_experiment-1-0.arrow |
|
2021-05-31 17:55:41,477 INFO __main__ Test: accuracy = 0.875, f1 = 0.9090909090909091 |
|
2021-05-31 17:55:41,478 INFO __main__ Start prediction for private dataset(s) |
|
2021-05-31 17:55:41,478 INFO __main__ mrpc/test: 1725 samples |
|
|