facebookresearch / fairseq

Facebook AI Research Sequence-to-Sequence Toolkit written in Python.
MIT License
30.57k stars 6.41k forks source link

about load dgslm #5542

Closed VJJJJJJ1 closed 2 months ago

VJJJJJJ1 commented 2 months ago

what's the meaning of the data_name_or_path? Should I fill the path of dictionary1 and dictionaty2 into it?

speech_dlm = SpeechDLM.from_pretrained(
                model_name_or_path='/path/to/model/dir',
                checkpoint_file='speech_dlm_base.pt',
                data_name_or_path='/path/to/data/dir'   # ??????????
            )