Skip to content

Commit

Permalink
revert another change
Browse files Browse the repository at this point in the history
  • Loading branch information
artek0chumak committed Aug 21, 2024
1 parent 8faa645 commit d62638c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/together/resources/finetune.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,14 @@ def create(
client=self._client,
)

training_type: TrainingType = FullTrainingType()
if lora:
training_type: TrainingType = LoRATrainingType(
training_type = LoRATrainingType(
lora_r=lora_r,
lora_alpha=lora_alpha,
lora_dropout=lora_dropout,
lora_trainable_modules=lora_trainable_modules,
)
else:
training_type = FullTrainingType()

parameter_payload = FinetuneRequest(
model=model,
Expand Down

0 comments on commit d62638c

Please sign in to comment.