mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-12-16 03:40:34 +08:00
allow non-packing pretraining
This commit is contained in:
@@ -18,9 +18,7 @@ if TYPE_CHECKING:
|
||||
|
||||
|
||||
class WebChatModel(ChatModel):
|
||||
def __init__(
|
||||
self, manager: "Manager", demo_mode: Optional[bool] = False, lazy_init: Optional[bool] = True
|
||||
) -> None:
|
||||
def __init__(self, manager: "Manager", demo_mode: bool = False, lazy_init: bool = True) -> None:
|
||||
self.manager = manager
|
||||
self.demo_mode = demo_mode
|
||||
self.engine: Optional["BaseEngine"] = None
|
||||
|
||||
Reference in New Issue
Block a user