LLM Programming Made Easy: 20 Min tutorial on starting your local SLM openai compatible project
Jadi
In this short video I'll show you how to start your LLM (Large language model) journey as a programmer. After a short intro on LLMs, I'll show you how to start using a smaller model (SLM / Small language model) via ollama and interact with it using CLI, Curl & Python using openai library.
00:00 - LLM, gpt & chatgpt Introduction 03:00 - LLMs vs Small Language Models (SLMs) 04:53 - Using Olama to install an SLM (like llama, Phi3, ..) 07:00 - Using a language model with ollama client 10:00 - Using LLMs via curl (phi3-cookbook) 11:44 - Sample openai request with messages & roles 16:00 - Using Python to work with openai & LLM / SLMs 18:20 - Temperature in openai LLMs / SLMs 22:00 - How to start working with gpt / llm / slm and openai
Links:
Ollama: https://ollama.com/
Phi3CookBook : https://github.com/microsoft/Phi-3CookBook/tree/main
OpenAI docs: https://platform.openai.com/docs/overview
My patreon page: https://www.patreon.com/jadijadi
My donatiosn page: https://linux1st.com/support ... https://www.youtube.com/watch?v=WQPqyxxvBxA
133469544 Bytes