Skip to content

size mismatch #190

Description

@goandrei

Hi,

I'm trying to do an inference on the latest model, but I get this error:
size mismatch for embedding.weight: copying a param with shape torch.Size([61, 256]) from checkpoint, the shape in current model is torch.Size([256, 256]).

I read all the related posts but nothing helped. I am running the notebook on fix_db7f3d3. Changing the num_chars to 61 works, but the result is quite bad(just some random noise).
Also I can't run all examples using num_chars=61 due to the lack of embedding for some characters.
What can I do in order to make it work? Thank you!

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