cisnlp / simalign

Obtain Word Alignments using Pretrained Language Models (e.g., mBERT)
MIT License
345 stars 47 forks source link

ValueError: too many values to unpack (expected 2) #25

Closed MariamNakhle closed 3 years ago

MariamNakhle commented 3 years ago

When running the example code you provide in README, I run into this error:

ValueError: too many values to unpack (expected 2)

I used this code a few weeks ago and it was working fine. I don't understand why now it's not working.

edit: This error was solved by installing simalign and all dependencies in another environment.