Update README.md
Browse files
README.md
CHANGED
@@ -45,11 +45,11 @@ dtype = None # Noneにしておけば自動で設定
|
|
45 |
load_in_4bit = True # 4bit量子化する
|
46 |
|
47 |
model, tokenizer = FastLanguageModel.from_pretrained(
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
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)
|