How to use ml-for-speech/language-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="ml-for-speech/language-classification")
# Load model directly from transformers import AutoProcessor, AutoModelForAudioClassification processor = AutoProcessor.from_pretrained("ml-for-speech/language-classification") model = AutoModelForAudioClassification.from_pretrained("ml-for-speech/language-classification")
The community tab is the place to discuss and collaborate with the HF community!