{}const=>[]async()letfn</>var
AIDevelopment

Your ChatGPT on PC: how to run a neural network at home

Find out how easy it is to run a local version of ChatGPT: which models to choose, how to install Ollama, and why you need it at all. A guide for those who want privacy, power, and training in one!

К

Kodik

Author

3 min read

In our community Codica We recently discussed an important topic: how to run a neural network like ChatGPT on your computer. We're sharing a detailed guide — no magic, just real steps to help you run an LLM without the internet and subscriptions 🤖

🛠️ Why run a neural network locally?

  • Complete privacy — no requests go to the cloud.

  • Savings - no need to pay for the API.

  • Faster and closer to the iron — can be fine-tuned for tasks.

  • Training — you will better understand how large language models (LLM) work.

🔥 100,000+ students already with us

Tired of reading theory?
Time to code!

Kodik — an app where you learn to code through practice. AI mentor, interactive lessons, real projects.

🤖 AI 24/7
🎓 Certificates
💰 Free
🚀 Start learning
Joined today

⚙️ What will you need?

Component

Recommended

Processor

Intel i7 / AMD Ryzen 7 and higher

Operational meeting

from 16 GB RAM

Video card (GPU)

NVIDIA with 6+ GB VRAM is recommended (optional)

OS

Windows / Linux / macOS

Disk

10–20 GB of free space

📦 Step 1. Choosing an engine: Ollama — simple and clear

The friendliest way is Ollama. This is a utility that allows you to run models like LLaMA, Mistral, and even Code Llama in just two clicks.

Installation (Windows/macOS/Linux)


# For macOS or Linux
curl -fsSL https://ollama.com/install.sh | sh

# For Windows — download the installer from the website
    

🧠 Step 2. Model selection

Here are some models that you can download and use right away:

Name

Purpose

Team

llama3

General tasks, dialogues

ollama run llama3

mistral

Fast, small

ollama run mistral

codellama

For programming

ollama run codellama

phi3

Compact, fast

ollama run phi3

💬 Step 3. Launch and use

After launching the model, you can communicate directly in the terminal:

ollama run llama3

And you will get:


> Привет!
< Здравствуй! Чем могу помочь?
    

You can also connect Ollama to chat interfaces like Open WebUI or ChatGPT UI on localhost to make it convenient to work through a browser.

⚡ Example: local ChatGPT in VS Code

With the help of the extension Continue or Continue VS Code, you can connect a local Ollama model and get auto-completions and hints in the code right in the editor! Works even without the Internet ✨

🧩 Performance tips

  • If there is no GPU, use models with the suffix q (quantized), they are lighter.

  • Run only one model at a time.

  • Make sure there is enough RAM and free space.

🧪 What can you do with local ChatGPT?

  • Write and improve code

  • Generate texts, letters, ideas

  • Process documents

  • Make chatbots

  • Work with the neural network API without the Internet

In the attachment Code you will find courses in Python, JavaScript, Lua and even projects with the integration of neural networks. Learn to program, create AI bots, and share your experience with others in our cozy community!

💬 Do you want a guide on the web interface or API setup? Write in the comments!

🎯Stop procrastinating

Liked the article?
Time to practice!

In Kodik, you don't just read — you write code immediately. Theory + practice = real skills.

Instant practice
🧠AI explains code
🏆Certificate

No registration • No card