Commit
Β·
c2542ed
1
Parent(s):
ac4ea64
Revert "template Gradio UI"
Browse filesThis reverts commit ac4ea64743d3d5999c6e6fd8dea64d93da13b905.
- .gitignore +0 -181
- HRM_Sudoku_1k_T4_ByJeremyLive.ipynb +0 -0
- LICENSE +0 -21
- README.md +12 -87
.gitignore
DELETED
@@ -1,181 +0,0 @@
|
|
1 |
-
# Byte-compiled / optimized / DLL files
|
2 |
-
__pycache__/
|
3 |
-
*.py[cod]
|
4 |
-
*$py.class
|
5 |
-
|
6 |
-
# C extensions
|
7 |
-
*.so
|
8 |
-
|
9 |
-
# Distribution / packaging
|
10 |
-
.Python
|
11 |
-
build/
|
12 |
-
develop-eggs/
|
13 |
-
dist/
|
14 |
-
downloads/
|
15 |
-
eggs/
|
16 |
-
.eggs/
|
17 |
-
lib/
|
18 |
-
lib64/
|
19 |
-
parts/
|
20 |
-
sdist/
|
21 |
-
var/
|
22 |
-
wheels/
|
23 |
-
share/python-wheels/
|
24 |
-
*.egg-info/
|
25 |
-
.installed.cfg
|
26 |
-
*.egg
|
27 |
-
MANIFEST
|
28 |
-
|
29 |
-
# PyInstaller
|
30 |
-
# Usually these files are written by a python script from a template
|
31 |
-
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
32 |
-
*.manifest
|
33 |
-
*.spec
|
34 |
-
|
35 |
-
# Installer logs
|
36 |
-
pip-log.txt
|
37 |
-
pip-delete-this-directory.txt
|
38 |
-
|
39 |
-
# Unit test / coverage reports
|
40 |
-
htmlcov/
|
41 |
-
.tox/
|
42 |
-
.nox/
|
43 |
-
.coverage
|
44 |
-
.coverage.*
|
45 |
-
.cache
|
46 |
-
nosetests.xml
|
47 |
-
coverage.xml
|
48 |
-
*.cover
|
49 |
-
*.py,cover
|
50 |
-
.hypothesis/
|
51 |
-
.pytest_cache/
|
52 |
-
cover/
|
53 |
-
|
54 |
-
# Translations
|
55 |
-
*.mo
|
56 |
-
*.pot
|
57 |
-
|
58 |
-
# Django stuff:
|
59 |
-
*.log
|
60 |
-
local_settings.py
|
61 |
-
db.sqlite3
|
62 |
-
db.sqlite3-journal
|
63 |
-
|
64 |
-
# Flask stuff:
|
65 |
-
instance/
|
66 |
-
.webassets-cache
|
67 |
-
|
68 |
-
# Scrapy stuff:
|
69 |
-
.scrapy
|
70 |
-
|
71 |
-
# Sphinx documentation
|
72 |
-
docs/_build/
|
73 |
-
|
74 |
-
# PyBuilder
|
75 |
-
.pybuilder/
|
76 |
-
target/
|
77 |
-
|
78 |
-
# Jupyter Notebook
|
79 |
-
.ipynb_checkpoints
|
80 |
-
|
81 |
-
# IPython
|
82 |
-
profile_default/
|
83 |
-
ipython_config.py
|
84 |
-
|
85 |
-
# pyenv
|
86 |
-
# For a library or package, you might want to ignore these files since the code is
|
87 |
-
# intended to run in multiple environments; otherwise, check them in:
|
88 |
-
# .python-version
|
89 |
-
|
90 |
-
# pipenv
|
91 |
-
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
92 |
-
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
93 |
-
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
94 |
-
# install all needed dependencies.
|
95 |
-
#Pipfile.lock
|
96 |
-
|
97 |
-
# UV
|
98 |
-
# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
|
99 |
-
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
100 |
-
# commonly ignored for libraries.
|
101 |
-
#uv.lock
|
102 |
-
|
103 |
-
# poetry
|
104 |
-
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
105 |
-
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
106 |
-
# commonly ignored for libraries.
|
107 |
-
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
108 |
-
#poetry.lock
|
109 |
-
|
110 |
-
# pdm
|
111 |
-
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
112 |
-
#pdm.lock
|
113 |
-
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
|
114 |
-
# in version control.
|
115 |
-
# https://pdm.fming.dev/latest/usage/project/#working-with-version-control
|
116 |
-
.pdm.toml
|
117 |
-
.pdm-python
|
118 |
-
.pdm-build/
|
119 |
-
|
120 |
-
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
121 |
-
__pypackages__/
|
122 |
-
|
123 |
-
# Celery stuff
|
124 |
-
celerybeat-schedule
|
125 |
-
celerybeat.pid
|
126 |
-
|
127 |
-
# SageMath parsed files
|
128 |
-
*.sage.py
|
129 |
-
|
130 |
-
# Environments
|
131 |
-
.env
|
132 |
-
.venv
|
133 |
-
env/
|
134 |
-
venv/
|
135 |
-
ENV/
|
136 |
-
env.bak/
|
137 |
-
venv.bak/
|
138 |
-
|
139 |
-
# Spyder project settings
|
140 |
-
.spyderproject
|
141 |
-
.spyproject
|
142 |
-
|
143 |
-
# Rope project settings
|
144 |
-
.ropeproject
|
145 |
-
|
146 |
-
# mkdocs documentation
|
147 |
-
/site
|
148 |
-
|
149 |
-
# mypy
|
150 |
-
.mypy_cache/
|
151 |
-
.dmypy.json
|
152 |
-
dmypy.json
|
153 |
-
|
154 |
-
# Pyre type checker
|
155 |
-
.pyre/
|
156 |
-
|
157 |
-
# pytype static type analyzer
|
158 |
-
.pytype/
|
159 |
-
|
160 |
-
# Cython debug symbols
|
161 |
-
cython_debug/
|
162 |
-
|
163 |
-
# PyCharm
|
164 |
-
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
165 |
-
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
166 |
-
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
167 |
-
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
168 |
-
#.idea/
|
169 |
-
|
170 |
-
# Ruff stuff:
|
171 |
-
.ruff_cache/
|
172 |
-
|
173 |
-
# PyPI configuration file
|
174 |
-
.pypirc
|
175 |
-
|
176 |
-
# Cursor
|
177 |
-
# Cursor is an AI-powered code editor.`.cursorignore` specifies files/directories to
|
178 |
-
# exclude from AI features like autocomplete and code analysis. Recommended for sensitive data
|
179 |
-
# refer to https://docs.cursor.com/context/ignore-files
|
180 |
-
.cursorignore
|
181 |
-
.cursorindexingignore
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HRM_Sudoku_1k_T4_ByJeremyLive.ipynb
DELETED
The diff for this file is too large to render.
See raw diff
|
|
LICENSE
DELETED
@@ -1,21 +0,0 @@
|
|
1 |
-
MIT License
|
2 |
-
|
3 |
-
Copyright (c) 2025 Jeremy Live
|
4 |
-
|
5 |
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6 |
-
of this software and associated documentation files (the "Software"), to deal
|
7 |
-
in the Software without restriction, including without limitation the rights
|
8 |
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9 |
-
copies of the Software, and to permit persons to whom the Software is
|
10 |
-
furnished to do so, subject to the following conditions:
|
11 |
-
|
12 |
-
The above copyright notice and this permission notice shall be included in all
|
13 |
-
copies or substantial portions of the Software.
|
14 |
-
|
15 |
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18 |
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20 |
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21 |
-
SOFTWARE.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
README.md
CHANGED
@@ -1,89 +1,14 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
- **100% Accuracy**: Achieves perfect Sudoku solving capabilities
|
14 |
-
- **Few-Shot Learning**: Trained with just 1,000 examples
|
15 |
-
- **Efficient Training**: Runs in under an hour on T4 GPU
|
16 |
-
- **Open Source**: Fully transparent and customizable implementation
|
17 |
-
- **Gradio Interface**: User-friendly web interface for easy interaction
|
18 |
-
- **Production-Ready**: Clean, well-documented codebase
|
19 |
-
|
20 |
-
## π§© What Problem Does This Solve?
|
21 |
-
|
22 |
-
Traditional AI approaches to Sudoku often rely on brute-force search or handcrafted rules. Our HRM approach demonstrates how **retrieval-augmented generation** can be applied to complex constraint satisfaction problems, with potential applications in:
|
23 |
-
|
24 |
-
- Automated reasoning systems
|
25 |
-
- Educational technology
|
26 |
-
- AI-assisted game design
|
27 |
-
- Combinatorial optimization
|
28 |
-
- Algorithmic problem-solving
|
29 |
-
|
30 |
-
## π Technical Highlights
|
31 |
-
|
32 |
-
- **Hybrid Architecture**: Combines the power of neural networks with symbolic reasoning
|
33 |
-
- **Efficient Training**: Achieves state-of-the-art results with minimal data
|
34 |
-
- **Modular Design**: Easy to extend to other constraint satisfaction problems
|
35 |
-
- **Visual Debugging**: Built-in visualization of the solving process
|
36 |
-
|
37 |
-
## π Get Started in 60 Seconds
|
38 |
-
|
39 |
-
1. **Run on Google Colab**: [](https://colab.research.google.com/github/developerjeremylive/etherOI.com_HRM_Sudoku_1k_T4/blob/main/HRM_Sudoku_1k_T4_ByJeremyLive.ipynb)
|
40 |
-
2. **Or clone locally**:
|
41 |
-
```bash
|
42 |
-
git clone https://github.com/developerjeremylive/etherOI.com_HRM_Sudoku_1k_T4.git
|
43 |
-
cd etherOI.com_HRM_Sudoku_1k_T4
|
44 |
-
pip install -r requirements.txt
|
45 |
-
jupyter notebook HRM_Sudoku_1k_T4_ByJeremyLive.ipynb
|
46 |
-
```
|
47 |
-
|
48 |
-
## π― Performance Metrics
|
49 |
-
|
50 |
-
| Metric | Score |
|
51 |
-
|-----------------|--------|
|
52 |
-
| Accuracy | 100% |
|
53 |
-
| Training Time | ~50min |
|
54 |
-
| Model Size | <100MB |
|
55 |
-
| GPU Required | T4/A100|
|
56 |
-
|
57 |
-
## π About the Creator
|
58 |
-
|
59 |
-
**Jeremy Live**
|
60 |
-
Generative AI System Integrator & AI/ML Software Consultant
|
61 |
-
AI Engineering Lead | Algorithm & SFTTrainer Specialist
|
62 |
-
|
63 |
-
π **Connect with me:**
|
64 |
-
- πΌ [LinkedIn](https://www.linkedin.com/in/jeremy-live/)
|
65 |
-
- π₯ [TikTok](https://www.tiktok.com/@developerjeremylive)
|
66 |
-
- π€ [Chat with my AI](https://chat.etheroi.com)
|
67 |
-
|
68 |
-
## π€ Contribute
|
69 |
-
|
70 |
-
We welcome contributions! Here's how you can help:
|
71 |
-
|
72 |
-
1. **Star** the repository β
|
73 |
-
2. Open an **Issue** for bugs or feature requests
|
74 |
-
3. Submit a **Pull Request** with your improvements
|
75 |
-
4. Share your results on social media and tag `#HRMSudokuSolver`
|
76 |
-
|
77 |
-
## π License
|
78 |
-
|
79 |
-
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
80 |
-
|
81 |
-
## π Related Projects
|
82 |
-
|
83 |
-
Check out my other AI projects:
|
84 |
-
- [Chat with my AI Assistant](https://chat.etheroi.com)
|
85 |
-
- [More projects on GitHub](https://github.com/developerjeremylive)
|
86 |
-
|
87 |
---
|
88 |
|
89 |
-
|
|
|
1 |
+
---
|
2 |
+
title: EtherOI.com HRM Sudoku 1k T4
|
3 |
+
emoji: π¨
|
4 |
+
colorFrom: pink
|
5 |
+
colorTo: indigo
|
6 |
+
sdk: gradio
|
7 |
+
sdk_version: 5.44.1
|
8 |
+
app_file: app.py
|
9 |
+
pinned: false
|
10 |
+
license: mit
|
11 |
+
short_description: 'π§ HRM Sudoku Solver: Next-Gen AI for Complex Problem Solved'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
---
|
13 |
|
14 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|