Instructions to use hf-internal-testing/tiny-random-SEWDForSequenceClassification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-SEWDForSequenceClassification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="hf-internal-testing/tiny-random-SEWDForSequenceClassification")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForAudioClassification processor = AutoProcessor.from_pretrained("hf-internal-testing/tiny-random-SEWDForSequenceClassification") model = AutoModelForAudioClassification.from_pretrained("hf-internal-testing/tiny-random-SEWDForSequenceClassification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from hf-internal-testing/tiny-random-SEWDForSequenceClassification: direct link, hf CLI and curl.
- Browser
- Download file 555 Bytes
-
https://huggingface.co/hf-internal-testing/tiny-random-SEWDForSequenceClassification/resolve/d6cbf1164ce1999fdaf3deeb7a6eba19a3b1f873/tokenizer_config.json
- Command line
-
hf download hf://hf-internal-testing/tiny-random-SEWDForSequenceClassification@d6cbf1164ce1999fdaf3deeb7a6eba19a3b1f873/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/hf-internal-testing/tiny-random-SEWDForSequenceClassification/resolve/d6cbf1164ce1999fdaf3deeb7a6eba19a3b1f873/tokenizer_config.json
555 Bytes
| { | |
| "bos_token": "<s>", | |
| "do_lower_case": false, | |
| "do_normalize": true, | |
| "eos_token": "</s>", | |
| "model_max_length": 512, | |
| "name_or_path": "facebook/wav2vec2-base-960h", | |
| "pad_token": "<pad>", | |
| "replace_word_delimiter_char": " ", | |
| "return_attention_mask": false, | |
| "special_tokens_map_file": "/home/huggingface/.cache/huggingface/hub/models--facebook--wav2vec2-base-960h/snapshots/22aad52d435eb6dbaf354bdad9b0da84ce7d6156/special_tokens_map.json", | |
| "tokenizer_class": "Wav2Vec2CTCTokenizer", | |
| "unk_token": "<unk>", | |
| "word_delimiter_token": "|" | |
| } | |