BaseGenerator is the base class for all generators.
BaseGenerator
You can also easily inherit this base class to customize your own generator class. Just override the __init__ and generate method.
__init__
generate
__init__(self, target_dir: str = "data/generations/")
Parameters
target_dir (str): The specified directory to store the generated instruction files.
target_dir
Last updated 2 years ago