bert-event-extraction
bert-event-extraction copied to clipboard
Pytorch Solution of Event Extraction Task using BERT on ACE 2005 corpus
阅读代码发现对arguments的预测依赖于grountruth,打印预测的arguments发现start_idx和end_idx都与groundtruth相同。请问是我使用的方式不对吗?
Hi, Thank you for sharing. I'm interested if you tried to use bert to improve the performance of JMEE. I try to reproduce JMEE,but I can't achieve the result of...
我跑了50轮,最高trigger classification只有23的f1。不知道67分作者使用的是什么参数
I'm a freshman in Event Extraction. I have learned your code. In the train.py, I think this is a multitask because the loss is the sum of triggers loss and...
x是[batch_size,SEQ_LEN,768]的bert表达 有一句代码: for i in range(batch_size): x[i] = torch.index_select(x[i], 0, head_indexes_2d[i]) 请问这是在做什么?
Hi, I'm try to reproduce your model. But my result is low. I have checked these labels that my model predicted and I found a lot of labels that was...
Traceback (most recent call last): File "D:/pythonProject/bert-event-extraction-master/train.py", line 80, in model = Net( File "D:\pythonProject\bert-event-extraction-master\model.py", line 18, in __init__ self.entity_embed = MultiLabelEmbeddingLayer(num_embeddings=entity_size, embedding_dim=entity_embedding_dim, device=device) File "D:\pythonProject\bert-event-extraction-master\model.py", line 129, in __init__...
TypeError: new() received an invalid combination of arguments - got (NoneType, int), but expected one of: * (*, torch.device device) didn't match because some of the arguments have invalid types:...

Hi, I read your code and found there are two problems that hinder the performance improvement. First, as I know, previous papers use head words of entity mentions as the...