Welcome to project powered by Text generation web UI and aider. This repository contains scripts and components to set up a user-friendly web interface for generating code using open source models.
Utilize open source AI models for text generation through aider.
-
Clone the repository:
git clone https://github.com/klipski/aider-with-text-generation-webui.git cd aider-with-text-generation-webui
-
Run the setup script:
./setup.sh
During the setup process, you'll be prompted to choose between installing PyTorch for GPU (NVIDIA) or CPU.
-
Install models for text-generation-webui:
Follow the instructions provided in the text-generation-webui repository to download and install models.
Additional dependencies are automatically installed during the setup process.
-
Start the server: Run the server using the following command:
./server.sh
-
Generate code using aider: To use aider for code generation, run the
aider.sh
script with an appropriate parameters, such as a file containing JS code:./aider.sh hello.js
Alternatively, you can run aider without parameters:
./aider.sh
We welcome contributions from the community. To contribute, follow these steps:
- Fork the repository.
- Create a new branch for your feature or fix.
- Submit a pull request with a clear explanation of your changes.
This project is licensed under the MIT License.
This project draws inspiration from the following sources:
- Comment by
Sopitive
in the Aider repository.