ты бобо а ссылку кто напишет а???
#2
by
TeraSpace
- opened
README.md
CHANGED
@@ -18,8 +18,8 @@ use_cuda = torch.cuda.is_available()
|
|
18 |
device = torch.device("cuda" if use_cuda else "cpu")
|
19 |
|
20 |
|
21 |
-
t5_tokenizer = transformers.GPT2Tokenizer.from_pretrained(
|
22 |
-
t5_model = transformers.T5ForConditionalGeneration.from_pretrained(
|
23 |
|
24 |
while True:
|
25 |
print('-'*80)
|
|
|
18 |
device = torch.device("cuda" if use_cuda else "cpu")
|
19 |
|
20 |
|
21 |
+
t5_tokenizer = transformers.GPT2Tokenizer.from_pretrained("Den4ikAI/FRED-T5-XL-chitchat")
|
22 |
+
t5_model = transformers.T5ForConditionalGeneration.from_pretrained("Den4ikAI/FRED-T5-XL-chitchat")
|
23 |
|
24 |
while True:
|
25 |
print('-'*80)
|