Skip to content

Commit

Permalink
Fix more typing
Browse files Browse the repository at this point in the history
  • Loading branch information
Arsh Zahed authored and Arsh Zahed committed Nov 18, 2024
1 parent 620c2f2 commit 4251b27
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/together/resources/finetune.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ def createFinetuneRequest(
n_checkpoints: int | None = 1,
batch_size: int | Literal["max"] = "max",
learning_rate: float | None = 0.00001,
min_lr_ratio: float | None = 0.0,
warmup_ratio: float | None = 0.0,
min_lr_ratio: float = 0.0,
warmup_ratio: float = 0.0,
max_grad_norm: float = 1.0,
weight_decay: float = 0.0,
lora: bool = False,
Expand Down Expand Up @@ -140,7 +140,7 @@ def create(
batch_size: int | Literal["max"] = "max",
learning_rate: float | None = 0.00001,
min_lr_ratio: float = 0.0,
warmup_ratio: float | None = 0.0,
warmup_ratio: float = 0.0,
max_grad_norm: float = 1.0,
weight_decay: float = 0.0,
lora: bool = False,
Expand Down Expand Up @@ -469,7 +469,7 @@ async def create(
batch_size: int | Literal["max"] = "max",
learning_rate: float | None = 0.00001,
min_lr_ratio: float = 0.0,
warmup_ratio: float | None = 0.0,
warmup_ratio: float = 0.0,
max_grad_norm: float = 1.0,
weight_decay: float = 0.0,
lora: bool = False,
Expand Down

0 comments on commit 4251b27

Please sign in to comment.