Closed YiLing28 closed 2 years ago
Hello ,YiLing
These two arguments, "add_entity" and "add_cut", are both experimental used in our ablation study. So you can easily delete them or extend the class "ModelArguments" as below:
` add_entity: int = field(default=0, metadata={"help": "add entity information or not"})
add_cut: int = field(default=0, metadata={"help": "add cut information or not"}) `
Steps to reproduce:
logger.info(f"Set the add_entity to {bool(model_args.add_entity) or bool(bool(model_args.add_cut))}")
AttributeError: 'ModelArguments' object has no attribute 'add_entity'