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.
- Python 3.x
- Required dependencies (specified in
requirements.txt
)
-
Clone the Repository
First, clone the repository to your local machine:git clone https://github.com/backli1ght/ChatGLM_Langchain.git
-
Install Dependencies
Navigate to the project directory and install the necessary dependencies:cd ChatGLM_Langchain pip install -r requirements.txt
-
Navigate to ChatGLM-6B Directory
Change to theChatGLM-6B
directory, which contains the necessary files for running the ChatGLM model:cd ChatGLM-6B
-
Start the ChatGLM Console
In theChatGLM-6B
directory, run the following command to start the console:python api.py
Once the application is running, you can use it locally through the provided interface.
If you'd like to contribute to this project, please open an issue or submit a pull request on GitHub.
This project is licensed under the MIT License.