Instructions to use ml-for-speech/language-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
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")# pip install -U transformers accelerate # 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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signature81072e7 -
Add model
Verified signaturee88da9e
-
Update README.md
Verified signature1ac8a1b -
Create README.md
Verified signature2a7f245 -
initial commit
Verified signature07709fa