ErrLookup › hankcs/HanLP
hankcs/HanLP
中文分词 词性标注 命名实体识别 依存句法分析 成分句法分析 语义依存分析 语义角色标注 指代消解 风格转换 语义相似度 新词发现 关键词短语提取 自动摘要 文本分类聚类 拼音简繁转换 自然语言处理 · Python · 474 source files
Analyzed at ddb1299bdd on 2026-08-27. 82 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| Not supported. | exception | error | hanlp, fasttext, dataset, not-implemented |
| The last dimension of the input shape must be equal to… | exception | error | hanlp, tensorflow, keras, crf, dimension-mismatch |
| error | http | error | hanlp, word2vec, embedding, not-implemented, training |
| mask of the first timestep must all be on | exception | error | hanlp, crf, pytorch, mask, sequence-padding |
| Got average f , expected one of None, 'token', or 'batch | validation | error | python, pytorch, loss-function, argument-validation |
| DataParallel not supported when CRF is used | validation | error | python, pytorch, crf, multi-gpu, dataparallel |
| Offset exceeds sentence length, maybe doc_level_offset=True | exception | error | python, srl, ontonotes, conll2012, data-loading |
| Some modules ( etc.) required by this model are missing… | exception | error | installation, missing-dependency, python |
| The last dimension of the inputs to `CRF` should be… | exception | error | hanlp, tensorflow, keras, crf, input-shape |
| the first two dimensions of emissions and tags must match… | exception | error | hanlp, crf, pytorch, shape-mismatch, validation |
| Unsupported init | exception | error | hanlp, word2vec, embedding-init, config-validation |
| Unrecognized type for | exception | error | hanlp, embedding, char-cnn, type-validation |
| Your python command needs to be Python2, not | exception | error | python, python2, environment, ontonotes, dependency |
| the first two dimensions of emissions and mask must match… | exception | error | hanlp, crf, pytorch, mask, shape-mismatch |
| Negative offset occurred, maybe doc_level_offset=False | exception | error | python, srl, ontonotes, conll2012, data-loading |
| Chinese Treebank 9.0 is a copyright dataset owned by LDC… | exception | critical | python, dataset, licensing, ldc, file-not-found |
| Unrecognized label encoding | exception | error | config, nlp, chunking, validation |
| Unsupported parameter type | exception | error | hanlp, word2vec, embedding, type-validation |
| Unsupported normalization method | exception | error | hanlp, word2vec, normalization, config-validation |
| Unsupported dim: . Only 2d (T,C) or 3d (B,T,C) is supported | exception | error | hanlp, pytorch, dropout, tensor-rank |
| Prediction file does not end a sentence at line | exception | error | file-format, conll, alignment, parsing |
| alpha must be float, list of float, or torch.FloatTensor | validation | error | python, pytorch, focal-loss, type-error |
| activation must be callable: type= | validation | error | python, pytorch, activation-function, argument-validation |
| `attn_output` should be of size | validation | error | hanlp, weight-normalization, keras, layer-wrapper |
| transformers has its own tagger, not need to convert idx… | exception | error | python, tensorflow, transformers, not-implemented |
| expected last dimension of emissions is | exception | error | python, pytorch, crf, tensor-shape, vocab-mismatch |
| emissions must have dimension of 3, got | exception | error | python, pytorch, crf, tensor-shape |
| Conversion failed with code | exception | error | python, java, subprocess, stanford-parser, out-of-memory |
| Unknown data arrangement | exception | error | data-format, conll, transform, validation |
| iob1_to_bioul has been replaced with 'to_bioul' to allow… | console | info | python, hanlp, deprecation, future-warning, ner-tagging |
| The tag scheme for might be IOB1 or IOB2 but we are using… | console | warning | ner, tagging-scheme, decoding |
| The identifier resolves to a nonexistent meta file . | exception | error | model-loading, file-not-found, hanlp |
| The main dependency conflicts with 2nd dependency at ID= | console | warning | parsing, semeval, dataset |
| embed_dim must be divisible by num_heads | validation | error | hanlp, scalar-mix, config-validation, layer-mixing |
| mask not supported in SpearmanCorrelation for now. | exception | error | nlp, metric, api-misuse, bug |
| Attention mask should be of size | validation | error | hanlp, time-distributed, tensor-input, runtime-error |
| Expected a file (`.fileno()`) or a file descriptor | exception | error | file-descriptor, stdout, redirection |
| Failed to load | exception | error | tsv, data-format, corpus, validation |
| You cannot specify both input_ids and inputs_embeds at the… | validation | error | hanlp, metrics, accuracy, config-validation |
| Only supports floating point dtypes. | validation | error | python, pytorch, dtype, loss-function |
| The command is | exception | error | subprocess, shell, evaluation, external-tool |
| Call fit or load before evaluate. | error_code | error | hanlp, training-loop, embedding, not-implemented |
| If no `decoder_input_ids` or `decoder_inputs_embeds` are… | validation | error | hanlp, amr, smatch, version-mismatch, evaluation |
| Attention weights should be of size | validation | error | hanlp, scalar-mix, forward, shape-mismatch |
| Hugging Face 🤗 Transformers failed to download because… | exception | error | network, offline, transformers, model-download |
| The head_mask should be specified for | validation | error | hanlp, metrics, shape-mismatch, gold-labels |
| Unsupported version | validation | error | python, stanford-parser, dependency-parsing, argument-validation |
| invalid reduction | exception | error | python, pytorch, crf, argument-validation |
| encoding was not supported/tested.Supported encodings are | exception | error | encoding, file-io, not-implemented |
| Input tokens exceed the max sequence length of . The… | console | warning | transformer, truncation, sequence-length |
| Input tokens exceed the max sequence length of . The… | console | warning | transformer, truncation, sequence-length |
| Unsupported argument type | validation | error | hanlp, feedforward, config-validation, shape-mismatch |
| Unsupported argument length | validation | error | hanlp, evaluation, embedding, not-implemented |
| You cannot specify both decoder_input_ids and… | validation | error | hanlp, metrics, label-index, vocab-mismatch |
| invalid number of tags | exception | error | python, pytorch, crf, argument-validation |
| {self.filepath} | exception | error | file-not-found, iterator, cache |
| Unsupported tagging scheme | exception | error | python, tokenization, tagging-scheme, not-implemented |
| transformers has its own tagger, not need to convert idx… | exception | error | python, tensorflow, transformers, not-implemented |
| Unsupported type of | validation | error | tensor, dtype, data-pipeline |
| The class `PretrainedBartModel` has been depreciated… | console | warning | deprecation, transformers, bart |
| output ( ) must be of type bool or str | validation | error | hanlp, criterion, embedding, not-implemented |
| Unrecognized mapper type | validation | error | hanlp, feedforward, activation, config-validation |
| You have to specify either decoder_input_ids or… | validation | error | hanlp, metrics, shape-mismatch, multi-label |
| As you did not pass in `headers` to `TableDataset`, the… | console | warning | dataset, csv, headers |
| Unknown constraint type | exception | error | nlp, span, config, validation |
| Caching for the dataset is not enabled, try… | console | warning | dataset, performance, caching, mtl |
| Head mask for a single layer should be of size | validation | error | hanlp, time-distributed, dimension-error, tensor-shape |
| The ` ` should be specified for layers, but it is for . | validation | error | hanlp, metrics, mask, shape-mismatch |
| eval.pl exited with error code | exception | error | subprocess, perl, dependency-parsing, evaluation |
| Does not support dtype " + str(dtype) | validation | error | python, pytorch, bfloat16, mixed-precision |
| Failed to parse results from smatch | console | warning | amr, evaluation, smatch, parsing |
| `do_basic_tokenize=False` might not work when… | console | warning | tokenizer, transformers, chinese |
| " ".join(tag_sequence) | exception | error | nlp, ner, tag-scheme, validation |
| Expect X to be 2 or 3 elements but got | exception | error | tensorflow, parsing, input-shape, validation |
| contains None or zero-length word | exception | error | data-quality, segmentation, validation |
| Unrecognized devices | validation | error | hanlp, dataloader, embedding, not-implemented |
| Invalid encoding passed to 'to_bioul'. | exception | error | ner, tagging-scheme, argument-validation |
| self.model.config.pad_token_id has to be defined. | validation | error | hanlp, feedforward, dropout, config-validation |
| {path} | exception | error | file-not-found, path, validation |
| Coarse tokenization not supported for | exception | error | tokenization, restful-api, language |
| You have to specify either input_ids or inputs_embeds | validation | error | hanlp, metrics, accuracy, invalid-argument |
| No translation for . Please contribute to our translation… | exception | error | localization, document, not-implemented |