Instructions to use hf-internal-testing/tiny-random-SEWForCTC with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-SEWForCTC with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="hf-internal-testing/tiny-random-SEWForCTC")# Load model directly from transformers import AutoProcessor, AutoModelForCTC processor = AutoProcessor.from_pretrained("hf-internal-testing/tiny-random-SEWForCTC") model = AutoModelForCTC.from_pretrained("hf-internal-testing/tiny-random-SEWForCTC") - Notebooks
- Google Colab
- Kaggle
File size: 571 Bytes
4477c7a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | {
"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": "|"
}
|