Example usage not working

#1
by n8rob - opened

Is the example usage wrong? I am told this is not a valid model ID, and I also don't understand why it's even there since it differs from this model's ID: "Unbabel/wmt22-cometkiwi-da"

When I replace model_path = download_model("Unbabel/wmt22-cometkiwi-da") with model_path = download_model("Unbabel/WMT24-QE-task2-baseline"), I get the following error. Is the usage correct, or is it just copied and pasted from another COMET model's usage? How might I use this model in Python?

The error I encounter is KeyError: 'unite_metric_multi_task', which is thrown when I run the line model = load_from_checkpoint(model_path).

Sign up or log in to comment