Skip to content

Commit

Permalink
whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Parry-Parry committed Nov 5, 2024
1 parent 9a3cc99 commit a78757b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions rankers/train/training_arguments.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ def get_loss(loss_fn : str):
else:
return loss_fn


class RankerArguments(TrainingArguments):
group_size : int = field(
default=2,
Expand Down Expand Up @@ -51,8 +50,6 @@ def to_dict(self):
# filter out fields that are defined as field(init=False)
d = {field.name: getattr(self, field.name) for field in fields(self) if field.init}



for k, v in d.items():
if isinstance(v, Enum):
d[k] = v.value
Expand Down

0 comments on commit a78757b

Please sign in to comment.