I’m not sure what you mean.
Your target should contain long values with class indices between 0 and 69:
target = torch.tensor([0, 55, 32, 69, 10, 3, 4])  # Sample target for a batch size of 7

invalid_target = torch.tensor([-1, 70, 71, 110])  # Invalid, since indices are not in range [0, 69]