eznlp icon indicating copy to clipboard operation
eznlp copied to clipboard

Easy Natural Language Processing

Results 15 eznlp issues
Sort by recently updated
recently updated
newest added

你好,我想请教一个理论性的问题 我假如有一个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的值怎么取呢,论文中没有提到呀? ![image](https://github.com/user-attachments/assets/107d2c61-c0f4-4b46-9121-efffafc98f5e)

![image](https://github.com/user-attachments/assets/63f1569a-f6b4-49e1-aa47-9a1075d72a82) 出现这种情况的时候就需要像论文说的那样把剩余概率分配给非实体部分是吧,对应的代码就是

看论文说是将原来是span的位置start,end设置为1-sb_epsilon,为什么位置边成了end-1 ![image](https://github.com/syuoni/eznlp/assets/162104094/09e5fff4-fb11-4814-a465-5aea99201728)

The ground truth yij 指的是代码中的non mask吗 ![image](https://github.com/syuoni/eznlp/assets/162104094/59255a64-46f1-46f9-a130-c7e267143ae2)

作者您好,我想请教一下我想在entity_recognition主程序中,调用BoundarySelectionDecoder类中的decode方法,但是缺乏non label,我无法在主程序对应到BoundarySelectionDecoder类中的config参数,有什么办法吗? ![image](https://github.com/syuoni/eznlp/assets/162104094/62668ee4-3381-4f1d-8ba4-57030e9bcb76) ![image](https://github.com/syuoni/eznlp/assets/162104094/b3cb877b-c709-4a97-8490-a2f7245fbda6)

您好请问代码中的encode部分在哪里啊

您好我想问论文中resume数据集得到的F1分数是宏观的还是微观的,因为跑出来的代码二者都有

您好请问这是计算预测值的代码吧?怎么没看到论文所说的softmax呢?? ![image](https://github.com/user-attachments/assets/9f87f119-f199-4fc9-b8e1-5cf8d926f67a)

您好复现过程出现了这种情况是怎么回事呢?可以复习resumener数据集但是换成ace就不可以了 ![image](https://github.com/user-attachments/assets/8fe691ba-937d-438d-bc1f-5ce96f4cd7e8)