履历: 创建型长但预期的Float在使用APIC培训师进行微调时
原文:RuntimeError: Found dtype Long but expected Float when fine-tuning using Trainer API
原文:RuntimeError: Found dtype Long but expected Float when fine-tuning using Trainer API
我试图将BERT模型与Huggingface 培训员APIC进行情感分析(将案文归类为积极/否定性)。 我的数据集有两栏,即文本和文稿,它照此办理。