waiyanan commited on
Commit
17bb230
·
verified ·
1 Parent(s): 81c15fa

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -5
README.md CHANGED
@@ -45,11 +45,11 @@ dtype = None # Noneにしておけば自動で設定
45
  load_in_4bit = True # 4bit量子化する
46
 
47
  model, tokenizer = FastLanguageModel.from_pretrained(
48
- model_name = base_model_id,
49
- dtype = dtype,
50
- load_in_4bit = load_in_4bit,
51
- trust_remote_code=True,
52
- token=hf_token
53
  )
54
 
55
  model = PeftModel.from_pretrained(model, adapter_id, token=hf_token)
 
45
  load_in_4bit = True # 4bit量子化する
46
 
47
  model, tokenizer = FastLanguageModel.from_pretrained(
48
+ model_name = base_model_id,
49
+ dtype = dtype,
50
+ load_in_4bit = load_in_4bit,
51
+ trust_remote_code=True,
52
+ token=hf_token
53
  )
54
 
55
  model = PeftModel.from_pretrained(model, adapter_id, token=hf_token)