generate_id: Generate ID suffix for objects

View source: R/utils_general.R

generate_idR Documentation

Generate ID suffix for objects

Description

Function for generating an ID suffix for objects of class TextEmbeddingModel, TEClassifierRegular, and TEClassifierProtoNet.

Usage

generate_id(length = 16)

Arguments

length

int determining the length of the id suffix.

Value

Returns a string of the requested length.

See Also

Other Utils: auto_n_cores(), clean_pytorch_log_transformers(), create_config_state(), create_dir(), get_file_extension(), get_py_package_versions(), is.null_or_na(), output_message(), print_message(), run_py_file()


aifeducation documentation built on April 4, 2025, 2:01 a.m.