clean_pytorch_log_transformers: Clean pytorch log of transformers

View source: R/utils_general.R

clean_pytorch_log_transformersR Documentation

Clean pytorch log of transformers

Description

Function for preparing and cleaning the log created by an object of class Trainer from the python library 'transformer's.

Usage

clean_pytorch_log_transformers(log)

Arguments

log

data.frame containing the log.

Value

Returns a data.frame containing epochs, loss, and val_loss.

See Also

Other Utils: auto_n_cores(), create_config_state(), create_dir(), generate_id(), 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.