Learn R Programming

aifeducation (version 1.0.2)

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

Value

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

Arguments

log

data.frame containing the log.

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