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
{{ message }}
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.
I try to run evaluate.py python evaluate.py --src_lang en --src_emb data/wiki.en.vec --max_vocab 200000
and return error below
Traceback (most recent call last):
File "evaluate.py", line 55, in
evaluator.monolingual_wordsim(to_log)
File "C:\Users\Owner\shopee\title_translation\MUSE-master\src\evaluation\evaluator.py", line 49, in monolingual_wordsim
) if self.params.tgt_lang else None
File "C:\Users\Owner\shopee\title_translation\MUSE-master\src\evaluation\wordsim.py", line 105, in get_wordsim_scores
coeff, found, not_found = get_spearman_rho(word2id, embeddings, filepath, lower)
File "C:\Users\Owner\shopee\title_translation\MUSE-master\src\evaluation\wordsim.py", line 69, in get_spearman_rho
word_pairs = get_word_pairs(path)
File "C:\Users\Owner\shopee\title_translation\MUSE-master\src\evaluation\wordsim.py", line 39, in get_word_pairs
word_pairs.append((line[0], line[1], float(line[2])))
ValueError: could not convert string to float: 'encoding="utf-8"?>'
any idea how to solve it ?
thank you
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I try to run evaluate.py
python evaluate.py --src_lang en --src_emb data/wiki.en.vec --max_vocab 200000
and return error below
any idea how to solve it ?
thank you
The text was updated successfully, but these errors were encountered: