Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the parameter of 'task/wic/metric@task.model.wic.similarity_metric' is missing #22

Open
kuan-yu-lin opened this issue Apr 5, 2023 · 0 comments

Comments

@kuan-yu-lin
Copy link
Collaborator

kuan-yu-lin commented Apr 5, 2023

After running

python main.py \
  dataset=dwug_de \
  task=lscd_graded \
  task/lscd_graded@task.model=apd_compare_all \
  task/wic@task.model.wic=contextual_embedder \
  task.model.wic.ckpt=bert-base-german-cased \
  task.model.wic.gpu=0 \
  evaluation=change_graded

I get the error as

You must specify 'task/wic/metric@task.model.wic.similarity_metric', e.g, task/wic/metric@task.model.wic.similarity_metric=<OPTION>
Available options:
	cosine
	dot
	euclidean
	manhattan

Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant