Vel factory function

def create(alphabet_size: int):
    """ Vel factory function """
    def instantiate(**_):
        return OneHotEncodingInput(alphabet_size)

    return ModelFactory.generic(instantiate)