mirror of
https://github.com/SakanaAI/doc-to-lora.git
synced 2026-07-26 17:11:02 +02:00
add lora ft cmd to readme
This commit is contained in:
parent
bc7b588775
commit
f2606dc29d
3 changed files with 7 additions and 3 deletions
|
|
@ -101,7 +101,6 @@ def get_model(
|
|||
device="cuda:0",
|
||||
dtype=torch.bfloat16,
|
||||
):
|
||||
# TODO: we could use lower precision during finetuning
|
||||
model_init_kwargs = dict(
|
||||
pretrained_model_name_or_path=model_name_or_path,
|
||||
device_map=device,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue