Git Product home page Git Product logo

llama3's Introduction

๐Ÿ’ฌ Local LLMBot

Table of Contents

Introduction

Local LLMBot is a chat application built with Streamlit and the Ollama API to simulate a chat with a local language model. The app provides an intuitive interface for managing multiple chat sessions and interacting with the model.

Features

  • Create and manage multiple chat sessions
  • Generate responses using the Ollama model
  • Intuitive user interface for displaying chat history
  • Sidebar for chat session management

Installation

Prerequisites

  • Python 3.7 or higher
  • pip package manager

Install Ollama

Before installing the required Python dependencies, ensure you have Ollama installed and properly configured.

  1. Install Ollama

    Follow the official instructions from the Ollama Offical Website to install the ollama3 package.

  2. Configure Ollama

    ollama run llama3

Install LLAMA3 ChatBot

  1. Clone the Repository

    git clone https://github.com/Kevoyuan/LLAMA3.git
    cd LocalLLMBot
  2. Create and Activate Virtual Environment

    python -m venv llama3
    .\llama3\Scripts\activate
  3. Install Dependencies

    pip install -r requirements.txt

Usage

Running the Streamlit App

  1. Activate the Virtual Environment

    Windows:

    .\llama3\Scripts\activate

    macOS/Linux:

    source llama3/bin/activate
  2. Run the Streamlit App

    streamlit run app.py
  3. Access the App Open your web browser and navigate to http://localhost:8501.

Contributing

Contributions are welcome! Please fork the repository and create a pull request with your changes. Ensure that your code adheres to the project's coding standards and includes appropriate tests.

llama3's People

Contributors

kevoyuan avatar

Watchers

Kostas Georgiou avatar  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.