Instructions to use sourabhdattawad/spoken-language-detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sourabhdattawad/spoken-language-detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="sourabhdattawad/spoken-language-detection")# Load model directly from transformers import AutoProcessor, Wav2Vec2ForSpeechClassification processor = AutoProcessor.from_pretrained("sourabhdattawad/spoken-language-detection") model = Wav2Vec2ForSpeechClassification.from_pretrained("sourabhdattawad/spoken-language-detection") - Notebooks
- Google Colab
- Kaggle
| { | |
| "bos_token": "<s>", | |
| "eos_token": "</s>", | |
| "pad_token": "<pad>", | |
| "unk_token": "<unk>" | |
| } | |