<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Oge Elekwa on Medium]]></title>
        <description><![CDATA[Stories by Oge Elekwa on Medium]]></description>
        <link>https://medium.com/@ogeelekwa5?source=rss-4cc107b27ffd------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*6WO4mZIJwwhtj6pFcdMNAQ.jpeg</url>
            <title>Stories by Oge Elekwa on Medium</title>
            <link>https://medium.com/@ogeelekwa5?source=rss-4cc107b27ffd------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 10:22:02 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ogeelekwa5/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to Setup Your Own Private AI on Your Computer (and Keep Your Information Safe!)]]></title>
            <link>https://medium.com/@ogeelekwa5/how-to-setup-your-own-private-ai-on-your-computer-and-keep-your-information-safe-2d4777477032?source=rss-4cc107b27ffd------2</link>
            <guid isPermaLink="false">https://medium.com/p/2d4777477032</guid>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[llm-agent]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[llama-3]]></category>
            <dc:creator><![CDATA[Oge Elekwa]]></dc:creator>
            <pubDate>Fri, 28 Jun 2024 11:24:10 GMT</pubDate>
            <atom:updated>2024-06-28T11:29:53.071Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pQ8WVLqFMu8CiF0B" /></figure><p><strong>Introduction</strong></p><p>I learned how to set up a private AI that runs locally on my computer, and you can too!</p><p>You might already know this, but your information isn’t entirely safe from large language models (LLMs). Corporations that develop these AI models often monitor chats and the information you share. This is mainly for model improvement, but there can also be general data collection by these large companies(That’s why it’s always recommended to avoid sharing personal credentials in your chats). However, it’s almost inevitable to share some personal information, especially if LLMs are a valuable part of your workflow.</p><p>The good news is that you can soon be running your own private AI locally on your PC. <strong><em>So, keep reading if you want to keep your information private and secure, or risk it being exposed.</em></strong></p><p><strong>What is an AI Model?</strong></p><p>Before we dive into installation, let’s understand what an AI model is. Simply put, an AI model is a program trained on a massive dataset we provide. This data can be anything from text and code to images and audio. One popular example is ChatGPT, but there are many others available.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*ZnZkC7ecwirgQMr_" /></figure><p><strong>Choosing an LLM</strong></p><p>Now, It’s no secret that LLMs love GPUs. If you have an Nvidia GPU, running them locally will be significantly faster. Otherwise, a CPU can be used, but expect slower performance.</p><p>While Meta-Llama-3–8B is a great LLM choice for local use, it heavily relies on a GPU and might be slow on a CPU. For this reason, we’ll recommend an LLM that’s 64% faster than Meta’s latest version on a CPU.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7uSSNCBTHWfEZ0Mj" /></figure><p>There are many free pre-trained models available on Hugging Face (<a href="https://huggingface.co/models">https://huggingface.co/models</a>). This website has a vast collection (over 736,000 models!) to choose from.</p><p>We’ll be focusing on Mistral, an LLM you can install to chat with directly.</p><p><strong>Mistral: The LLM of Choice</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*CwPqPcB_4BQ2WVCH" /></figure><p>This 7-billion parameter, pre-trained large language model is created by a French company founded by former employees of Meta Platforms and Google DeepMind. It was trained on a massive dataset of over 8 trillion tokens, including internet sources, articles, and various content. The heavy lifting is already done; all you need to do is download it (approximately 4GB).</p><p><strong>Installation</strong></p><p>First, we’ll install Ollama, a framework that allows you to run various LLMs and open-source AI models directly on your computer.</p><p>Head over to<a href="https://ollama.com/"> https://ollama.com/</a> and download the installer for your operating system.</p><p><strong>For this example, we’ll be using Windows. Download the installer and follow the on-screen instructions for completion.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*uegjS22O-KSIWXqd" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/693/0*caseYh-PwsBtuOo1" /><figcaption>Ollama Instalation</figcaption></figure><p>Once installed, open the Command Prompt by searching for “CMD” in the Start menu.</p><p>In the Command Prompt, type: <em>Ollama run Mistral</em> and press Enter.</p><p>This command will initiate the download and installation of the necessary dependencies, which can be around 4GB in size. Ensure you have enough space on your primary drive and a stable internet connection for a smooth download.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-mhB5F8xvx4N2RPQ" /></figure><p>Once the installation is complete, you’ll see a text box where you can interact with the LLM! And the best part? It’s not connected to the internet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kSBr7iOOHd_gjyMe" /></figure><p><strong>Do more with OpenSource!</strong></p><p>Local LLMs and other AI models are fantastic for open-source projects. Don’t be afraid to experiment with other models available on Hugging Face. The website provides instructions on installation, integration into projects, and even usage with third-party platforms.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2d4777477032" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>