File size: 148 Bytes
5fa1a76
 
 
 
1
2
3
4
example = dataset["test"][304]
speaker_embeddings = torch.tensor(example["speaker_embeddings"]).unsqueeze(0)

Define the input text and tokenize it.