tensor2tensor
tensor2tensor copied to clipboard
what's the meaning of hparam batch_size?
The batch size is so large(4096). It seems that it doesn't mean the number of training samples(sentences) in one training batch?
It's the total number of tokens per batch, allowing either a small number of long sentences or a larger number of short sentences in order to maximize throughput and memory utilization.
See #17, where lukaszkaiser gave more detailed explanation.