Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 Ollama - Offline Generative AI, Similar to ChatGPT

views
     
iZuDeeN
post May 11 2024, 01:02 AM

Look at all my stars!!
*******
Senior Member
3,466 posts

Joined: Jan 2003
From: PJ, Malaysia
Guys someone can guide me a newbie guide to install Ollama with Llama3 model on a Windows machine?

I tried using docker on Synology ; and it went perfectly ; but took forever to generate a response

On PC i would be using it on 5600x with RTX3080 with 32GB RAM
iZuDeeN
post May 13 2024, 09:47 PM

Look at all my stars!!
*******
Senior Member
3,466 posts

Joined: Jan 2003
From: PJ, Malaysia
QUOTE(xxboxx @ May 13 2024, 04:55 PM)
Even on my 8 cores laptop it is slow to generate response compared to my computer with GPU. NAS CPU is just not powerful enough to run AI.

Ollama can be installed easily on Windows with it's setup file. Go to ollama.com and download the setup file for Windows. After install open command prompt or power shell (might need to run as admin) and type "ollama run <insert model name>"
It will then download the model. Better to get llama3:instruct as this have been tweaked to give better answer. Now you can type anything to ask the AI. phi3: instruct also another good model to try.

If you want to have UI (user interface), install this
https://github.com/open-webui/open-webui

I recommend using the docker method. You still need to install ollama, this is just create web interface and also for RAG. After install docker, just run this on command prompt
CODE
docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main


You can attach text doc or insert link and ask questions about it. With model such as llava you can also attach picture and ask about it, but this is still very infancy.

Once done, you access it on http://localhost:3000
With some configuration on your computer firewall, you can also access the web ui with any device connected to the same local network, your computer become the AI server for your household.
*
I manage to install ; but problem is I cant download anything from huggingface repo ; seems invalid credentials or something as in docker desktop also I cant see any images.. just blank when search

I want to use llama3-uncensored model

 

Change to:
| Lo-Fi Version
0.0124sec    0.53    6 queries    GZIP Disabled
Time is now: 25th November 2025 - 01:55 AM