Skip to content

parser error. More than one keyword argument specifier. #98

@toolgood

Description

@toolgood

url: https://github.com/huggingface/transformers
file: transformers\examples\research_projects\rag\lightning_base.py(89)

        if config is None:
            self.config = AutoConfig.from_pretrained(
                self.hparams.config_name if self.hparams.config_name else self.hparams.model_name_or_path,
                **({"num_labels": num_labels} if num_labels is not None else {}),
                cache_dir=cache_dir,
                **config_kwargs,   #this
            )
        else:
            self.config: PretrainedConfig = config

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions