You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/lsdx/lys-project/llm/LEVEN-main/Baselines/BERT/run_leven.py", line 50, in
ALL_MODELS = sum(
^^^^
File "/home/lsdx/lys-project/llm/LEVEN-main/Baselines/BERT/run_leven.py", line 52, in
tuple(conf.pretrained_config_archive_map.keys())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: type object 'BertConfig' has no attribute 'pretrained_config_archive_map'
`
The text was updated successfully, but these errors were encountered:
我在执行Baselines中BERT的时候,运行run_train.sh报错:
`$ CUDA_VISIBLE_DEVICES=0,1,2,3 python run_leven.py --data_dir ./data --model_type bert --output_dir ./saved --max_seq_length 512 --per_gpu_train_batch_size 8--per_gpu_eval_batch_size 4--gradient_accumulation_steps 2--learning_rate 5e-5--num_train_epochs 4--save_steps 100--logging_steps 100--seed 100--do_train --do_eval --eval_all_checkpoints --overwrite_output_dir
Traceback (most recent call last):
File "/home/lsdx/lys-project/llm/LEVEN-main/Baselines/BERT/run_leven.py", line 50, in
ALL_MODELS = sum(
^^^^
File "/home/lsdx/lys-project/llm/LEVEN-main/Baselines/BERT/run_leven.py", line 52, in
tuple(conf.pretrained_config_archive_map.keys())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: type object 'BertConfig' has no attribute 'pretrained_config_archive_map'
`
The text was updated successfully, but these errors were encountered: