germanjke commited on
Commit
93b6151
1 Parent(s): a186d65

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -15,8 +15,8 @@ import torch
15
  torch.manual_seed(42)
16
 
17
  model_name = "t-tech/T-lite-it-1.0"
18
- tokenizer = AutoTokenizer.from_pretrained(model_name, use_auth_token=token)
19
- model = AutoModelForCausalLM.from_pretrained(model_name, use_auth_token=token, device_map="auto")
20
 
21
  prompt = "Напиши стих про машинное обучение"
22
  messages = [
 
15
  torch.manual_seed(42)
16
 
17
  model_name = "t-tech/T-lite-it-1.0"
18
+ tokenizer = AutoTokenizer.from_pretrained(model_name)
19
+ model = AutoModelForCausalLM.from_pretrained(model_name, device_map="auto")
20
 
21
  prompt = "Напиши стих про машинное обучение"
22
  messages = [