yc0815024
yc0815024
> Thanks for the correction. You're right — after reviewing the Megatron-core source code, I confirmed there's no double shift internally. The issue I observed is not caused by Megatron's...
命令如下: export CUDA_VISIBLE_DEVICES=0 python run_s_v2.py \ --model_name_or_path ./prev_trained_model/albert_large \ --gradient_accumulation_steps 2 \ --do_train \ --do_eval \ --data_dir ./data \ --test_dir ./data \ --vocab_file ./prev_trained_model/albert_large/vocab.txt \ --output_dir ./output/ \ --max_seq_length 360...
感谢您的回复。我代码里面继承类的时候把self.bert写成self.albert了,问题已经解决了。
求问,脚本和上面差不多,内存一直上涨,ms-swift版本4.6.1,megatron-core 0.19.2, 求问需要配置啥参数吗?