ldup 2.1.1__tar.gz → 2.1.4__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.
- {ldup-2.1.1 → ldup-2.1.4}/PKG-INFO +22 -12
- {ldup-2.1.1 → ldup-2.1.4}/README.md +20 -10
- {ldup-2.1.1 → ldup-2.1.4}/ldup.egg-info/PKG-INFO +22 -12
- {ldup-2.1.1 → ldup-2.1.4}/ldup.egg-info/requires.txt +1 -1
- ldup-2.1.4/requirements.txt +1 -0
- ldup-2.1.4/version +1 -0
- ldup-2.1.1/requirements.txt +0 -1
- ldup-2.1.1/version +0 -1
- {ldup-2.1.1 → ldup-2.1.4}/LICENSE +0 -0
- {ldup-2.1.1 → ldup-2.1.4}/ldup.egg-info/SOURCES.txt +0 -0
- {ldup-2.1.1 → ldup-2.1.4}/ldup.egg-info/dependency_links.txt +0 -0
- {ldup-2.1.1 → ldup-2.1.4}/ldup.egg-info/entry_points.txt +0 -0
- {ldup-2.1.1 → ldup-2.1.4}/ldup.egg-info/top_level.txt +0 -0
- {ldup-2.1.1 → ldup-2.1.4}/pyproject.toml +0 -0
- {ldup-2.1.1 → ldup-2.1.4}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ldup
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.4
|
|
4
4
|
Summary: Prefix-aware curation & near-dedup for NN code via MinHash/LSH and AST fingerprints.
|
|
5
5
|
Author-email: ABrain One and contributors <AI@ABrain.one>
|
|
6
6
|
License: MIT License
|
|
@@ -38,22 +38,22 @@ Classifier: Topic :: Software Development :: Code Generators
|
|
|
38
38
|
Requires-Python: >=3.10
|
|
39
39
|
Description-Content-Type: text/markdown
|
|
40
40
|
License-File: LICENSE
|
|
41
|
-
Requires-Dist: nn-dup==2.1.
|
|
41
|
+
Requires-Dist: nn-dup==2.1.4
|
|
42
42
|
Provides-Extra: dev
|
|
43
43
|
Requires-Dist: black>=23.0; extra == "dev"
|
|
44
44
|
Requires-Dist: isort>=5.0; extra == "dev"
|
|
45
45
|
Requires-Dist: flake8>=6.0; extra == "dev"
|
|
46
46
|
Dynamic: license-file
|
|
47
47
|
|
|
48
|
-
# Neural Network Deduplication Pipeline (NN
|
|
48
|
+
# Neural Network Deduplication Pipeline (NN-Dup)
|
|
49
49
|
<sub><a href='https://pypi.python.org/pypi/nn-dup'><img src='https://img.shields.io/pypi/v/nn-dup.svg'/></a> <a href="https://pepy.tech/project/nn-dup"><img alt="GitHub release" src="https://static.pepy.tech/badge/nn-dup"></a><br/>
|
|
50
50
|
short alias <a href='https://pypi.python.org/pypi/ldup'>ldup</a></sub>
|
|
51
51
|
|
|
52
|
-
|
|
52
|
+
The original version of the NN-Dup project was created by <strong>Waleed Khalid</strong> at the Computer Vision Laboratory, University of Würzburg, Germany.
|
|
53
53
|
|
|
54
|
-
|
|
54
|
+
## 📖 Overview
|
|
55
55
|
|
|
56
|
-
|
|
56
|
+
A sophisticated data curation and near-deduplication pipeline for neural network code from the <a href='https://github.com/ABrain-One/nn-dataset'>LEMUR dataset</a>. This project implements prefix-aware exact/near/AST deduplication with diversity top-up capabilities, followed by conversational chat data preparation for language model training. Outputs include train/dev/test JSON files ready for supervised fine-tuning.
|
|
57
57
|
|
|
58
58
|
This comprehensive pipeline processes neural network implementations from the LEMUR dataset through two main stages:
|
|
59
59
|
|
|
@@ -129,7 +129,7 @@ pip install git+https://github.com/ABrain-One/nn-dup.git
|
|
|
129
129
|
Run the deduplication pipeline with default settings:
|
|
130
130
|
|
|
131
131
|
```bash
|
|
132
|
-
python -m ab.dup.
|
|
132
|
+
python -m ab.dup.main --out ./curation_output
|
|
133
133
|
```
|
|
134
134
|
|
|
135
135
|
### Advanced Usage
|
|
@@ -137,7 +137,7 @@ python -m ab.dup.preprocessing --out ./curation_output
|
|
|
137
137
|
Filter for specific model families and configure deduplication:
|
|
138
138
|
|
|
139
139
|
```bash
|
|
140
|
-
python -m ab.dup.
|
|
140
|
+
python -m ab.dup.main \
|
|
141
141
|
--out ./curation_output \
|
|
142
142
|
--include FractalNet \
|
|
143
143
|
--include ResNet \
|
|
@@ -296,7 +296,7 @@ The pipeline generates several output files:
|
|
|
296
296
|
### Running Tests
|
|
297
297
|
|
|
298
298
|
```bash
|
|
299
|
-
python -m ab.dup.
|
|
299
|
+
python -m ab.dup.main --help
|
|
300
300
|
```
|
|
301
301
|
|
|
302
302
|
### Code Quality
|
|
@@ -330,19 +330,29 @@ MIT License - see LICENSE file for details.
|
|
|
330
330
|
|
|
331
331
|
## Citation
|
|
332
332
|
|
|
333
|
-
If you use this pipeline
|
|
333
|
+
If you use this pipeline, please consider citing:
|
|
334
|
+
|
|
335
|
+
- **Paper:** <a href="https://arxiv.org/pdf/2512.04329" target="_blank">A Retrieval-Augmented Generation Approach to Extracting Algorithmic Logic from Neural Networks</a>
|
|
336
|
+
- **Software:** Neural Network Deduplication Pipeline
|
|
334
337
|
|
|
335
338
|
```bibtex
|
|
339
|
+
@article{ABrain.NN-RAG,
|
|
340
|
+
title={A Retrieval-Augmented Generation Approach to Extracting Algorithmic Logic from Neural Networks},
|
|
341
|
+
author={Khalid, Waleed and Ignatov, Dmitry and Timofte, Radu},
|
|
342
|
+
journal={arXiv preprint arXiv:2512.04329},
|
|
343
|
+
year={2025}
|
|
344
|
+
}
|
|
345
|
+
|
|
336
346
|
@software{nn_dup_2025,
|
|
337
347
|
title={Neural Network Deduplication Pipeline},
|
|
338
348
|
author={Waleed Khalid},
|
|
339
349
|
year={2025},
|
|
340
|
-
url={https://github.com/
|
|
350
|
+
url={https://github.com/ABrain-One/nn-dup}
|
|
341
351
|
}
|
|
342
352
|
```
|
|
343
353
|
|
|
344
354
|
## Acknowledgments
|
|
345
355
|
|
|
346
|
-
- Built for the LEMUR dataset and NNGPT projects
|
|
356
|
+
- Built for the <a href='https://github.com/ABrain-One/nn-dataset'>LEMUR dataset</a> and <a href='https://github.com/ABrain-One/nn-gpt'>NNGPT</a> projects
|
|
347
357
|
- Developed at the Computer Vision Laboratory, University of Würzburg
|
|
348
358
|
- Part of the ABrain One research initiative
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
# Neural Network Deduplication Pipeline (NN
|
|
1
|
+
# Neural Network Deduplication Pipeline (NN-Dup)
|
|
2
2
|
<sub><a href='https://pypi.python.org/pypi/nn-dup'><img src='https://img.shields.io/pypi/v/nn-dup.svg'/></a> <a href="https://pepy.tech/project/nn-dup"><img alt="GitHub release" src="https://static.pepy.tech/badge/nn-dup"></a><br/>
|
|
3
3
|
short alias <a href='https://pypi.python.org/pypi/ldup'>ldup</a></sub>
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
The original version of the NN-Dup project was created by <strong>Waleed Khalid</strong> at the Computer Vision Laboratory, University of Würzburg, Germany.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
## 📖 Overview
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
A sophisticated data curation and near-deduplication pipeline for neural network code from the <a href='https://github.com/ABrain-One/nn-dataset'>LEMUR dataset</a>. This project implements prefix-aware exact/near/AST deduplication with diversity top-up capabilities, followed by conversational chat data preparation for language model training. Outputs include train/dev/test JSON files ready for supervised fine-tuning.
|
|
10
10
|
|
|
11
11
|
This comprehensive pipeline processes neural network implementations from the LEMUR dataset through two main stages:
|
|
12
12
|
|
|
@@ -82,7 +82,7 @@ pip install git+https://github.com/ABrain-One/nn-dup.git
|
|
|
82
82
|
Run the deduplication pipeline with default settings:
|
|
83
83
|
|
|
84
84
|
```bash
|
|
85
|
-
python -m ab.dup.
|
|
85
|
+
python -m ab.dup.main --out ./curation_output
|
|
86
86
|
```
|
|
87
87
|
|
|
88
88
|
### Advanced Usage
|
|
@@ -90,7 +90,7 @@ python -m ab.dup.preprocessing --out ./curation_output
|
|
|
90
90
|
Filter for specific model families and configure deduplication:
|
|
91
91
|
|
|
92
92
|
```bash
|
|
93
|
-
python -m ab.dup.
|
|
93
|
+
python -m ab.dup.main \
|
|
94
94
|
--out ./curation_output \
|
|
95
95
|
--include FractalNet \
|
|
96
96
|
--include ResNet \
|
|
@@ -249,7 +249,7 @@ The pipeline generates several output files:
|
|
|
249
249
|
### Running Tests
|
|
250
250
|
|
|
251
251
|
```bash
|
|
252
|
-
python -m ab.dup.
|
|
252
|
+
python -m ab.dup.main --help
|
|
253
253
|
```
|
|
254
254
|
|
|
255
255
|
### Code Quality
|
|
@@ -283,19 +283,29 @@ MIT License - see LICENSE file for details.
|
|
|
283
283
|
|
|
284
284
|
## Citation
|
|
285
285
|
|
|
286
|
-
If you use this pipeline
|
|
286
|
+
If you use this pipeline, please consider citing:
|
|
287
|
+
|
|
288
|
+
- **Paper:** <a href="https://arxiv.org/pdf/2512.04329" target="_blank">A Retrieval-Augmented Generation Approach to Extracting Algorithmic Logic from Neural Networks</a>
|
|
289
|
+
- **Software:** Neural Network Deduplication Pipeline
|
|
287
290
|
|
|
288
291
|
```bibtex
|
|
292
|
+
@article{ABrain.NN-RAG,
|
|
293
|
+
title={A Retrieval-Augmented Generation Approach to Extracting Algorithmic Logic from Neural Networks},
|
|
294
|
+
author={Khalid, Waleed and Ignatov, Dmitry and Timofte, Radu},
|
|
295
|
+
journal={arXiv preprint arXiv:2512.04329},
|
|
296
|
+
year={2025}
|
|
297
|
+
}
|
|
298
|
+
|
|
289
299
|
@software{nn_dup_2025,
|
|
290
300
|
title={Neural Network Deduplication Pipeline},
|
|
291
301
|
author={Waleed Khalid},
|
|
292
302
|
year={2025},
|
|
293
|
-
url={https://github.com/
|
|
303
|
+
url={https://github.com/ABrain-One/nn-dup}
|
|
294
304
|
}
|
|
295
305
|
```
|
|
296
306
|
|
|
297
307
|
## Acknowledgments
|
|
298
308
|
|
|
299
|
-
- Built for the LEMUR dataset and NNGPT projects
|
|
309
|
+
- Built for the <a href='https://github.com/ABrain-One/nn-dataset'>LEMUR dataset</a> and <a href='https://github.com/ABrain-One/nn-gpt'>NNGPT</a> projects
|
|
300
310
|
- Developed at the Computer Vision Laboratory, University of Würzburg
|
|
301
311
|
- Part of the ABrain One research initiative
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ldup
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.4
|
|
4
4
|
Summary: Prefix-aware curation & near-dedup for NN code via MinHash/LSH and AST fingerprints.
|
|
5
5
|
Author-email: ABrain One and contributors <AI@ABrain.one>
|
|
6
6
|
License: MIT License
|
|
@@ -38,22 +38,22 @@ Classifier: Topic :: Software Development :: Code Generators
|
|
|
38
38
|
Requires-Python: >=3.10
|
|
39
39
|
Description-Content-Type: text/markdown
|
|
40
40
|
License-File: LICENSE
|
|
41
|
-
Requires-Dist: nn-dup==2.1.
|
|
41
|
+
Requires-Dist: nn-dup==2.1.4
|
|
42
42
|
Provides-Extra: dev
|
|
43
43
|
Requires-Dist: black>=23.0; extra == "dev"
|
|
44
44
|
Requires-Dist: isort>=5.0; extra == "dev"
|
|
45
45
|
Requires-Dist: flake8>=6.0; extra == "dev"
|
|
46
46
|
Dynamic: license-file
|
|
47
47
|
|
|
48
|
-
# Neural Network Deduplication Pipeline (NN
|
|
48
|
+
# Neural Network Deduplication Pipeline (NN-Dup)
|
|
49
49
|
<sub><a href='https://pypi.python.org/pypi/nn-dup'><img src='https://img.shields.io/pypi/v/nn-dup.svg'/></a> <a href="https://pepy.tech/project/nn-dup"><img alt="GitHub release" src="https://static.pepy.tech/badge/nn-dup"></a><br/>
|
|
50
50
|
short alias <a href='https://pypi.python.org/pypi/ldup'>ldup</a></sub>
|
|
51
51
|
|
|
52
|
-
|
|
52
|
+
The original version of the NN-Dup project was created by <strong>Waleed Khalid</strong> at the Computer Vision Laboratory, University of Würzburg, Germany.
|
|
53
53
|
|
|
54
|
-
|
|
54
|
+
## 📖 Overview
|
|
55
55
|
|
|
56
|
-
|
|
56
|
+
A sophisticated data curation and near-deduplication pipeline for neural network code from the <a href='https://github.com/ABrain-One/nn-dataset'>LEMUR dataset</a>. This project implements prefix-aware exact/near/AST deduplication with diversity top-up capabilities, followed by conversational chat data preparation for language model training. Outputs include train/dev/test JSON files ready for supervised fine-tuning.
|
|
57
57
|
|
|
58
58
|
This comprehensive pipeline processes neural network implementations from the LEMUR dataset through two main stages:
|
|
59
59
|
|
|
@@ -129,7 +129,7 @@ pip install git+https://github.com/ABrain-One/nn-dup.git
|
|
|
129
129
|
Run the deduplication pipeline with default settings:
|
|
130
130
|
|
|
131
131
|
```bash
|
|
132
|
-
python -m ab.dup.
|
|
132
|
+
python -m ab.dup.main --out ./curation_output
|
|
133
133
|
```
|
|
134
134
|
|
|
135
135
|
### Advanced Usage
|
|
@@ -137,7 +137,7 @@ python -m ab.dup.preprocessing --out ./curation_output
|
|
|
137
137
|
Filter for specific model families and configure deduplication:
|
|
138
138
|
|
|
139
139
|
```bash
|
|
140
|
-
python -m ab.dup.
|
|
140
|
+
python -m ab.dup.main \
|
|
141
141
|
--out ./curation_output \
|
|
142
142
|
--include FractalNet \
|
|
143
143
|
--include ResNet \
|
|
@@ -296,7 +296,7 @@ The pipeline generates several output files:
|
|
|
296
296
|
### Running Tests
|
|
297
297
|
|
|
298
298
|
```bash
|
|
299
|
-
python -m ab.dup.
|
|
299
|
+
python -m ab.dup.main --help
|
|
300
300
|
```
|
|
301
301
|
|
|
302
302
|
### Code Quality
|
|
@@ -330,19 +330,29 @@ MIT License - see LICENSE file for details.
|
|
|
330
330
|
|
|
331
331
|
## Citation
|
|
332
332
|
|
|
333
|
-
If you use this pipeline
|
|
333
|
+
If you use this pipeline, please consider citing:
|
|
334
|
+
|
|
335
|
+
- **Paper:** <a href="https://arxiv.org/pdf/2512.04329" target="_blank">A Retrieval-Augmented Generation Approach to Extracting Algorithmic Logic from Neural Networks</a>
|
|
336
|
+
- **Software:** Neural Network Deduplication Pipeline
|
|
334
337
|
|
|
335
338
|
```bibtex
|
|
339
|
+
@article{ABrain.NN-RAG,
|
|
340
|
+
title={A Retrieval-Augmented Generation Approach to Extracting Algorithmic Logic from Neural Networks},
|
|
341
|
+
author={Khalid, Waleed and Ignatov, Dmitry and Timofte, Radu},
|
|
342
|
+
journal={arXiv preprint arXiv:2512.04329},
|
|
343
|
+
year={2025}
|
|
344
|
+
}
|
|
345
|
+
|
|
336
346
|
@software{nn_dup_2025,
|
|
337
347
|
title={Neural Network Deduplication Pipeline},
|
|
338
348
|
author={Waleed Khalid},
|
|
339
349
|
year={2025},
|
|
340
|
-
url={https://github.com/
|
|
350
|
+
url={https://github.com/ABrain-One/nn-dup}
|
|
341
351
|
}
|
|
342
352
|
```
|
|
343
353
|
|
|
344
354
|
## Acknowledgments
|
|
345
355
|
|
|
346
|
-
- Built for the LEMUR dataset and NNGPT projects
|
|
356
|
+
- Built for the <a href='https://github.com/ABrain-One/nn-dataset'>LEMUR dataset</a> and <a href='https://github.com/ABrain-One/nn-gpt'>NNGPT</a> projects
|
|
347
357
|
- Developed at the Computer Vision Laboratory, University of Würzburg
|
|
348
358
|
- Part of the ABrain One research initiative
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
nn-dup==2.1.4
|
ldup-2.1.4/version
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.1.4
|
ldup-2.1.1/requirements.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
nn-dup==2.1.1
|
ldup-2.1.1/version
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.1.1
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|