Skip to content

Latest commit

 

History

History
55 lines (35 loc) · 1.32 KB

README.md

File metadata and controls

55 lines (35 loc) · 1.32 KB

ChatGLM-6B Project

This project involves a localized question-and-answer application built using the ChatGLM-6B model and relevant scripts. Below are the instructions for setting up and running the application.

Prerequisites

  • Python 3.x
  • Required dependencies (specified in requirements.txt)

Setup

  1. Clone the Repository
    First, clone the repository to your local machine:

    git clone https://github.com/backli1ght/ChatGLM_Langchain.git
  2. Install Dependencies
    Navigate to the project directory and install the necessary dependencies:

    cd ChatGLM_Langchain
    pip install -r requirements.txt

Running the Application

Running ChatGLM

  1. Navigate to ChatGLM-6B Directory
    Change to the ChatGLM-6B directory, which contains the necessary files for running the ChatGLM model:

    cd ChatGLM-6B
  2. Start the ChatGLM Console
    In the ChatGLM-6B directory, run the following command to start the console:

    python api.py

Usage

Once the application is running, you can use it locally through the provided interface.

Contributing

If you'd like to contribute to this project, please open an issue or submit a pull request on GitHub.

License

This project is licensed under the MIT License.