.. _models_llm_phi-3-mini-4k-instruct: ======================================== phi-3-mini-4k-instruct ======================================== - **Context Length:** 4096 - **Model Name:** phi-3-mini-4k-instruct - **Languages:** en - **Abilities:** chat - **Description:** The Phi-3-Mini-4k-Instruct is a 3.8 billion-parameter, lightweight, state-of-the-art open model trained using the Phi-3 datasets. Specifications ^^^^^^^^^^^^^^ Model Spec 1 (ggufv2, 4 Billion) ++++++++++++++++++++++++++++++++++++++++ - **Model Format:** ggufv2 - **Model Size (in billions):** 4 - **Quantizations:** fp16, q4 - **Engines**: llama.cpp - **Model ID:** microsoft/Phi-3-mini-4k-instruct-gguf - **Model Hubs**: `Hugging Face `__ Execute the following command to launch the model, remember to replace ``${quantization}`` with your chosen quantization method from the options listed above:: xinference launch --model-engine ${engine} --model-name phi-3-mini-4k-instruct --size-in-billions 4 --model-format ggufv2 --quantization ${quantization} Model Spec 2 (pytorch, 4 Billion) ++++++++++++++++++++++++++++++++++++++++ - **Model Format:** pytorch - **Model Size (in billions):** 4 - **Quantizations:** none - **Engines**: Transformers - **Model ID:** microsoft/Phi-3-mini-4k-instruct - **Model Hubs**: `Hugging Face `__, `ModelScope `__ Execute the following command to launch the model, remember to replace ``${quantization}`` with your chosen quantization method from the options listed above:: xinference launch --model-engine ${engine} --model-name phi-3-mini-4k-instruct --size-in-billions 4 --model-format pytorch --quantization ${quantization}