Skip to content

Problem reproducing embedding baseline #7

Description

@chrisdonahue

One of the lines in the README throws an error. Can you please help me resolve?

> python jcs/text2numpy.py lexsub_context_embeddings lexsub_context_embeddings
Traceback (most recent call last):
  File "jcs/text2numpy.py", line 30, in <module>
    new_matrix[i, :] = matrix[word]
ValueError: could not broadcast input array from shape (600) into shape (1)

Alternatively, could you just provide me the following output files for the baseline and the context2vec models? I only need these files (not the trained model) for a new evaluation strategy I am experimenting with

    <result-file>
    <result-file>.ranked
    <result-file>.generate.oot
    <result-file>.generate.best

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