Fix adaptive softmax cutoff comment
MODIFY
fairseq/modules/adaptive_softmax.py
fairseq/modules/adaptive_softmax.py
@@ -25,7 +25,7 @@ class AdaptiveSoftmax(nn.Module):
cutoff = cutoff + [vocab_size]
else:
assert vocab_size == cutoff[
- -1], 'cannot specify cutoff smaller than vocab size'
+ -1], 'cannot specify cutoff larger than vocab size'
output_dim = cutoff[0] + len(cutoff) - 1

Fix adaptive softmax cutoff comment