Skip to content

Error when converting NMT model with ALiBi or RoPe #1657

@randomicity

Description

@randomicity

Hello, thank you for a great project!

I am getting this error when using ALiBi or RoPe positional encoding in a tranformer NMT model from OpenNMT-py:

KeyError: 'encoder.embeddings.make_embedding.pe.pe'

Absolute and relative positional encodings are working with the converter script.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions