self-chat / models /base_model.py
xu song
update
459fbe3
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