Рет қаралды 1,129
Hi everyone, I recently saw microsoft's new phi v2 model. and instantly I went out on internet looking on how to run it on my mac m1. After few hours on internet I found solution and I summed up everything into 5 minute video on installing and running phi-v2 on your machine locally.
It is about running quantized gguf model on machine with metal support.
Command 1: "curl sh.rustup.rs -sSf | sh"
Command 2: "git clone github.com/hug..."
Command 3: "cargo build --example phi --release --features metal"
Command 4: "./phi --prompt "hello, how are you? Assistant: " --model 2 --quantized"
Instruction Format for phi-v2
Instruct: {prompt}
Output:
Follow video step by step along with above mentioned commands.
Connect with me:
🔹 FaceBook : / proogramminghub
🔹 Twitter : / programming_hut
🔹 Github : github.com/Paw...
🔹 Discord : / discord
🔹 LinkedIn : / programminghut
🔹 KZbin : / programminghutofficial
phi,phi v2,phi-2,install,mac os,gguf,quantized,metal,rust,cargo,step by step,mac m1,mac,m2,arm,silicon