eznlp
eznlp copied to clipboard
Easy Natural Language Processing
你好,我想请教一个理论性的问题 我假如有一个entity,class是entity A的,他的位置是句子中的第3个字,span position就是(3,3)。旁边又有另外一个entity,是entity type B,位置是(4,4) 然后我现在做boundary smoothing(of distance 2, epsilon=0.2), 那entity A的probability就是1-0.2=0.8,旁边的,譬如(4,4)就会被分到一些些,epsilon/num_of_surrounding_spans 这样就撞了(4,4)的entity B,这种情况会如何处理? (同理对于这个entity b,做smoothing的时候他也会撞到(3,3)的entity A
这个sb_adj_factor的值怎么取呢,论文中没有提到呀? 
 出现这种情况的时候就需要像论文说的那样把剩余概率分配给非实体部分是吧,对应的代码就是
看论文说是将原来是span的位置start,end设置为1-sb_epsilon,为什么位置边成了end-1 
The ground truth yij 指的是代码中的non mask吗 
调用decode
作者您好,我想请教一下我想在entity_recognition主程序中,调用BoundarySelectionDecoder类中的decode方法,但是缺乏non label,我无法在主程序对应到BoundarySelectionDecoder类中的config参数,有什么办法吗?  
您好请问代码中的encode部分在哪里啊
您好我想问论文中resume数据集得到的F1分数是宏观的还是微观的,因为跑出来的代码二者都有
您好请问这是计算预测值的代码吧?怎么没看到论文所说的softmax呢?? 
您好复现过程出现了这种情况是怎么回事呢?可以复习resumener数据集但是换成ace就不可以了 