metadata
base_model: microsoft/Phi-3-mini-4k-instruct
license: mit
license_link: https://huggingface.co/microsoft/Phi-3-mini-4k-instruct/resolve/main/LICENSE
language:
- en
pipeline_tag: text-generation
model_creator: Microsoft
model_name: Phi 3 mini 4k instruct
model_type: phi-msft
quantized_by: Second State Inc.
tags:
- nlp
- code
Phi-3-mini-4k-instruct-GGUF
Original Model
microsoft/Phi-3-mini-4k-instruct
Run with LlamaEdge
LlamaEdge version: v0.8.4 and above
Prompt template
Prompt type:
phi-3-chat
Prompt string
<|system|> {system_message}<|end|> <|user|> {user_message_1}<|end|> <|assistant|> {assistant_message_1}<|end|> <|user|> {user_message_2}<|end|> <|assistant|>
Context size:
3072
Run as LlamaEdge command app
wasmedge --dir .:. --nn-preload default:GGML:AUTO:Phi-3-mini-4k-instruct-Q4.gguf \ llama-api-server.wasm \ --prompt-template phi-3-chat \ --ctx-size 3072