AI4Bharat / IndicXlit

Transliteration models for 21 Indic languages
https://ai4bharat.iitm.ac.in/transliteration
MIT License
67 stars 16 forks source link

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

Open jeetendraabvv opened 1 year ago

jeetendraabvv commented 1 year ago

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

GokulNC commented 11 months ago

Please check this similar issue: https://github.com/AI4Bharat/IndicXlit/issues/24#issuecomment-1647383983

jeetendraabvv commented 11 months ago

Ok, I will check.

On Mon, Jul 24, 2023, 1:36 PM Gokul NC @.***> wrote:

Please check this similar issue: #24 (comment) https://github.com/AI4Bharat/IndicXlit/issues/24#issuecomment-1647383983

— Reply to this email directly, view it on GitHub https://github.com/AI4Bharat/IndicXlit/issues/22#issuecomment-1647417338, or unsubscribe https://github.com/notifications/unsubscribe-auth/APNIVY3OCZ36EU6DERDHBP3XRYUI5ANCNFSM6AAAAAA2EGCI3I . You are receiving this because you authored the thread.Message ID: @.***>