Black 20 release
This commit is contained in:
@@ -33,7 +33,9 @@ class CamembertModelIntegrationTest(unittest.TestCase):
|
||||
model.to(torch_device)
|
||||
|
||||
input_ids = torch.tensor(
|
||||
[[5, 121, 11, 660, 16, 730, 25543, 110, 83, 6]], device=torch_device, dtype=torch.long,
|
||||
[[5, 121, 11, 660, 16, 730, 25543, 110, 83, 6]],
|
||||
device=torch_device,
|
||||
dtype=torch.long,
|
||||
) # J'aime le camembert !
|
||||
output = model(input_ids)["last_hidden_state"]
|
||||
expected_shape = torch.Size((1, 10, 768))
|
||||
|
||||
Reference in New Issue
Block a user