Skip to content

TypeError: __init__() got an unexpected keyword argument 'tuning_mode' #61

Description

@LOVEISI

Traceback (most recent call last):
File "G:\CodeRL_A3\CodeRL\CodeRL\train.py", line 155, in
main(args)
File "G:\CodeRL_A3\CodeRL\CodeRL\train.py", line 149, in main
run_training(args, train_data)
File "G:\CodeRL_A3\CodeRL\CodeRL\train.py", line 35, in run_training
model = transformers.T5ForConditionalGeneration.from_pretrained(
File "H:\Anaconda\envs\CodeRL_A3\lib\site-packages\transformers\modeling_utils.py", line 1489, in from_pretrained
model = cls(config, *model_args, **model_kwargs)
TypeError: init() got an unexpected keyword argument 'tuning_mode'

When I run "$ /bin/bash scripts/train_critic.sh",it went wrong.
image
image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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