Skip to content

CritiqueNRefineParams: Missing 1 required positional argument: 'num_train_examples' #13

@kartiksubodh

Description

@kartiksubodh

Num_train_examples is missing in prompt_opt_config.yaml, leading to an exception while generating the GluePromptOpt object

Exception logs:
CritiqueNRefineParams.init() missing 1 required positional argument: 'num_train_examples'

Possible fix:
Add num_train_examples in the prompt_opt_config.yaml

Also, num_train_examples refers to the number of synthetic examples to be generated. Ideally, this should be optional, and it can also be named better.

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