DCA icon indicating copy to clipboard operation
DCA copied to clipboard

This repository contains code used in the EMNLP 2019 paper "Learning Dynamic Context Augmentation for Global Entity Linking".

Results 10 DCA issues
Sort by recently updated
recently updated
newest added

### Issue: Running the following command: ``` python main.py --mode eval --order offset --model_path 'Model/model' --method SL ``` Raises the following error: ``` TypeError: predict() missing 2 required positional arguments:...

Hello, I am trying to understand the [`with_coref`](https://github.com/YoungXiyuan/DCA/blob/master/dataset.py#L100) and [`find_coref`](https://github.com/YoungXiyuan/DCA/blob/master/dataset.py#L127) functions in the dataset loader. Roughly speaking, it appears that the goal of `find_coref` is to do the following (in...

Hi, We have successfully trained the model, but we got a problem while saving the model to a file. The exception is as below: > epoch 54 total loss 0.20950795884999707...

python main.py --mode train --order offset --model_path model --method RL 是可以执行成功的。 但是eval 的时候报错。 python main.py --mode eval --order offset --model_path model --method RL root@:/data/DCA$ ~/.conda/envs/keras_bert/bin/python main.py --mode eval --order offset...

Hi! When I used your data, I found that some entities which should be related, such as 'Cambodia_national_football_team' and 'Football_Federation_of_Cambodia' have no link to each other, but they both have...

Hi,how were the results in the paper obtained? The maximum value of the sum of each batch or the maximum value of each dataset?

Hi! First of all, thank you for sharing your very interesting work! I have a simple question: how did you generate the file "./data/entity2type.pkl"? This is essentially the same as...

May I ask what does cumulative_entity_ids mean? when I ran it on cpu, it shows: RuntimeError: zero-dimensional tensor (at position 1) cannot be concatenated at https://github.com/YoungXiyuan/DCA/blob/master/mulrel_ranker.py cumulative_entity_ids = torch.cat([cumulative_entity_ids, entity_ids[indx][action.data[0]]],...

![image](https://user-images.githubusercontent.com/6760497/103093059-cbb35e00-462b-11eb-8605-6a0293db0f38.png) When i try run on colab have like this. How to solved ?

![image](https://user-images.githubusercontent.com/6760497/96988170-2d811a00-154e-11eb-8c74-55246bafa789.png) How to resolved ? .. Thank you