Skip to content

concat_title_abstract must be True in scripts/pytorch_lightning_training_script/train.py#L73 #49

Description

@piegu

Hi @armancohan.

In scripts/pytorch_lightning_training_script/train.py#L73, concat_title_abstract must be True if you want to train both with title and abstract.

However, it is setup to None in the actual script. That means that only the document title is used for training.

concat_title_abstract: bool = None # actual code

should be:

concat_title_abstract: bool = True

What do you think? Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions