event_extraction icon indicating copy to clipboard operation
event_extraction copied to clipboard

baidu aistudio event extraction competition

Results 11 event_extraction issues
Sort by recently updated
recently updated
newest added

Traceback (most recent call last): File "D:/KG/eventKG/baidu2020_fork/run_event.py", line 60, in main() File "D:/KG/eventKG/baidu2020_fork/run_event.py", line 49, in main run_event_role_mrc(args) File "D:\KG\eventKG\baidu2020_fork\train_helper.py", line 111, in run_event_role_mrc train_datas = np.load("data/verify_neg_fold_data_{}/token_ids_train.npy".format(args.fold_index), allow_pickle=True) File "E:\machineLearning\Anaconda3\envs\tf1.12.0\lib\site-packages\numpy\lib\npyio.py",...

在data_processing 部分,event_prepare_data.py的main函数的最后一句 train_data_list, train_label_list, train_token_type_id_list, dev_data_list, dev_label_list, dev_token_type_id_list = data_loader._merge_ee_and_re_datas( train_file, eval_file, "relation_extraction/data/train_data.json", "relation_extraction/data/dev_data.json") 但是,data_loader所属类EventTypeClassificationPrepare没有_merge_ee_and_re_datas这个方法,请问是代码没有贴上去吗?

Bumps [tensorflow-gpu](https://github.com/tensorflow/tensorflow) from 1.12.0 to 2.7.2. Release notes Sourced from tensorflow-gpu's releases. TensorFlow 2.7.2 Release 2.7.2 This releases introduces several vulnerability fixes: Fixes a code injection in saved_model_cli (CVE-2022-29216) Fixes...

dependencies

TypeError: Tensor objects are only iterable when eager execution is enabled. To iterate over this tensor use tf.map_fn.

您好,你的代码中使用unused包裹事件类别,这段代码是不是有问题,这里只用了一个unused,并非所有label都设置一个unused包裹 ![image](https://user-images.githubusercontent.com/5669444/92422259-30e36080-f1af-11ea-91d7-450f83e6e53b.png)

No such file or directory: 'data/slot_pattern/vocab_all_event_type_label_map.txt' 你好,我想问下这份文件是一开始就有的,还是在代码中生成的呢,如果是代码生成的,具体预处理数据的过程能否告知一下。readME介绍的信息量有点少。

https://github.com/qiufengyuyi/event_extraction/blob/f7daafce811ee9c865353d1a91a827427d7c3e6a/models/bert_event_type_classification.py#L99 ![image](https://user-images.githubusercontent.com/12823207/92730587-90579100-f3a6-11ea-8085-51498257bbec.png) type_index_in_token_ids这个变量是存储了原始句子语料+标签索引后的len长度,每加一个标签长度都做存储。为啥和batch_ids有关系呢?

https://github.com/qiufengyuyi/event_extraction/blob/f7daafce811ee9c865353d1a91a827427d7c3e6a/data_processing/event_prepare_data.py#L564