Instructions to use padmalcom/wav2vec2-large-emotion-detection-german with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use padmalcom/wav2vec2-large-emotion-detection-german with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="padmalcom/wav2vec2-large-emotion-detection-german")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, Wav2Vec2ForSpeechClassification processor = AutoProcessor.from_pretrained("padmalcom/wav2vec2-large-emotion-detection-german") model = Wav2Vec2ForSpeechClassification.from_pretrained("padmalcom/wav2vec2-large-emotion-detection-german", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from padmalcom/wav2vec2-large-emotion-detection-german: direct link, hf CLI and curl.
- Browser
- Download file 598 Bytes
-
https://huggingface.co/padmalcom/wav2vec2-large-emotion-detection-german/resolve/e7db00aec6a06c359675d0fafd56cf7e7daf8768/tokenizer_config.json
- Command line
-
hf download hf://padmalcom/wav2vec2-large-emotion-detection-german@e7db00aec6a06c359675d0fafd56cf7e7daf8768/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/padmalcom/wav2vec2-large-emotion-detection-german/resolve/e7db00aec6a06c359675d0fafd56cf7e7daf8768/tokenizer_config.json
598 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": "/home/user1/.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": "|" | |
| } | |