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>", | |
| "clean_up_tokenization_spaces": true, | |
| "do_lower_case": false, | |
| "do_normalize": true, | |
| "eos_token": "</s>", | |
| "model_max_length": 1000000000000000019884624838656, | |
| "pad_token": "<pad>", | |
| "processor_class": "Wav2Vec2Processor", | |
| "replace_word_delimiter_char": " ", | |
| "return_attention_mask": true, | |
| "tokenizer_class": "Wav2Vec2CTCTokenizer", | |
| "unk_token": "<unk>", | |
| "word_delimiter_token": "|" | |
| } | |