moved ctrl to Salesforce/ctrl (#26183)

* moved `ctrl` to `Salesforce/ctrl`

redirects should theoretically work, but still updating those repo references for clarity

* Fixup

* Slow doc tests

* Add modeling file

---------

Co-authored-by: Lysandre <lysandre@huggingface.co>
This commit is contained in:
Julien Chaumond
2023-09-18 13:52:43 +02:00
committed by GitHub
parent f02b915ba2
commit bc7ce1808f
7 changed files with 27 additions and 18 deletions

View File

@@ -264,7 +264,7 @@ class CTRLModelLanguageGenerationTest(unittest.TestCase):
@slow
def test_lm_generate_ctrl(self):
model = CTRLLMHeadModel.from_pretrained("ctrl")
model = CTRLLMHeadModel.from_pretrained("Salesforce/ctrl")
model.to(torch_device)
input_ids = torch.tensor(
[[11859, 0, 1611, 8]], dtype=torch.long, device=torch_device