You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fromcometimportdownload_model, load_from_checkpointmodel=load_from_checkpoint(download_model("Unbabel/wmt22-comet-da"))
data= [
{
"src": "Ich esse gerne Pizza.",
"mt": "I like to eat happy pizza.",
"ref": "I like to eat pizza."
},
]
model.predict(data, batch_size=1, gpus=0)[0]
What's your environment?
OS: Linux (Google Colab)
Python: 3.10.12
Packaging: pip 23.3.1
Version:
unbabel-comet 2.2.0
torch 2.1.1
torchmetrics 0.10.3
pytorch-lightning 2.1.2
transformers 4.35.2
What have you tried?
I have also tried it locally on macOS using a virtual environment on Python 3.9.0. I have got the same error message.
The text was updated successfully, but these errors were encountered:
What is your question?
Hello! I have an issue running COMET on Google Colab. I received the following error:
Code example
What's your environment?
What have you tried?
I have also tried it locally on macOS using a virtual environment on Python 3.9.0. I have got the same error message.
The text was updated successfully, but these errors were encountered: