模型:

Arro94/nova-threat-analyzer-swe

语言:

sv

许可:

gpl-3.0

其他:

bert
英文

已训练了6040个帖子(威胁占39%,非威胁占61%);内容涵盖了真实的瑞典文本和翻译后的英文文本(合成和真实)。

欢迎联系我们并提供反馈,我们会不断改进模型。可以通过nova.threat.analyzer@gmail.com与我们取得联系。

使用以下参数进行训练:

  • 批处理大小: 16
  • 学习率: 2e-5
  • 轮次: 2
  • 最大序列长度: 45
  • epsilon: 1e-8
  • 预热步数: 226
  • 优化器: adamw_torch

基于所有三个测试的平均性能

平均准确率: 0.87

Label Precision Recall F1 Score
0 (Non-Threat) 0.96 0.86 0.90
1 (Threat) 0.67 0.89 0.76
Macro 0.81 0.89 0.83
Weighted 0.90 0.87 0.87

每个测试的性能

Test Label Precision Recall F1 Score
Test Set 0 (Non-Threat) 0.91 0.93 0.92
Test Set 1 (Threat) 0.88 0.85 0.86
Test Set Macro Avg 0.89 0.89 0.89
Test Set Weighted Avg 0.90 0.90 0.90
- - - - -
In-the-Wild 1 0 (Non-Threat) 0.99 0.77 0.86
In-the-Wild 1 1 (Threat) 0.60 0.97 0.74
In-the-Wild 1 Macro Avg 0.79 0.87 0.80
In-the-Wild 1 Weighted Avg 0.88 0.82 0.83
- - - - -
In-the-Wild 2 0 (Non-Threat) 0.99 0.88 0.93
In-the-Wild 2 1 (Threat) 0.53 0.94 0.68
In-the-Wild 2 Macro Avg 0.76 0.91 0.80
In-the-Wild 2 Weighted Avg 0.93 0.89 0.90
Accuracy
Test Set 0.90
In-the-Wild 1 0.82
In-the-Wild 2 0.89