Automatic Speech Recognition
Transformers
Safetensors
phi4mm
text-generation
nlp
code
audio
speech-summarization
speech-translation
visual-question-answering
phi-4-multimodal
phi
phi-4-mini
custom_code
Eval Results
Instructions to use microsoft/Phi-4-multimodal-instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/Phi-4-multimodal-instruct with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="microsoft/Phi-4-multimodal-instruct", trust_remote_code=True)# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("microsoft/Phi-4-multimodal-instruct", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
File size: 482 Bytes
d93d2f6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | {
"auto_map": {
"AutoProcessor": "processing_phi4mm.Phi4MMProcessor",
"AutoImageProcessor": "processing_phi4mm.Phi4MMImageProcessor",
"AutoFeatureExtractor": "processing_phi4mm.Phi4MMAudioFeatureExtractor"
},
"image_processor_type": "Phi4MMImageProcessor",
"processor_class": "Phi4MMProcessor",
"feature_extractor_type": "Phi4MMAudioFeatureExtractor",
"audio_compression_rate": 8,
"audio_downsample_rate": 1,
"audio_feat_stride": 1,
"dynamic_hd": 36
}
|