Instructions to use hf-internal-testing/tiny-random-Wav2Vec2Model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-Wav2Vec2Model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="hf-internal-testing/tiny-random-Wav2Vec2Model")# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("hf-internal-testing/tiny-random-Wav2Vec2Model") model = AutoModelForMultimodalLM.from_pretrained("hf-internal-testing/tiny-random-Wav2Vec2Model") - Notebooks
- Google Colab
- Kaggle
| { | |
| "bos_token": "<s>", | |
| "do_lower_case": false, | |
| "do_normalize": true, | |
| "eos_token": "</s>", | |
| "model_max_length": 9223372036854775807, | |
| "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": "|" | |
| } | |