Closed yangshao closed 4 years ago
Sorry. The dynet version currently only support batch size of 1. We tested the batch size > 1 with auto-batching mechanism in Dynet. But it seems the speed is not even accelerating with the existence of CRF layer.
@allanj thanks for the reply, for the new pytorch version, i notice the batch size is supported, if i want to use a larger batch size like 128, which learning rate do i need to use as i see the loss is sum of batch instead of mean of batch, and why the default epoch changes to 100 instead of 30 in the dynet version?
Sorry for the late reply.
Hi, Does the dynet vesion support batch size > 1?