AI4Bharat / IndicLID

Language Identification for Indian languages
12 stars 4 forks source link

No module named 'ai4bharat.IndicLID' error #3

Open Dineshreddy1910 opened 12 months ago

Dineshreddy1910 commented 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

chandan-wiai commented 8 months ago

from Inference.ai4bharat.IndicLID import IndicLID

Use this instead. It works.

deepen-stha commented 7 months ago

@chandan-wiai it's not working

razzzeeev commented 5 months ago

It needs a GPU.