Given a torchtext NLI dataset, within the loop:
for batch_idx, batch in enumerate(val_iter):
print(batch.premise)
How does one print the values of the tensor?
Given a torchtext NLI dataset, within the loop:
for batch_idx, batch in enumerate(val_iter):
print(batch.premise)
How does one print the values of the tensor?