File size: 140 Bytes
5fa1a76
 
 
 
1
2
3
4
Set the return_tensors parameter to either pt for PyTorch, or tf for TensorFlow:

batch_sentences = [
     "But what about second breakfast?