Skip to content

Bug in Greedy Search #62

@david-wei-01001

Description

@david-wei-01001

in lade/decoding/py line1175 the original code:

else:
                all_old_tokens.append(hits[max_hit])

should be changed to

else:
                all_old_tokens.append(hits[hit_idx])

Otherwise it is just appending the same thing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions