Results 3 issues of laomagic

problem : pip install fast-bert error: **ERROR: Could not find a version that satisfies the requirement itertools (from fast-bert) (from versions: none) ERROR: No matching distribution found for itertools (from...

bert pointwise、pairwise 构建正负样本的时候,train是否加入了recall的样本,负样本采样的比例大概有多少

def _calculate_weight(self, kpi, y): kpi = max(0.1, kpi) kpi = min(0.99, kpi) w = -1 * ((1 - kpi) ** y) * log(kpi) return w