Get started with Microsoft's Phi-2 on your laptop

  Рет қаралды 4,631

Airtrain AI

Airtrain AI

Күн бұрын

In this video we explore how to run phi-2 on a local dev box. We try the raw model and a DPO fine-tune from TheBloke.
Raw model on HuggingFace - huggingface.co...
DPO fine-tune by TheBloke - huggingface.co...
Llama.cpp - github.com/gge...
Airtrain.ai - airtrain.ai
#microsoft #artificialintelligence #llms #phi2 #chatgpt #gpt4

Пікірлер: 9
@ffox3123
@ffox3123 8 ай бұрын
Thank you for making this tutorial! It is very apprecaited. Can you recommend a good discord server to ask questions on topics related to this? Also, do you know if there is a way to send prompts via API? So I can make a PySimpleGUI UI for this?
@AirtrainAI
@AirtrainAI 8 ай бұрын
Here are a few Discord/Slack servers: - LLMOps.Space discord.gg/aAxBAZYA - Airtrain Slack join.slack.com/t/airtrain-ai/shared_invite/zt-252ipfh5j-ljAxJm4P0XCLAZXpOyKH1A Regarding a Phi-2 API. I don't know one off the top of my head, but we might offer it soon on Airtrain.ai. Stay tuned.
@khushidhar1619
@khushidhar1619 3 ай бұрын
I did the entire process but it's saying phi-2 not found
@divyateja939
@divyateja939 8 ай бұрын
Thank you for the Video. Could you please help with the hardware requirements(CPU, GPU etc) to run Phi-2.
@AirtrainAI
@AirtrainAI 8 ай бұрын
With only 2.7 billion parameters, Phi-2 is a small model. If we want to load its parameters as fp16 (no quantization), we need at least 5.4 GB (2 GB per billion fp16 parameters) of GPU VRAM. If you do not have this available, you can try one of the quantizations offered by TheBloke: huggingface.co/TheBloke/phi-2-GGUF/tree/main
@ajayjasperj
@ajayjasperj 7 ай бұрын
getting same response everytime
@AirtrainAI
@AirtrainAI 7 ай бұрын
Hmm, strange. Did you use the raw model or the DPO fine-tune?
@ajayjasperj
@ajayjasperj 7 ай бұрын
@@AirtrainAI lm studio gguf
Zero to Hero - Develop your first app with Local LLMs on Windows | BRK142
41:18
So Cute 🥰
00:17
dednahype
Рет қаралды 59 МЛН
МАИНКРАФТ В РЕАЛЬНОЙ ЖИЗНИ!🌍 @Mikecrab
00:31
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 40 МЛН
АЗАРТНИК 4 |СЕЗОН 3 Серия
30:50
Inter Production
Рет қаралды 962 М.
小丑妹妹插队被妈妈教训!#小丑#路飞#家庭#搞笑
00:12
家庭搞笑日记
Рет қаралды 36 МЛН
Run your own AI (but private)
22:13
NetworkChuck
Рет қаралды 1,5 МЛН
Using Ollama To Build a FULLY LOCAL "ChatGPT Clone"
11:17
Matthew Berman
Рет қаралды 252 М.
LLAMA-2 🦙: EASIET WAY To FINE-TUNE ON YOUR DATA 🙌
14:16
Prompt Engineering
Рет қаралды 166 М.
Full Keynote: Satya Nadella at Microsoft Inspire 2023
34:39
Microsoft
Рет қаралды 238 М.
Installing Ollama to Customize My Own LLM
9:20
Decoder
Рет қаралды 33 М.
Advancing AI - Fine Tuning LLMs with Azure OpenAI
23:53
Advancing Analytics
Рет қаралды 9 М.
11 Cool Command Line Programs You Need to See
13:24
ThioJoe
Рет қаралды 131 М.
So Cute 🥰
00:17
dednahype
Рет қаралды 59 МЛН