self-chat / simulator.py
xu song
update
9dc0e21
raw
history blame
420 Bytes
class Simulator:
def __init__(self, model_name_or_path):
raise NotImplementedError
def generate_query(self, messages):
""" user simulator
:param messages:
:return:
"""
raise NotImplementedError
def generate_response(self, messages):
""" assistant simulator
:param messages:
:return:
"""
raise NotImplementedError