Open Dineshreddy1910 opened 12 months ago
from ai4bharat.IndicLID import IndicLID
IndicLID_model = IndicLID(input_threshold = 0.5, roman_lid_threshold = 0.6)
when i am trying to load language identifier model(IndicLID) and IndicTrans2 models in one notebook it raised me an error.
ERROR: from ai4bharat.IndicLID import IndicLID IndicLID_model = IndicLID(input_threshold = 0.5, roman_lid_threshold = 0.6)
ModuleNotFoundError: No module named 'ai4bharat.IndicLID'
can anyone help me with this
from Inference.ai4bharat.IndicLID import IndicLID
Use this instead. It works.
@chandan-wiai it's not working
It needs a GPU.
from ai4bharat.IndicLID import IndicLID
IndicLID_model = IndicLID(input_threshold = 0.5, roman_lid_threshold = 0.6)
when i am trying to load language identifier model(IndicLID) and IndicTrans2 models in one notebook it raised me an error.
ERROR: from ai4bharat.IndicLID import IndicLID IndicLID_model = IndicLID(input_threshold = 0.5, roman_lid_threshold = 0.6)
ModuleNotFoundError: No module named 'ai4bharat.IndicLID'
can anyone help me with this