IndicXlit icon indicating copy to clipboard operation
IndicXlit copied to clipboard

ValueError: mutable default <class 'fairseq.dataclass.configs.CommonConfig'> for field common is not allowed: use default_factory

Open jeetendraabvv opened this issue 1 year ago • 2 comments

Geeting the above error while running the following code as mentioned in the article.

e = XlitEngine(src_script_type="indic", beam_width=10, rescore=False) out = e.translit_word("नमस्ते", lang_code="hi", topk=5) print(out) a2 a

jeetendraabvv avatar Jul 10 '23 08:07 jeetendraabvv