Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sidjha1 committed Nov 3, 2024
1 parent 70f5510 commit 1e1eb4c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lotus/models/lm.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ def __init__(

self.stats: LMStats = LMStats()

def __call__(
self, messages: list[dict[str, str]] | list[list[dict[str, str]]], **kwargs: dict[str, Any]
) -> LMOutput:
def __call__(self, messages: list[list[dict[str, str]]], **kwargs: dict[str, Any]) -> LMOutput:
all_kwargs = {**self.kwargs, **kwargs}

# Set top_logprobs if logprobs requested
Expand Down

0 comments on commit 1e1eb4c

Please sign in to comment.