transformers-ner
transformers-ner copied to clipboard
Pytorch-Named-Entity-Recognition-with-transformers
preds_list[i].append(label_map[preds[i][j]])
执行sh退出 > 7f6daa2f6000-7f6daa2f7000 r--p 00008000 08:11 39198496 /opt/nlu/conda_env_dir/torchgpu/lib/python3.6/lib-dynload/math.cpython-36m-x86_64-linux-gnu.so 7f6daa2f7000-7f6daa2f9000 rw-p 00009000 08:11 39198496 /opt/nlu/conda_env_dir/torchgpu/lib/python3.6/lib-dynload/math.cpython-36m-x86_64-linux-gnu.so 7f6daa2f9000-7f6daa2fc000 r--p 00000000 08:11 39198484 /opt/nlu/conda_env_dir/torchgpu/lib/python3.6/lib-dynload/_struct.cpython-36m-x86_64-linux-gnu.so 7f6daa2fc000-7f6daa301000 r-xp 00003000 08:11 39198484 /opt/nlu/conda_env_dir/torchgpu/lib/python3.6/lib-dynload/_struct.cpython-36m-x86_64-linux-gnu.so 7f6daa301000-7f6daa303000 r--p 00008000 08:11...
AttributeError: type object 'XLMConfig' has no attribute 'pretrained_config_archive_map' 请问一下这是啥情况
你好请问下--model_type和--model_name_or_path的对应路径是什么呢?(我修改后一直报错OSERROR:can't load.....,特来向您请教。)
你好,想請問如果我想要輸入一個文本然後直接輸出NER辨識的結果,那我應該如何下手?
在 convert_examples_to_features 函数中,代码对每个词进行token分词处理对时候,并没有让label更新 使得label来对应每个分词过后对token 只是在最后通过while循环来对齐 但是实际上token和label 已经不是一一对应的关系了 感觉这里应该是有问题的
I don't know why occur this problem, thank you for reading OSError: Model name '../pretrained_models/RoBERTa-zh-Large/' was not found in tokenizers model name list (roberta-base, roberta-large, roberta-large-mnli, distilroberta-base, roberta-base-openai-detector, roberta-large-openai-detector). We...
在单片gpu上跑没事,变成4卡就导致服务器重启,这是咋回事,这大概是咋回事。
Do you have the score comparisons of all the models mentioned on conll2003 dataset?