Commit 01ad787d authored by lintangsutawika's avatar lintangsutawika
Browse files

format for pre-commit

parent c417292d
...@@ -88,7 +88,6 @@ class TaskConfig(dict): ...@@ -88,7 +88,6 @@ class TaskConfig(dict):
metadata: str = None # by default, not used in the code. allows for users to pass arbitrary info to tasks metadata: str = None # by default, not used in the code. allows for users to pass arbitrary info to tasks
def __post_init__(self) -> None: def __post_init__(self) -> None:
if "." in self.dataset_path: if "." in self.dataset_path:
import inspect import inspect
......
...@@ -432,9 +432,9 @@ class HFLM(LM): ...@@ -432,9 +432,9 @@ class HFLM(LM):
return encoding return encoding
def tok_batch_encode( def tok_batch_encode(
self, self,
strings: List[str], strings: List[str],
padding_side: str = "left", padding_side: str = "left",
left_truncate_len: int = None, left_truncate_len: int = None,
truncation: bool = False, truncation: bool = False,
): ):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment