Instructions to use hf-internal-testing/tiny-random-WavLMForAudioFrameClassification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-WavLMForAudioFrameClassification with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForAudioFrameClassification processor = AutoProcessor.from_pretrained("hf-internal-testing/tiny-random-WavLMForAudioFrameClassification") model = AutoModelForAudioFrameClassification.from_pretrained("hf-internal-testing/tiny-random-WavLMForAudioFrameClassification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from hf-internal-testing/tiny-random-WavLMForAudioFrameClassification: direct link, hf CLI and curl.
- Browser
- Download file 400 Bytes
-
https://huggingface.co/hf-internal-testing/tiny-random-WavLMForAudioFrameClassification/resolve/refs%2Fpr%2F21/tokenizer_config.json
- Command line
-
hf download hf://hf-internal-testing/tiny-random-WavLMForAudioFrameClassification@refs/pr/21/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/hf-internal-testing/tiny-random-WavLMForAudioFrameClassification/resolve/refs%2Fpr%2F21/tokenizer_config.json
400 Bytes
| { | |
| "bos_token": "<s>", | |
| "clean_up_tokenization_spaces": true, | |
| "do_lower_case": false, | |
| "do_normalize": true, | |
| "eos_token": "</s>", | |
| "model_max_length": 9223372036854775807, | |
| "pad_token": "<pad>", | |
| "replace_word_delimiter_char": " ", | |
| "return_attention_mask": false, | |
| "target_lang": null, | |
| "tokenizer_class": "Wav2Vec2CTCTokenizer", | |
| "unk_token": "<unk>", | |
| "word_delimiter_token": "|" | |
| } | |