Update all references to canonical models (#29001)
* Script & Manual edition * Update
This commit is contained in:
@@ -331,7 +331,7 @@ class AlbertModelTest(ModelTesterMixin, PipelineTesterMixin, unittest.TestCase):
|
||||
class AlbertModelIntegrationTest(unittest.TestCase):
|
||||
@slow
|
||||
def test_inference_no_head_absolute_embedding(self):
|
||||
model = AlbertModel.from_pretrained("albert-base-v2")
|
||||
model = AlbertModel.from_pretrained("albert/albert-base-v2")
|
||||
input_ids = torch.tensor([[0, 345, 232, 328, 740, 140, 1695, 69, 6078, 1588, 2]])
|
||||
attention_mask = torch.tensor([[0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]])
|
||||
with torch.no_grad():
|
||||
|
||||
Reference in New Issue
Block a user