lmurg 0.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
lmurg-0.0.0/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024- ABrain One and contributors
4
+ All rights reserved.
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.
@@ -0,0 +1,5 @@
1
+ recursive-include ab *.py *.json *.md
2
+ include requirements.txt
3
+ include README.md
4
+ include LICENSE
5
+ include version
lmurg-0.0.0/PKG-INFO ADDED
@@ -0,0 +1,102 @@
1
+ Metadata-Version: 2.2
2
+ Name: lmurg
3
+ Version: 0.0.0
4
+ Summary: LLM-Based Neural Network Generator
5
+ Home-page: https://ABrain.one
6
+ Author: ABrain One and contributors
7
+ Author-email: AI@ABrain.one
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: License :: OSI Approved :: MIT License
10
+ Classifier: Operating System :: OS Independent
11
+ Requires-Python: >=3.10
12
+ Description-Content-Type: text/markdown
13
+ License-File: LICENSE
14
+ Requires-Dist: nn-gpt==0.0.0
15
+ Provides-Extra: stat
16
+ Requires-Dist: nn-stat; extra == "stat"
17
+ Dynamic: author
18
+ Dynamic: author-email
19
+ Dynamic: classifier
20
+ Dynamic: description
21
+ Dynamic: description-content-type
22
+ Dynamic: home-page
23
+ Dynamic: provides-extra
24
+ Dynamic: requires-dist
25
+ Dynamic: requires-python
26
+ Dynamic: summary
27
+
28
+ # <img src='https://abrain.one/img/lemur-nn-icon-64x64.png' width='32px'/> GPT-Driven Neural Network Generation
29
+
30
+ <img src='https://abrain.one/img/lemur-nn-gen-whit.jpg' width='25%'/>
31
+
32
+ <h3>Overview 📖</h3>
33
+
34
+ This Python-based project leverages large language models to automate the creation of neural network architectures, streamlining the design process for machine learning practitioners.
35
+
36
+ ## Update of NN Dataset
37
+ Remove old version of the LEMUR Dataset and its database:
38
+ ```bash
39
+ source .venv/bin/activate
40
+ pip uninstall nn-dataset -y
41
+ rm -rf db
42
+ ```
43
+ Installing the stable version:
44
+ ```bash
45
+ source .venv/bin/activate
46
+ pip install nn-dataset --upgrade --extra-index-url https://download.pytorch.org/whl/cu124
47
+ ```
48
+ Installing from GitHub to get the most recent code and statistics updates:
49
+ ```bash
50
+ source .venv/bin/activate
51
+ pip install git+https://github.com/ABrain-One/nn-dataset --upgrade --force --extra-index-url https://download.pytorch.org/whl/cu124
52
+ ```
53
+ Adding functionality to export data to Excel files and generate plots for <a href='https://github.com/ABrain-One/nn-stat'>analyzing neural network performance</a>:
54
+ ```bash
55
+ source .venv/bin/activate
56
+ pip install nn-stat --upgrade --extra-index-url https://download.pytorch.org/whl/cu124
57
+ ```
58
+ and export/generate:
59
+ ```bash
60
+ source .venv/bin/activate
61
+ python -m ab.stat.export
62
+ ```
63
+
64
+ ## Environment for NN Gen Developers
65
+ ### Pip package manager
66
+ Create a virtual environment, activate it, and run the following command to install all the project dependencies:
67
+ ```bash
68
+ source .venv/bin/activate
69
+ python -m pip install --upgrade pip
70
+ pip install -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cu124
71
+ ```
72
+
73
+ ### Docker
74
+ All versions of this project are compatible with <a href='https://hub.docker.com/r/abrainone/ai-linux' target='_blank'>AI Linux</a> and can be run inside a Docker image:
75
+ ```bash
76
+ docker run -v /a/mm:. abrainone/ai-linux bash -c "PYTHONPATH=/a/mm python -m ab.gen.train_n_eval"
77
+ ```
78
+
79
+ ## Citation
80
+
81
+ The original version of this project was created at the Computer Vision Laboratory of the University of Würzburg by the authors mentioned below. If you find this project to be useful for your research, please consider citing:
82
+ ```bibtex
83
+ @misc{ABrain-One.NN-Gen,
84
+ author = {... and Goodarzi, Arash Torabi and ... and Ignatov, Dmitry and Timofte, Radu},
85
+ title = {LLM-Based Neural Network Generator},
86
+ howpublished = {\url{https://github.com/ABrain-One/nn-gen}},
87
+ year = {2024},
88
+ }
89
+ ```
90
+
91
+ ## Licenses
92
+
93
+ This project is distributed under the following licensing terms:
94
+ <ul><li>for neural network models adopted from other projects
95
+ <ul>
96
+ <li> Python code under the legacy ... license</li>
97
+ <li> models with pretrained weights under the legacy ... license</li>
98
+ </ul></li>
99
+ <li> all neural network models and their weights not covered by the above licenses, as well as all other files and assets in this project, are subject to the <a href="LICENSE">MIT license</a></li>
100
+ </ul>
101
+
102
+ #### The idea of Dr. Dmitry Ignatov
lmurg-0.0.0/README.md ADDED
@@ -0,0 +1,75 @@
1
+ # <img src='https://abrain.one/img/lemur-nn-icon-64x64.png' width='32px'/> GPT-Driven Neural Network Generation
2
+
3
+ <img src='https://abrain.one/img/lemur-nn-gen-whit.jpg' width='25%'/>
4
+
5
+ <h3>Overview 📖</h3>
6
+
7
+ This Python-based project leverages large language models to automate the creation of neural network architectures, streamlining the design process for machine learning practitioners.
8
+
9
+ ## Update of NN Dataset
10
+ Remove old version of the LEMUR Dataset and its database:
11
+ ```bash
12
+ source .venv/bin/activate
13
+ pip uninstall nn-dataset -y
14
+ rm -rf db
15
+ ```
16
+ Installing the stable version:
17
+ ```bash
18
+ source .venv/bin/activate
19
+ pip install nn-dataset --upgrade --extra-index-url https://download.pytorch.org/whl/cu124
20
+ ```
21
+ Installing from GitHub to get the most recent code and statistics updates:
22
+ ```bash
23
+ source .venv/bin/activate
24
+ pip install git+https://github.com/ABrain-One/nn-dataset --upgrade --force --extra-index-url https://download.pytorch.org/whl/cu124
25
+ ```
26
+ Adding functionality to export data to Excel files and generate plots for <a href='https://github.com/ABrain-One/nn-stat'>analyzing neural network performance</a>:
27
+ ```bash
28
+ source .venv/bin/activate
29
+ pip install nn-stat --upgrade --extra-index-url https://download.pytorch.org/whl/cu124
30
+ ```
31
+ and export/generate:
32
+ ```bash
33
+ source .venv/bin/activate
34
+ python -m ab.stat.export
35
+ ```
36
+
37
+ ## Environment for NN Gen Developers
38
+ ### Pip package manager
39
+ Create a virtual environment, activate it, and run the following command to install all the project dependencies:
40
+ ```bash
41
+ source .venv/bin/activate
42
+ python -m pip install --upgrade pip
43
+ pip install -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cu124
44
+ ```
45
+
46
+ ### Docker
47
+ All versions of this project are compatible with <a href='https://hub.docker.com/r/abrainone/ai-linux' target='_blank'>AI Linux</a> and can be run inside a Docker image:
48
+ ```bash
49
+ docker run -v /a/mm:. abrainone/ai-linux bash -c "PYTHONPATH=/a/mm python -m ab.gen.train_n_eval"
50
+ ```
51
+
52
+ ## Citation
53
+
54
+ The original version of this project was created at the Computer Vision Laboratory of the University of Würzburg by the authors mentioned below. If you find this project to be useful for your research, please consider citing:
55
+ ```bibtex
56
+ @misc{ABrain-One.NN-Gen,
57
+ author = {... and Goodarzi, Arash Torabi and ... and Ignatov, Dmitry and Timofte, Radu},
58
+ title = {LLM-Based Neural Network Generator},
59
+ howpublished = {\url{https://github.com/ABrain-One/nn-gen}},
60
+ year = {2024},
61
+ }
62
+ ```
63
+
64
+ ## Licenses
65
+
66
+ This project is distributed under the following licensing terms:
67
+ <ul><li>for neural network models adopted from other projects
68
+ <ul>
69
+ <li> Python code under the legacy ... license</li>
70
+ <li> models with pretrained weights under the legacy ... license</li>
71
+ </ul></li>
72
+ <li> all neural network models and their weights not covered by the above licenses, as well as all other files and assets in this project, are subject to the <a href="LICENSE">MIT license</a></li>
73
+ </ul>
74
+
75
+ #### The idea of Dr. Dmitry Ignatov
@@ -0,0 +1,102 @@
1
+ Metadata-Version: 2.2
2
+ Name: lmurg
3
+ Version: 0.0.0
4
+ Summary: LLM-Based Neural Network Generator
5
+ Home-page: https://ABrain.one
6
+ Author: ABrain One and contributors
7
+ Author-email: AI@ABrain.one
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: License :: OSI Approved :: MIT License
10
+ Classifier: Operating System :: OS Independent
11
+ Requires-Python: >=3.10
12
+ Description-Content-Type: text/markdown
13
+ License-File: LICENSE
14
+ Requires-Dist: nn-gpt==0.0.0
15
+ Provides-Extra: stat
16
+ Requires-Dist: nn-stat; extra == "stat"
17
+ Dynamic: author
18
+ Dynamic: author-email
19
+ Dynamic: classifier
20
+ Dynamic: description
21
+ Dynamic: description-content-type
22
+ Dynamic: home-page
23
+ Dynamic: provides-extra
24
+ Dynamic: requires-dist
25
+ Dynamic: requires-python
26
+ Dynamic: summary
27
+
28
+ # <img src='https://abrain.one/img/lemur-nn-icon-64x64.png' width='32px'/> GPT-Driven Neural Network Generation
29
+
30
+ <img src='https://abrain.one/img/lemur-nn-gen-whit.jpg' width='25%'/>
31
+
32
+ <h3>Overview 📖</h3>
33
+
34
+ This Python-based project leverages large language models to automate the creation of neural network architectures, streamlining the design process for machine learning practitioners.
35
+
36
+ ## Update of NN Dataset
37
+ Remove old version of the LEMUR Dataset and its database:
38
+ ```bash
39
+ source .venv/bin/activate
40
+ pip uninstall nn-dataset -y
41
+ rm -rf db
42
+ ```
43
+ Installing the stable version:
44
+ ```bash
45
+ source .venv/bin/activate
46
+ pip install nn-dataset --upgrade --extra-index-url https://download.pytorch.org/whl/cu124
47
+ ```
48
+ Installing from GitHub to get the most recent code and statistics updates:
49
+ ```bash
50
+ source .venv/bin/activate
51
+ pip install git+https://github.com/ABrain-One/nn-dataset --upgrade --force --extra-index-url https://download.pytorch.org/whl/cu124
52
+ ```
53
+ Adding functionality to export data to Excel files and generate plots for <a href='https://github.com/ABrain-One/nn-stat'>analyzing neural network performance</a>:
54
+ ```bash
55
+ source .venv/bin/activate
56
+ pip install nn-stat --upgrade --extra-index-url https://download.pytorch.org/whl/cu124
57
+ ```
58
+ and export/generate:
59
+ ```bash
60
+ source .venv/bin/activate
61
+ python -m ab.stat.export
62
+ ```
63
+
64
+ ## Environment for NN Gen Developers
65
+ ### Pip package manager
66
+ Create a virtual environment, activate it, and run the following command to install all the project dependencies:
67
+ ```bash
68
+ source .venv/bin/activate
69
+ python -m pip install --upgrade pip
70
+ pip install -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cu124
71
+ ```
72
+
73
+ ### Docker
74
+ All versions of this project are compatible with <a href='https://hub.docker.com/r/abrainone/ai-linux' target='_blank'>AI Linux</a> and can be run inside a Docker image:
75
+ ```bash
76
+ docker run -v /a/mm:. abrainone/ai-linux bash -c "PYTHONPATH=/a/mm python -m ab.gen.train_n_eval"
77
+ ```
78
+
79
+ ## Citation
80
+
81
+ The original version of this project was created at the Computer Vision Laboratory of the University of Würzburg by the authors mentioned below. If you find this project to be useful for your research, please consider citing:
82
+ ```bibtex
83
+ @misc{ABrain-One.NN-Gen,
84
+ author = {... and Goodarzi, Arash Torabi and ... and Ignatov, Dmitry and Timofte, Radu},
85
+ title = {LLM-Based Neural Network Generator},
86
+ howpublished = {\url{https://github.com/ABrain-One/nn-gen}},
87
+ year = {2024},
88
+ }
89
+ ```
90
+
91
+ ## Licenses
92
+
93
+ This project is distributed under the following licensing terms:
94
+ <ul><li>for neural network models adopted from other projects
95
+ <ul>
96
+ <li> Python code under the legacy ... license</li>
97
+ <li> models with pretrained weights under the legacy ... license</li>
98
+ </ul></li>
99
+ <li> all neural network models and their weights not covered by the above licenses, as well as all other files and assets in this project, are subject to the <a href="LICENSE">MIT license</a></li>
100
+ </ul>
101
+
102
+ #### The idea of Dr. Dmitry Ignatov
@@ -0,0 +1,11 @@
1
+ LICENSE
2
+ MANIFEST.in
3
+ README.md
4
+ requirements.txt
5
+ setup.py
6
+ version
7
+ lmurg.egg-info/PKG-INFO
8
+ lmurg.egg-info/SOURCES.txt
9
+ lmurg.egg-info/dependency_links.txt
10
+ lmurg.egg-info/requires.txt
11
+ lmurg.egg-info/top_level.txt
@@ -0,0 +1,4 @@
1
+ nn-gpt==0.0.0
2
+
3
+ [stat]
4
+ nn-stat
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+ nn-gpt==0.0.0
lmurg-0.0.0/setup.cfg ADDED
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
lmurg-0.0.0/setup.py ADDED
@@ -0,0 +1,45 @@
1
+ from setuptools import setup, find_packages
2
+ from pathlib import Path
3
+ import subprocess
4
+ import sys
5
+
6
+ # Function to read the requirements.txt file
7
+ def read_requirements():
8
+ with open("requirements.txt", "r") as f:
9
+ return [line.strip() for line in f if line.strip() and not line.startswith("#")]
10
+
11
+ # Safely read the README.md file
12
+ def read_readme():
13
+ readme_path = Path(__file__).parent / "README.md"
14
+ if readme_path.exists():
15
+ return readme_path.read_text(encoding="utf-8")
16
+ return ""
17
+
18
+ def version():
19
+ with open(Path(__file__).parent / 'version', 'r') as file:
20
+ v = file.readline()
21
+ return v
22
+
23
+ setup(
24
+ name="lmurg",
25
+ version=version(),
26
+ description="LLM-Based Neural Network Generator",
27
+ long_description=read_readme(),
28
+ long_description_content_type="text/markdown",
29
+ author="ABrain One and contributors",
30
+ author_email="AI@ABrain.one",
31
+ url="https://ABrain.one",
32
+ packages=find_packages(include=["ab.*"]),
33
+ install_requires=read_requirements(),
34
+ # dependency_links=['https://download.pytorch.org/whl/cu124'],
35
+ classifiers=[
36
+ "Programming Language :: Python :: 3",
37
+ "License :: OSI Approved :: MIT License",
38
+ "Operating System :: OS Independent",
39
+ ],
40
+ python_requires=">=3.10",
41
+ include_package_data=True,
42
+ extras_require = {
43
+ 'stat': ['nn-stat']
44
+ }
45
+ )
lmurg-0.0.0/version ADDED
@@ -0,0 +1 @@
1
+ 0.0.0