OmniEvent
OmniEvent copied to clipboard
A comprehensive, unified and modular event extraction toolkit.
您好,我在git clone这个repo,并用pip install -e .安装库以后,运行代码出现No CUDA GPUs are available的问题,但实际上我是在服务器上运行代码的,在命令行运行nvidia-smi也是正常的 问题出现在OmniEvent/examples/ED/token_classification.py的第88行model.cuda()
成功安装后运行报错 `from OmniEvent.infer import infer >>> # Even Extraction (EE) Task >>> text = "2022年北京市举办了冬奥会" >>> results = infer(text=text, task="EE") >>> print(results[0]["events"])` 发生如下报错: Downloading: 0%| | 0.00/1.77G [00:00
Hello, Thank you for this amazing toolkit. I have a question as I tried to run the Code 2 example on page 4 in the paper (https://arxiv.org/pdf/2309.14258.pdf) # event extraction...
Hello, Thank you for this great package! I would like to know on which datasets and how the two models that are used when running `OmniEvent.infer` were fine-tuned. That is,...
没办法在windows里安装deepspeed库,需要如何解决
Bumps [transformers](https://github.com/huggingface/transformers) from 4.21.2 to 4.30.0. Release notes Sourced from transformers's releases. v4.30.0: 100k, Agents improvements, Safetensors core dependency, Swiftformer, Autoformer, MobileViTv2, timm-as-a-backbone 100k Transformers has just reached 100k stars...
Bumps [transformers](https://github.com/huggingface/transformers) from 3.0.2 to 4.30.0. Release notes Sourced from transformers's releases. v4.30.0: 100k, Agents improvements, Safetensors core dependency, Swiftformer, Autoformer, MobileViTv2, timm-as-a-backbone 100k Transformers has just reached 100k stars...
AttributeError: 'ModelArguments' object has no attribute 'num_labels' when i use ed/sl/duee.yaml