Automatic Speech Recognition
Transformers
Safetensors
phi4mm
text-generation
auto-round
w4a16
custom_code
4-bit precision
Instructions to use INCModel4/Phi-4-multimodal-instruct-W4A16-Mixed-AutoRound with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use INCModel4/Phi-4-multimodal-instruct-W4A16-Mixed-AutoRound with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="INCModel4/Phi-4-multimodal-instruct-W4A16-Mixed-AutoRound", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("INCModel4/Phi-4-multimodal-instruct-W4A16-Mixed-AutoRound", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download preprocessor_config.json from INCModel4/Phi-4-multimodal-instruct-W4A16-Mixed-AutoRound: direct link, hf CLI and curl.
- Browser
- Download file 383 Bytes
-
https://huggingface.co/INCModel4/Phi-4-multimodal-instruct-W4A16-Mixed-AutoRound/resolve/main/preprocessor_config.json
- Command line
-
hf download hf://INCModel4/Phi-4-multimodal-instruct-W4A16-Mixed-AutoRound/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/INCModel4/Phi-4-multimodal-instruct-W4A16-Mixed-AutoRound/resolve/main/preprocessor_config.json
383 Bytes
| { | |
| "audio_compression_rate": 8, | |
| "audio_downsample_rate": 1, | |
| "audio_feat_stride": 1, | |
| "auto_map": { | |
| "AutoFeatureExtractor": "processing_phi4mm.Phi4MMAudioFeatureExtractor", | |
| "AutoImageProcessor": "processing_phi4mm.Phi4MMImageProcessor", | |
| "AutoProcessor": "processing_phi4mm.Phi4MMProcessor" | |
| }, | |
| "dynamic_hd": 36, | |
| "image_processor_type": "Phi4MMImageProcessor" | |
| } | |