minigpt4.cpp
Port of MiniGPT4 in C++ (4bit, 5bit, 6bit, 8bit, 16bit CPU inference with GGML)
File Explorer
Download Latest Version (.zip)- run.yml
- minigpt4-demo1.gif
- webui_demo.png
- CMakeLists.txt
- main.cpp
- llama.png
- story.png
- colab_webui.ipynb
- convert.py
- minigpt4_library.py
- quantize.py
- quantize_all.py
- requirements.txt
- webui.py
- .gitignore
- CMakeLists.txt
- LICENSE
- minigpt4.cpp
- minigpt4.h
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/Maknee/minigpt4.cpp
Downloads the entire project code from GitHub to your computer.
cd minigpt4.cpp
Moves into the project folder you just downloaded.
2. CMake
Medium RecommendedPrerequisites
cmake .
Type this command into your terminal and run it.
cmake --build . --config Release
Type this command into your terminal and run it.
Check that an executable was created inside the build folder, then run it directly (e.g. ./build/app_name).
Pulled directly from this repo's README.
3. Python
EasyPrerequisites
pip install -r requirements.txt
Installs the Python libraries listed in requirements.txt (or similar).
If it runs without errors and prints output in the terminal, it worked.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
