Update README.md
Browse files
README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
language:
|
3 |
- ru
|
4 |
---
|
5 |
-
# T-
|
6 |
|
7 |
Detailed model card’s coming soon…
|
8 |
|
@@ -13,7 +13,7 @@ Detailed model card’s coming soon…
|
|
13 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
14 |
import torch
|
15 |
torch.manual_seed(42)
|
16 |
-
model_name = "t-
|
17 |
tokenizer = AutoTokenizer.from_pretrained(model_name, use_auth_token=token)
|
18 |
model = AutoModelForCausalLM.from_pretrained(model_name, use_auth_token=token, device_map="auto")
|
19 |
prompt = "Напиши стих про машинное обучение"
|
|
|
2 |
language:
|
3 |
- ru
|
4 |
---
|
5 |
+
# T-pro-it-1.0
|
6 |
|
7 |
Detailed model card’s coming soon…
|
8 |
|
|
|
13 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
14 |
import torch
|
15 |
torch.manual_seed(42)
|
16 |
+
model_name = "t-tech-ai/T-pro-it-1.0"
|
17 |
tokenizer = AutoTokenizer.from_pretrained(model_name, use_auth_token=token)
|
18 |
model = AutoModelForCausalLM.from_pretrained(model_name, use_auth_token=token, device_map="auto")
|
19 |
prompt = "Напиши стих про машинное обучение"
|