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
Instructions to use ArchiveStudio/Phi-4-multimodal-instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ArchiveStudio/Phi-4-multimodal-instruct with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="ArchiveStudio/Phi-4-multimodal-instruct", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("ArchiveStudio/Phi-4-multimodal-instruct", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download processor_config.json from ArchiveStudio/Phi-4-multimodal-instruct: direct link, hf CLI and curl.
- Browser
- Download file 121 Bytes
-
https://huggingface.co/ArchiveStudio/Phi-4-multimodal-instruct/resolve/main/processor_config.json
- Command line
-
hf download hf://ArchiveStudio/Phi-4-multimodal-instruct/processor_config.json
-
curl -L -o processor_config.json https://huggingface.co/ArchiveStudio/Phi-4-multimodal-instruct/resolve/main/processor_config.json
121 Bytes
| { | |
| "auto_map": { | |
| "AutoProcessor": "processing_phi4mm.Phi4MMProcessor" | |
| }, | |
| "processor_class": "Phi4MMProcessor" | |
| } | |