模型:

textattack/bert-base-uncased-ag-news

英文

TextAttack 模型卡片

此 bert-base-uncased 模型使用 TextAttack 进行序列分类进行了微调,使用 nlp 库加载了 ag_news 数据集。模型使用了 5 个 epochs 进行微调,批次大小为 16,学习率为 3e-05,最大序列长度为 128。由于这是一个分类任务,模型使用了交叉熵损失函数进行训练。模型在此任务中的最佳得分为 0.9514473684210526,通过在第三个 epoch 后在评估集上的准确率进行测量得出。

要获取更多信息,请查看 TextAttack on Github .