Skip to content

Commit

Permalink
full_or_peft option for alignment procedure (#62)
Browse files Browse the repository at this point in the history
* full_or_peft option for alignment

* formatting

---------

Co-authored-by: Shahrzad <[email protected]>
Co-authored-by: Jacobsolawetz <[email protected]>
  • Loading branch information
3 people authored Jul 22, 2024
1 parent 1381deb commit 0101469
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arcee/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,7 @@ def start_alignment(
hf_model: Optional[str] = None,
target_compute: Optional[str] = None,
capacity_id: Optional[str] = None,
full_or_peft: Optional[str] = "full",
) -> Dict[str, str]:
"""
Start the alignment of a model.
Expand All @@ -378,6 +379,7 @@ def start_alignment(
"pretrained_model": pretrained_model,
"merging_model": merging_model,
"alignment_model": alignment_model,
"full_or_peft": full_or_peft,
"hf_model": hf_model,
"target_compute": target_compute,
"capacity_id": capacity_id,
Expand Down

0 comments on commit 0101469

Please sign in to comment.