Learn R Programming

aifeducation (version 1.0.2)

generate_id: 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)

Value

Returns a string of the requested length.

Arguments

length

int determining the length of the id suffix.

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()