entity_extractor_by_ner icon indicating copy to clipboard operation
entity_extractor_by_ner copied to clipboard

使用微调模型训练内存不够

Open cam272 opened this issue 9 months ago • 0 comments

ARNING:tensorflow:The parameters output_attentions, output_hidden_states and use_cache cannot be updated when calling a model.They have to be set to True/False in the config object (i.e.: config=XConfig.from_pretrained('name', output_attentions=True)). WARNING:tensorflow:The parameter return_dict cannot be set in graph mode and will always be set to True. WARNING:tensorflow:The parameters output_attentions, output_hidden_states and use_cache cannot be updated when calling a model.They have to be set to True/False in the config object (i.e.: config=XConfig.from_pretrained('name', output_attentions=True)). WARNING:tensorflow:The parameter return_dict cannot be set in graph mode and will always be set to True. 2025-01-07 12:20:17.902475: W tensorflow/core/grappler/optimizers/loop_optimizer.cc:906] Skipping loop optimization for Merge node with control input: cond_1_11/branch_executed/_38 当我使用F-BERT-BILSTM-CRF进行训练时 整个电脑会卡住死机 但是训练作者本人的数据时不会出现整个情况

cam272 avatar Jan 07 '25 04:01 cam272