Skip to content

How to use early stopping for saving the best train accuracy? #102

@hoangthangta

Description

@hoangthangta

Hello, I am looking for a way to save the best train accuracy. The only thing I saw in the training process is this line:

model = train_bert_multitask(
        problem = problem,
        num_epochs = EPOCHS,
        problem_type_dict = problem_type_dict,
        processing_fn_dict = processing_fn_dict,
        continue_training = False,
        params = params 
    )

How to intervene to the training loop?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions