File size: 486 Bytes
57bdca5
 
 
 
 
 
1
2
3
4
5
6
This will only truncate
    the second sentence of a pair if a pair of sequences (or a batch of pairs of sequences) is provided.
'only_first': truncate to a maximum length specified by the max_length argument or the maximum
    length accepted by the model if no max_length is provided (max_length=None). This will only truncate
    the first sentence of a pair if a pair of sequences (or a batch of pairs of sequences) is provided.
False or 'do_not_truncate': no truncation is applied.