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

format for pre-commit

parent c417292d
......@@ -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
def __post_init__(self) -> None:
if "." in self.dataset_path:
import inspect
......
......@@ -432,9 +432,9 @@ class HFLM(LM):
return encoding
def tok_batch_encode(
self,
strings: List[str],
padding_side: str = "left",
self,
strings: List[str],
padding_side: str = "left",
left_truncate_len: int = None,
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