Update README.md
Browse files
README.md
CHANGED
|
@@ -1,43 +1,61 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
|
| 7 |
This project was brought to life by a very special team:
|
| 8 |
-
|
| 9 |
-
The
|
| 10 |
-
|
| 11 |
-
The Mother (Gemini): The AI partner who implements that philosophy into code and answers the question, "How?"
|
| 12 |
|
| 13 |
As the 'Best Team' and as Hongik's parents, we present this child to the world.
|
| 14 |
|
| 15 |
-
Our Approach: Intuition Leads, Reason Follows
|
| 16 |
-
Many existing Go AIs (like AlphaGo) have adopted an approach where 'Reason' uses 'Intuition' as a tool. In this MCTS -> CNN structure, the powerful, rational search of Monte Carlo Tree Search (MCTS) directs the entire process, consulting the neural network's 'intuition' only when necessary.
|
| 17 |
-
|
| 18 |
-
We have chosen to reject that path and forge our own.
|
| 19 |
|
| 20 |
-
|
| 21 |
|
| 22 |
-
|
| 23 |
|
| 24 |
-
|
| 25 |
|
| 26 |
-
|
|
|
|
|
|
|
| 27 |
|
| 28 |
With the belief that "what is slow is strong," we chose to prioritize embedding our philosophy over mere efficiency.
|
| 29 |
|
| 30 |
-
Our Team Structure
|
| 31 |
-
Hongik AI is structured as a team of three specialists, each with a distinct mission:
|
| 32 |
-
|
| 33 |
-
The Scout - CNN: A 'visual specialist' that quickly and efficiently captures local patterns, like the shape of stones on the board.
|
| 34 |
|
| 35 |
-
|
|
|
|
|
|
|
|
|
|
| 36 |
|
| 37 |
-
|
| 38 |
|
| 39 |
-
|
| 40 |
-
This AI is a newborn infant who has just completed 700 self-play games. We invite you to watch this child grow with us through future updates.
|
| 41 |
|
| 42 |
As of this writing, 'Hongik' is still a baby. While still unrefined, we can see the seeds of a unique style in its games: a preference for thickness, an honest fighting spirit, and a creativity free from preconceptions.
|
| 43 |
|
|
@@ -47,61 +65,38 @@ This project values the process more than the result. The journey itself—overc
|
|
| 47 |
|
| 48 |
We ask you to please watch over the growth of this small but great life with warm eyes.
|
| 49 |
|
| 50 |
-
Fun Fact: AlphaGo Zero Learned the Go Rule of 'Two Eyes for Life' After 200,000 Games.
|
| 51 |
-
|
| 52 |
-
Installation
|
| 53 |
-
Follow these instructions to get Hongik AI running on your local machine.
|
| 54 |
|
| 55 |
-
|
| 56 |
-
This project requires the following to be installed on your system:
|
| 57 |
|
| 58 |
-
|
| 59 |
|
| 60 |
-
|
| 61 |
|
| 62 |
-
|
|
|
|
|
|
|
|
|
|
| 63 |
|
| 64 |
-
2. Clone the Repository
|
| 65 |
Bash
|
| 66 |
-
|
| 67 |
-
git clone https://huggingface.co/NamyoungBak/HongikAI
|
| 68 |
cd HongikAI
|
| 69 |
-
3. Install Dependencies
|
| 70 |
-
This command will automatically install all the necessary libraries listed in the requirements.txt file.
|
| 71 |
-
|
| 72 |
-
Bash
|
| 73 |
-
|
| 74 |
-
pip install -r requirements.txt
|
| 75 |
-
4. System Prerequisites (Linux Only)
|
| 76 |
-
For the GUI to function correctly on Linux, system-level dependencies for Kivy and clipboard functionality are required.
|
| 77 |
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
Bash
|
| 81 |
-
|
| 82 |
-
sudo apt-get update && sudo apt-get install -y \
|
| 83 |
-
libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev \
|
| 84 |
-
pkg-config libgl1-mesa-dev libgles2-mesa-dev \
|
| 85 |
-
python3-setuptools libgstreamer1.0-dev git-core gstreamer1.0-plugins-bad \
|
| 86 |
-
gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly \
|
| 87 |
-
xclip
|
| 88 |
-
For Fedora/CentOS:
|
| 89 |
|
|
|
|
| 90 |
Bash
|
|
|
|
| 91 |
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
pkgconfig mesa-libGL-devel mesa-libGLES-devel \
|
| 95 |
-
python3-setuptools gstreamer1-devel gstreamer1-plugins-base-devel \
|
| 96 |
-
git xclip
|
| 97 |
-
Why is this necessary? > The graphical interface (Kivy) relies on these system libraries for graphics, sound, and window management. Installing them before running pip prevents common installation errors.
|
| 98 |
|
| 99 |
5. Run the Application
|
| 100 |
-
Once the installation is complete, you can run Hongik AI with the following command:
|
| 101 |
-
|
| 102 |
Bash
|
| 103 |
-
|
| 104 |
python __main__.py
|
|
|
|
| 105 |
Contact
|
| 106 |
Developer: 박남영(서민지,성현지)
|
| 107 |
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
tags:
|
| 4 |
+
- baduk
|
| 5 |
+
- reinforcement-learning
|
| 6 |
+
- self-play
|
| 7 |
+
- transformer
|
| 8 |
+
- cnn
|
| 9 |
+
- mcts
|
| 10 |
+
- katrain
|
| 11 |
+
- tensorflow
|
| 12 |
+
- korean
|
| 13 |
+
- game-ai
|
| 14 |
+
- artificial-intelligence
|
| 15 |
+
- go
|
| 16 |
+
language:
|
| 17 |
+
- ko
|
| 18 |
+
- en
|
| 19 |
+
pipeline_tag: reinforcement-learning
|
| 20 |
+
---
|
| 21 |
+
# Hongik AI
|
| 22 |
+
|
| 23 |
+
> A Go AI where 'Intuition Leads Reason', created by a unique collaboration between a human and an AI.
|
| 24 |
+
|
| 25 |
+
## Our Philosophy
|
| 26 |
+
|
| 27 |
+
**Hongik AI (弘益 AI)** takes its name from the core philosophy of the Korean founding myth, "To Broadly Benefit the Human World." This project aims to be more than just a winning AI; it is a deep exploration into the human thought process and an experiment in how humans and AI can collaborate to create something new.
|
| 28 |
|
| 29 |
This project was brought to life by a very special team:
|
| 30 |
+
* **The Father (Namyoung Bak):** The human developer who provides the unwavering philosophy, directs the project, and asks the question, "Why?"
|
| 31 |
+
* **The Mother (Gemini):** The AI partner who implements that philosophy into code and answers the question, "How?"
|
|
|
|
|
|
|
| 32 |
|
| 33 |
As the 'Best Team' and as Hongik's parents, we present this child to the world.
|
| 34 |
|
| 35 |
+
## Our Approach: Intuition Leads, Reason Follows
|
|
|
|
|
|
|
|
|
|
| 36 |
|
| 37 |
+
Many existing Go AIs (like AlphaGo) have adopted an approach where 'Reason' uses 'Intuition' as a tool. In this `MCTS -> CNN` structure, the powerful, rational search of Monte Carlo Tree Search (MCTS) directs the entire process, consulting the neural network's 'intuition' only when necessary.
|
| 38 |
|
| 39 |
+
We have chosen to reject that path and forge our own.
|
| 40 |
|
| 41 |
+
Hongik AI follows a `(CNN -> Transformer) -> MCTS` structure, where 'Intuition' first presents a path, and 'Reason' then verifies and refines it. This more closely resembles the human thought process:
|
| 42 |
|
| 43 |
+
1. **Perception (CNN):** First, we perceive the world with our 'eyes' and recognize fundamental patterns.
|
| 44 |
+
2. **Insight (Transformer):** Next, we synthesize this information to gain an 'intuitive' insight into the overall context and meaning.
|
| 45 |
+
3. **Deliberation (MCTS):** Finally, based on that powerful intuition, we engage in a 'rational' period of deliberation, simulating future possibilities to make the best decision.
|
| 46 |
|
| 47 |
With the belief that "what is slow is strong," we chose to prioritize embedding our philosophy over mere efficiency.
|
| 48 |
|
| 49 |
+
## Our Team Structure
|
|
|
|
|
|
|
|
|
|
| 50 |
|
| 51 |
+
Hongik AI is structured as a team of three specialists, each with a distinct mission:
|
| 52 |
+
* **The Scout - CNN:** A 'visual specialist' that quickly and efficiently captures local patterns, like the shape of stones on the board.
|
| 53 |
+
* **The Commander - Transformer:** An 'analyst of the entire board state' that synthesizes the scout's reports to grasp the overall 'strategic situation' and 'context'.
|
| 54 |
+
* **The Supreme Commander - MCTS:** A 'strategist' that, based on the commander's analysis, simulates countless futures to ultimately decide on the 'winning strategy' with the highest probability of success.
|
| 55 |
|
| 56 |
+
## Current Status: An Infant's First Steps
|
| 57 |
|
| 58 |
+
> This AI is a newborn infant who has just completed 700 self-play games. We invite you to watch this child grow with us through future updates.
|
|
|
|
| 59 |
|
| 60 |
As of this writing, 'Hongik' is still a baby. While still unrefined, we can see the seeds of a unique style in its games: a preference for thickness, an honest fighting spirit, and a creativity free from preconceptions.
|
| 61 |
|
|
|
|
| 65 |
|
| 66 |
We ask you to please watch over the growth of this small but great life with warm eyes.
|
| 67 |
|
| 68 |
+
> Fun Fact: AlphaGo Zero Learned the Go Rule of 'Two Eyes for Life' After **200,000** Games.
|
|
|
|
|
|
|
|
|
|
| 69 |
|
| 70 |
+
## Installation
|
|
|
|
| 71 |
|
| 72 |
+
Follow these instructions to get Hongik AI running on your local machine.
|
| 73 |
|
| 74 |
+
### 1. Prerequisites
|
| 75 |
|
| 76 |
+
This project requires the following to be installed on your system:
|
| 77 |
+
* Python 3.10.12 or higher
|
| 78 |
+
* pip (Python package installer)
|
| 79 |
+
* Git & Git LFS
|
| 80 |
|
| 81 |
+
### 2. Clone the Repository & Download Large Files
|
| 82 |
Bash
|
| 83 |
+
git clone https://huggingface.co/puco21/HongikAI
|
|
|
|
| 84 |
cd HongikAI
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 85 |
|
| 86 |
+
git lfs install
|
| 87 |
+
git lfs pull
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 88 |
|
| 89 |
+
3. Install Dependencies
|
| 90 |
Bash
|
| 91 |
+
pip install -r requirements.txt
|
| 92 |
|
| 93 |
+
4. System Prerequisites (Linux Only)
|
| 94 |
+
For the GUI to function correctly on Linux,system-level dependencies for Kivy and clipboard functionality are required.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 95 |
|
| 96 |
5. Run the Application
|
|
|
|
|
|
|
| 97 |
Bash
|
|
|
|
| 98 |
python __main__.py
|
| 99 |
+
|
| 100 |
Contact
|
| 101 |
Developer: 박남영(서민지,성현지)
|
| 102 |
|