SpERT_chinese icon indicating copy to clipboard operation
SpERT_chinese copied to clipboard

基于论文SpERT: "Span-based Entity and Relation Transformer"的中文关系抽取,同时抽取实体、实体类别和关系类别。

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

OSError: [WinError 123] 文件名、目录名或卷标语法不正确。: 'data/log/duie_eval\\2024-04-22_15:07:46.370133'

UnicodeDecodeError: 'gbk' codec can't decode byte 0xa7 in position 257: illegal multibyte sequence

ValueError: Connection error, and we cannot find the requested files in the cached path. Please try again or make sure your Internet connection is on.

我换了自己的数据集但是格式调整的一样,一直出现下面错误是为什么 Parse dataset 'train': 0% 0/1 [00:00

这里报错要怎么办呀? File "/Users/lyl/Desktop/postgraduate/一/NLP/SpERT_chinese-main/spert/util.py", line 218, in check_version state_dict = torch.load(model_path, map_location=torch.device('cpu')) File "/Library/Python/3.9/site-packages/torch/serialization.py", line 608, in load return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args) File "/Library/Python/3.9/site-packages/torch/serialization.py", line 777, in _legacy_load magic_number =...

你好请问你在训练时候会遇到 [WARNI] NaN or Inf found in input tensor.的错误提示吗 我有的时候会遇到有的时候不会遇到 当提示 [WARNI] NaN or Inf found in input tensor.的时候我所有的输入嵌入向量都会变成Nan

OSError: [WinError 123] 文件名、目录名或卷标语法不正确。: 'data/save/duie_train\\2023-05-17_11:26:39.994331'; 您好,请问这个问题要怎么解决呢

你好,想复现以下代码,但是一直报错OSError: [Errno 22] Invalid argument:,请问该怎么解决呢

你好!运行时出现'Namespace' object has no attribute 'mode'要怎么解决呢?