W2NER icon indicating copy to clipboard operation
W2NER copied to clipboard

what‘s the meaning of the ADR ?

Open ucas010 opened this issue 2 years ago • 2 comments

in the data/example "type": "ADR"

could you pls help me ?

ucas010 avatar Mar 06 '23 08:03 ucas010

run the example got error python main.py --config ./config/example.json

2023-03-06 16:42:31 - INFO: Epoch: 0 Traceback (most recent call last): File "/data/W2NER/main.py", line 299, in trainer.train(i, train_loader) File "/data/W2NER/main.py", line 75, in train label_result = torch.cat(label_result) RuntimeError: torch.cat(): expected a non-empty list of Tensors

ucas010 avatar Mar 06 '23 08:03 ucas010

ADR means adverse drug reactions, you can find the detailed description in Cadec: A corpus of adverse drug event annotations. The example is only for demostrating data structure, please replace it with one dataset in this link.

ljynlp avatar Mar 11 '23 13:03 ljynlp