Skip to content

"run_mlm_wwm.py", line 284 AttributeError: 'DataTrainingArguments' object has no attribute 'valid_ref_file' #9012

Closed
NatLun137/transformers
#1
@NatLun137

Description

@NatLun137

Hi! There is a tiny typo in the code "transformers/examples/language-modeling/run_mlm_wwm.py" at line 284. It should be:
if data_args.validation_ref_file is not None: since at line 103 in DataTrainingArguments it defined as validation_ref_file:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions