<gh_stars>1-10
from typing import List
from dataclasses import dataclass, field


@dataclass
class ProjectArguments:
    """ Arguments related to project.
    Attributes:
        task:               The name of the project task.
        wandb_project:      The name of the wandb project.
        save_model_dir:     The path of the directory to save the model.
        submit_dir:         The path of the directory to store the prediction results.
        checkpoint:         The path of the directory where the checkpoint is to be saved.
    """
    task: str = field(
        default="klue_re", metadata={"help": "Task name. This kwarg is used by `TASK_INFOS_MAP` and `TASK_METRIC_MAP` to get task-specific information."},
    )
    wandb_project: str = field(
        default="klue_re", metadata={"help": "weight and biases project name."},
    )
    save_model_dir: str = field(
        default="best", metadata={"help": "Directory where the trained model is stored."},
    )
    checkpoint: str = field(
        default=None, metadata={"help": "Checkpoint with models to be used for inference."},
    )
    do_analysis: bool = field(
        default=False, metadata={"help": "Whether to use analysis mode or not."},
    )
    infer_pipeline_name: str = field(
        default="basic", metadata={"help": "Inference pipeline name. You can find this object on `solution/utils/inference.py`"},
    )

from typing import List
from dataclasses import dataclass, field


@dataclass
class ProjectArguments:
    """ Arguments related to project.
    Attributes:
        task:               The name of the project task.
        wandb_project:      The name of the wandb project.
        save_model_dir:     The path of the directory to save the model.
        submit_dir:         The path of the directory to store the prediction results.
        checkpoint:         The path of the directory where the checkpoint is to be saved.
    """
    task: str = field(
        default="klue_re", metadata={"help": "Task name. This kwarg is used by `TASK_INFOS_MAP` and `TASK_METRIC_MAP` to get task-specific information."},
    )
    wandb_project: str = field(
        default="klue_re", metadata={"help": "weight and biases project name."},
    )
    save_model_dir: str = field(
        default="best", metadata={"help": "Directory where the trained model is stored."},
    )
    checkpoint: str = field(
        default=None, metadata={"help": "Checkpoint with models to be used for inference."},
    )
    do_analysis: bool = field(
        default=False, metadata={"help": "Whether to use analysis mode or not."},
    )
    infer_pipeline_name: str = field(
        default="basic", metadata={"help": "Inference pipeline name. You can find this object on `solution/utils/inference.py`"},
    )
Arguments related to project.     Attributes:         task:               The name of the project task.         wandb_project:      The name of the wandb project.         save_model_dir:     The path of the directory to save the model.         submit_dir:         The path of the directory to store the prediction results.         checkpoint:         The path of the directory where the checkpoint is to be saved.