Skip to content

How to modify possible vocab in inverse_vocab #11

@lanyuchunmo

Description

@lanyuchunmo

Dear author,

When I was switching from p-mod to m-mod, I encountered a problem, I noticed a tip in the “Note” section that "To switch between m-mod and p-mod model, we need to comment/uncomment the possible vocab in inverse_vocab in nmt/input_config.py accordingly ('s', 't', 'y' at line 65, 67, 71)". But when I check the script "nmt/input_config.py", I found that these options ('s', 't', 'y') are located on lines 80, 82 and 86 of the file, respectively. Does this mean that if I want to switch to m-mod, I need to add a "#" to line 80, 83, and 86 to uncomment these lines ( Instead of line 65, 67 and 71).

image

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