Skip to content

An error will be reported when performing the re-scoring operation of n-gram --“Segmentation fault (core dumped)” #7

@BADADH

Description

@BADADH

Hello, after I downloaded the 5-gram Language model, I ran the corresponding eval_competition file and configured the lm_decoder parameter as follows:
nbest = lmDecoderUtils.lm_decode(
ngramDecoder,
logits[0],
blankPenalty=blank_penalty,
returnNBest=True,
rescore=True,
)
it will show the fault "Segmentation fault (core dumped)". However it will operate successfully when rescore=False. May I ask how this situation should be resolved. Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions