Audio Classification
Transformers
PyTorch
multilingual
wav2vec2
voice
classification
vocalization
speech
audio
Instructions to use padmalcom/wav2vec2-large-nonverbalvocalization-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use padmalcom/wav2vec2-large-nonverbalvocalization-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="padmalcom/wav2vec2-large-nonverbalvocalization-classification")# Load model directly from transformers import AutoProcessor, Wav2Vec2ForSpeechClassification processor = AutoProcessor.from_pretrained("padmalcom/wav2vec2-large-nonverbalvocalization-classification") model = Wav2Vec2ForSpeechClassification.from_pretrained("padmalcom/wav2vec2-large-nonverbalvocalization-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from padmalcom/wav2vec2-large-nonverbalvocalization-classification: direct link, hf CLI and curl.
- Browser
- Download file 609 Bytes
-
https://huggingface.co/padmalcom/wav2vec2-large-nonverbalvocalization-classification/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://padmalcom/wav2vec2-large-nonverbalvocalization-classification/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/padmalcom/wav2vec2-large-nonverbalvocalization-classification/resolve/main/tokenizer_config.json
609 Bytes
| { | |
| "bos_token": "<s>", | |
| "do_lower_case": false, | |
| "do_normalize": true, | |
| "eos_token": "</s>", | |
| "model_max_length": 1000000000000000019884624838656, | |
| "name_or_path": "facebook/wav2vec2-large-960h-lv60-self", | |
| "pad_token": "<pad>", | |
| "replace_word_delimiter_char": " ", | |
| "return_attention_mask": true, | |
| "special_tokens_map_file": "C:\\Users\\admin/.cache\\huggingface\\hub\\models--facebook--wav2vec2-large-960h-lv60-self\\snapshots\\54074b1c16f4de6a5ad59affb4caa8f2ea03a119\\special_tokens_map.json", | |
| "tokenizer_class": "Wav2Vec2CTCTokenizer", | |
| "unk_token": "<unk>", | |
| "word_delimiter_token": "|" | |
| } | |