dmitry315 commited on
Commit
6aab704
·
verified ·
1 Parent(s): f6a4d83

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -41,7 +41,7 @@ tokenizer.padding_side = "left"
41
 
42
  # Примените peft к модели
43
  apply_peft_to_module(model, LinearWithLoRA, r=8, alpha=16, target_submodules=["k_proj", "v_proj"])
44
- model.to(DEVICE)
45
 
46
  path = hf_hub_download(f"dmitry315/llm-course-hw3-lora", "model.safetensors")
47
  state_dict = load_file(path)
 
41
 
42
  # Примените peft к модели
43
  apply_peft_to_module(model, LinearWithLoRA, r=8, alpha=16, target_submodules=["k_proj", "v_proj"])
44
+ model.to(device)
45
 
46
  path = hf_hub_download(f"dmitry315/llm-course-hw3-lora", "model.safetensors")
47
  state_dict = load_file(path)