I'm having issue loading multilingual dependency parsing model, named biaffine-dep-xlmr.
System Specifications:PyTorch: 2.3.0+cu121
Transformers: 4.41.1
Python: 3.10.14
Supar: 1.1.4
Code to Reproduce:
from supar import Parser
parser = Parser.load('biaffine-dep-xlmr') # Throws error while loading multilingual dependency parsing model
Error Messages:
RuntimeError: File biaffine-dep-xlmr unavailable. Please try other sources.
or
ModuleNotFoundError: No module named 'supar.config'
Steps Taken to Install SuPar:
Using pip install: pip install -U supar
Error Encountered: ModuleNotFoundError: No module named 'supar.config'
Cloning source from GitHub: pip install -U git+https://github.com/yzhangcs/parserError Encountered: ModuleNotFoundError: No module named 'supar.config'
Manual Download and Installation: Manually downloaded the SuPar code from GitHub and placed it in the site-packages directory of my virtual environment.
RuntimeError: File biaffine-dep-xlmr unavailable. Please try other sources.
Additional Information:
The following code works fine with other pre-trained parsers:
from supar import Parser
parser = Parser.load('crf2o-dep-en') # Works fine without any issues
I'm having issue loading multilingual dependency parsing model, named biaffine-dep-xlmr.
System Specifications: PyTorch: 2.3.0+cu121 Transformers: 4.41.1 Python: 3.10.14 Supar: 1.1.4
Code to Reproduce: from supar import Parser parser = Parser.load('biaffine-dep-xlmr') # Throws error while loading multilingual dependency parsing model
Error Messages: RuntimeError: File biaffine-dep-xlmr unavailable. Please try other sources. or ModuleNotFoundError: No module named 'supar.config'
Steps Taken to Install SuPar:
Additional Information: The following code works fine with other pre-trained parsers: from supar import Parser parser = Parser.load('crf2o-dep-en') # Works fine without any issues