Model Did not load
#2
by
codewithRiz
- opened
i was getting error that gair and os for not loading the model
Hi @codewithRiz , I am trying to reproduce what you wrote but it loads for me, see e.g.:
note also that you can load the model directly:
# Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("dima806/bird_sounds_classification")
model = AutoModelForAudioClassification.from_pretrained("dima806/bird_sounds_classification")
dima806
changed discussion status to
closed