feat: cli chat support system_message
Former-commit-id: e3982bff596d01992733687a580c4f41c558061c
This commit is contained in:
@@ -46,6 +46,11 @@ class GeneratingArguments:
|
||||
default=1.0,
|
||||
metadata={"help": "Exponential penalty to the length that is used with beam-based generation."},
|
||||
)
|
||||
system_message: str = field(
|
||||
default=None,
|
||||
metadata={
|
||||
"help": "System message is a message that the developer wrote to tell the bot how to interpret the conversation"},
|
||||
)
|
||||
|
||||
def to_dict(self) -> Dict[str, Any]:
|
||||
args = asdict(self)
|
||||
|
||||
Reference in New Issue
Block a user