Automatic Speech Recognition
Transformers
Safetensors
PyTorch
mini_whisper
text2text-generation
custom_code
Instructions to use NeuraCraft/MiniWhisper-ASR with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NeuraCraft/MiniWhisper-ASR with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="NeuraCraft/MiniWhisper-ASR", trust_remote_code=True)# Load model directly from transformers import AutoModelForSeq2SeqLM model = AutoModelForSeq2SeqLM.from_pretrained("NeuraCraft/MiniWhisper-ASR", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "activation_dropout": 0.0, | |
| "activation_function": "gelu", | |
| "apply_spec_augment": false, | |
| "architectures": [ | |
| "MiniWhisperForConditionalGeneration" | |
| ], | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 50256, | |
| "classifier_proj_size": 256, | |
| "d_model": 384, | |
| "decoder_attention_heads": 6, | |
| "decoder_ffn_dim": 1536, | |
| "decoder_layerdrop": 0.0, | |
| "decoder_layers": 4, | |
| "decoder_start_token_id": 50257, | |
| "dropout": 0.0, | |
| "dtype": "float32", | |
| "encoder_attention_heads": 6, | |
| "encoder_ffn_dim": 1536, | |
| "encoder_layerdrop": 0.0, | |
| "encoder_layers": 4, | |
| "eos_token_id": 50256, | |
| "init_std": 0.02, | |
| "mask_feature_length": 10, | |
| "mask_feature_min_masks": 0, | |
| "mask_feature_prob": 0.0, | |
| "mask_time_length": 10, | |
| "mask_time_min_masks": 2, | |
| "mask_time_prob": 0.05, | |
| "max_source_positions": 1500, | |
| "max_target_positions": 448, | |
| "median_filter_width": 7, | |
| "model_type": "mini_whisper", | |
| "auto_map": { | |
| "AutoConfig": "mini_whisper_model.MiniWhisperConfig", | |
| "AutoModelForSeq2SeqLM": "mini_whisper_model.MiniWhisperForConditionalGeneration" | |
| }, | |
| "num_mel_bins": 80, | |
| "pad_token_id": 50256, | |
| "scale_embedding": false, | |
| "transformers_version": "4.57.3", | |
| "use_cache": true, | |
| "use_weighted_layer_sum": false, | |
| "vocab_size": 51865 | |
| } | |