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
Commit ·
239f4e5
1
Parent(s): d24e08c
update version
Browse filesSigned-off-by: Liu, Kaixuan <kaixuan.liu@intel.com>
- config.json +1 -1
- generation_config.json +1 -1
config.json
CHANGED
|
@@ -167,7 +167,7 @@
|
|
| 167 |
"sliding_window": 262144,
|
| 168 |
"tie_word_embeddings": true,
|
| 169 |
"torch_dtype": "bfloat16",
|
| 170 |
-
"transformers_version": "
|
| 171 |
"use_cache": true,
|
| 172 |
"vision_config": {
|
| 173 |
"attention_dropout": 0.0,
|
|
|
|
| 167 |
"sliding_window": 262144,
|
| 168 |
"tie_word_embeddings": true,
|
| 169 |
"torch_dtype": "bfloat16",
|
| 170 |
+
"transformers_version": "4.52.0",
|
| 171 |
"use_cache": true,
|
| 172 |
"vision_config": {
|
| 173 |
"attention_dropout": 0.0,
|
generation_config.json
CHANGED
|
@@ -6,5 +6,5 @@
|
|
| 6 |
200020
|
| 7 |
],
|
| 8 |
"pad_token_id": 199999,
|
| 9 |
-
"transformers_version": "4.52.0
|
| 10 |
}
|
|
|
|
| 6 |
200020
|
| 7 |
],
|
| 8 |
"pad_token_id": 199999,
|
| 9 |
+
"transformers_version": "4.52.0"
|
| 10 |
}
|