ShiroOnigami23 commited on
Commit
0dc131d
·
verified ·
1 Parent(s): 76aee4b

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +25 -0
README.md ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ tags:
4
+ - offline-ai
5
+ - code-generation
6
+ - low-resource
7
+ - education
8
+ ---
9
+
10
+ # 👻 Ghost Codex (Offline AI)
11
+
12
+ **Ghost Codex** is a lightweight, offline code assistant designed to run on legacy hardware (Windows XP/7, School Lab Computers) without internet access.
13
+
14
+ It uses a **TF-IDF Neural Retrieval** mechanism instead of heavy Transformers, allowing it to run instantly with <50MB RAM usage.
15
+
16
+ ## 📂 Project Structure
17
+ * **`ghost_brain.pkl`**: The pre-trained AI model (11,000+ coding patterns).
18
+ * **`ghost_coder.py`**: The inference app. Runs on any PC with Python/WinPython.
19
+ * **`rosetta_code_dataset.csv`**: The training dataset covering 22 major algorithms in Python, C++, and Java.
20
+
21
+ ## 🚀 How to Run (Offline)
22
+ 1. Download `ghost_coder.py` and `ghost_brain.pkl`.
23
+ 2. Put them on a USB stick with Portable Python.
24
+ 3. Run `python ghost_coder.py`.
25
+ 4. Ask for code (e.g., "star pattern in C++").