Code Monkey home page Code Monkey logo

ollama-install's Introduction

How to query local LLM's using Ollama web UI on Windows 11

Steps

  1. Install the tool(s)
  2. Install Windows Subsystem for Linux (WSL)
  3. Install Docker
  4. Install Ollama and Ollama Web UI
  5. Test connectivity to the Ollama API and UI

Tool(s)

  • Visual Studio Code to execute all PowerShell, Python and Linux code (download: https://code.visualstudio.com/download)
  • Install the following Visual Studio Code extensions from the Extension Manager:
    • PowerShell

Windows settings

Install Windows Subsystem for Linux (WSL)

  • Run the install command from "install-wsl-ubuntu.ps1" in a Powershell terminal.
  • After the installation run the commands in wsl-ubuntu-post-install.sh in a Linux (Ubuntu WSL) terminal.

Install Docker in Ubuntu

  • We will run Ollama and the UI in a docker instance in Ubuntu.
  • Run the commands in "install-docker.sh" in a Linux (Ubuntu WSL) terminal.

Install Ollama WebUI and enable the API

  • Run the commands in "install-ollama-webgui.sh" in a Linux (Ubuntu WSL) terminal.

Test connectivity to the Ollama API and UI

  • Go to http://localhost:11434/ to see that the Ollama API is running
  • Go to http://localhost:3000/ to see if the Ollama WebUI is running
  • Register with Ollama-WebUI
  • Download a model, e.g.:
    • llama2
    • mistral-7b
    • llava (image recognition)
  • If you have a paid account and credits at OpenAI (ChatGPT) > Create a OpenAI API key and set it under Settings > External

ollama-install's People

Watchers

RogierGit avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.