AbstractIntegratedModule 0.4.1__tar.gz → 0.4.2__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.
Files changed (15) hide show
  1. {abstractintegratedmodule-0.4.1 → abstractintegratedmodule-0.4.2}/AbstractIntegratedModule.cp313-win_amd64.pyd +0 -0
  2. {abstractintegratedmodule-0.4.1 → abstractintegratedmodule-0.4.2}/AbstractIntegratedModule.cpython-310-aarch64-linux-gnu.so +0 -0
  3. {abstractintegratedmodule-0.4.1 → abstractintegratedmodule-0.4.2}/AbstractIntegratedModule.cpython-312-x86_64-linux-gnu.so +0 -0
  4. {abstractintegratedmodule-0.4.1 → abstractintegratedmodule-0.4.2/AbstractIntegratedModule.egg-info}/PKG-INFO +3 -3
  5. {abstractintegratedmodule-0.4.1 → abstractintegratedmodule-0.4.2}/AbstractIntegratedModule.py +18 -16
  6. {abstractintegratedmodule-0.4.1/AbstractIntegratedModule.egg-info → abstractintegratedmodule-0.4.2}/PKG-INFO +3 -3
  7. {abstractintegratedmodule-0.4.1 → abstractintegratedmodule-0.4.2}/README.md +2 -2
  8. {abstractintegratedmodule-0.4.1 → abstractintegratedmodule-0.4.2}/setup.py +1 -1
  9. {abstractintegratedmodule-0.4.1 → abstractintegratedmodule-0.4.2}/AbstractIntegratedModule.egg-info/SOURCES.txt +0 -0
  10. {abstractintegratedmodule-0.4.1 → abstractintegratedmodule-0.4.2}/AbstractIntegratedModule.egg-info/dependency_links.txt +0 -0
  11. {abstractintegratedmodule-0.4.1 → abstractintegratedmodule-0.4.2}/AbstractIntegratedModule.egg-info/requires.txt +0 -0
  12. {abstractintegratedmodule-0.4.1 → abstractintegratedmodule-0.4.2}/AbstractIntegratedModule.egg-info/top_level.txt +0 -0
  13. {abstractintegratedmodule-0.4.1 → abstractintegratedmodule-0.4.2}/MANIFEST.in +0 -0
  14. {abstractintegratedmodule-0.4.1 → abstractintegratedmodule-0.4.2}/pyproject.toml +0 -0
  15. {abstractintegratedmodule-0.4.1 → abstractintegratedmodule-0.4.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: AbstractIntegratedModule
3
- Version: 0.4.1
3
+ Version: 0.4.2
4
4
  Summary: Framework for Advanced Integrated Non-LLM AI Module library - Backend Framework for Non-LLM AI Agent Framework
5
5
  Author: Micro-Novelty
6
6
  Author-email: hernikpuspita5@gmail.com
@@ -42,7 +42,7 @@ https://github.com/Micro-Novelty/IntegratedPipeline-Specialized-Non-LLM-AI-Agent
42
42
  #### Note: The README here you are reading is a direct copy from my README Repository, to download the necessary files, you can visit my Repository with the provided link above.
43
43
 
44
44
  ### Library Short Description:
45
- - Development Stage: Beta, 0.4.1.
45
+ - Development Stage: Beta, 0.4.2.
46
46
  - Maintainer: Micro-Novelty.
47
47
  - library Source-Code is Open-sourced on github.
48
48
  - Purpose: Specifically Designed for providing Non-LLM AI Agent Framework for edge Devices, Optimized for ARM64 architecture.
@@ -66,7 +66,7 @@ https://github.com/Micro-Novelty/IntegratedPipeline-Specialized-Non-LLM-AI-Agent
66
66
  -----
67
67
 
68
68
  <img width="1280" height="600" alt="WhatsApp Image 2026-05-27 at 07 16 32" src="https://github.com/user-attachments/assets/4b58a556-45a3-419b-96fd-9c1b76cac574" />
69
- [![PyPI Downloads](https://static.pepy.tech/personalized-badge/abstractintegratedmodule?period=total&units=INTERNATIONAL_SYSTEM&left_color=BLACK&right_color=GREEN&left_text=downloads)](https://pepy.tech/projects/abstractintegratedmodule)
69
+
70
70
 
71
71
  ## [+] MANN Intro
72
72
  [=] Memory augmented Neural network (MANN) is a neural network architecture coupled with an external, dynamic memory module, allowing it to store, retrieve, and update information similarly to a computer's RAM. Unlike traditional networks that store knowledge only in weight parameters, MANNs excel at fast learning, long-term dependency handling, and episodic recall, In IntegratedPipeline, Its memory is stored in a custom database inside your local machine, then later used for memory retrieval, transfered to the AI Dictionary where it can finnaly recall its memory when input condition matched with memory.
@@ -11905,6 +11905,15 @@ class PipelinePredictionManager:
11905
11905
  print('[=] label_bins cache found!')
11906
11906
  label_bins = self.pipeline.cache['label_bins']
11907
11907
  lstm_probs, _ = self.pipeline.ensemble._get_lstm_probs(input_ids, X, label_bins=label_bins)
11908
+ else:
11909
+ lstm_probs = None
11910
+
11911
+ results = []
11912
+ attention_data = [] if return_attention else None
11913
+
11914
+ target_probs = self.pipeline.predict_proba(input_ids, X, type='Hybrid', embedded=True)
11915
+ target_probs = target_probs[:mlp_probs.shape[0], :mlp_probs.shape[1]]
11916
+ target_pred_indices = np.argmax(target_probs, axis=1)
11908
11917
 
11909
11918
  results = []
11910
11919
  attention_data = [] if return_attention else None
@@ -11927,15 +11936,16 @@ class PipelinePredictionManager:
11927
11936
  mlp_confidence = mlp_probs[i][mlp_class_idx]
11928
11937
  mlp_label = reverse_map.get(mlp_class_idx, f"unknown_{mlp_class_idx}")
11929
11938
 
11930
- target_confidence = mlp_confidence
11931
- target_probs = mlp_probs
11932
- target_pred_indices = mlp_pred_indices
11933
- target_class_idx = mlp_class_idx
11939
+ if lstm_probs is not None:
11940
+ lstm_pred_indices = np.argmax(lstm_probs, axis=1)
11941
+ lstm_class_idx = lstm_pred_indices[i]
11942
+ lstm_confidence = lstm_probs[i][lstm_class_idx]
11943
+ else:
11944
+ lstm_confidence = None
11945
+
11946
+ target_class_idx = target_pred_indices[i]
11947
+ target_confidence = target_probs[i][target_class_idx]
11934
11948
 
11935
- if float(mlp_confidence) < self.pipeline.confidence_threshold:
11936
- target_class_idx = target_pred_indices[i]
11937
- target_confidence = target_probs[i][target_class_idx]
11938
-
11939
11949
  # Transformer prediction and blending
11940
11950
  if trans_probs is not None:
11941
11951
  trans_probs_i = trans_probs[i]
@@ -11945,14 +11955,6 @@ class PipelinePredictionManager:
11945
11955
  else:
11946
11956
  trans_confidence = trans_probs_i[trans_class_idx]
11947
11957
 
11948
- if lstm_probs is not None:
11949
- lstm_probs_i = lstm_probs[i]
11950
- lstm_class_idx = np.argmax(lstm_probs_i)
11951
- if isinstance(lstm_probs_i, float):
11952
- lstm_confidence = target_confidence
11953
- else:
11954
- lstm_confidence = lstm_probs_i[lstm_class_idx]
11955
-
11956
11958
  trans_label = reverse_map.get(trans_class_idx, f"unknown_{trans_class_idx}")
11957
11959
 
11958
11960
  calibration = self.pipeline._calibrate_probs(target_probs, target_pred_indices, attn_weights, input_ids)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: AbstractIntegratedModule
3
- Version: 0.4.1
3
+ Version: 0.4.2
4
4
  Summary: Framework for Advanced Integrated Non-LLM AI Module library - Backend Framework for Non-LLM AI Agent Framework
5
5
  Author: Micro-Novelty
6
6
  Author-email: hernikpuspita5@gmail.com
@@ -42,7 +42,7 @@ https://github.com/Micro-Novelty/IntegratedPipeline-Specialized-Non-LLM-AI-Agent
42
42
  #### Note: The README here you are reading is a direct copy from my README Repository, to download the necessary files, you can visit my Repository with the provided link above.
43
43
 
44
44
  ### Library Short Description:
45
- - Development Stage: Beta, 0.4.1.
45
+ - Development Stage: Beta, 0.4.2.
46
46
  - Maintainer: Micro-Novelty.
47
47
  - library Source-Code is Open-sourced on github.
48
48
  - Purpose: Specifically Designed for providing Non-LLM AI Agent Framework for edge Devices, Optimized for ARM64 architecture.
@@ -66,7 +66,7 @@ https://github.com/Micro-Novelty/IntegratedPipeline-Specialized-Non-LLM-AI-Agent
66
66
  -----
67
67
 
68
68
  <img width="1280" height="600" alt="WhatsApp Image 2026-05-27 at 07 16 32" src="https://github.com/user-attachments/assets/4b58a556-45a3-419b-96fd-9c1b76cac574" />
69
- [![PyPI Downloads](https://static.pepy.tech/personalized-badge/abstractintegratedmodule?period=total&units=INTERNATIONAL_SYSTEM&left_color=BLACK&right_color=GREEN&left_text=downloads)](https://pepy.tech/projects/abstractintegratedmodule)
69
+
70
70
 
71
71
  ## [+] MANN Intro
72
72
  [=] Memory augmented Neural network (MANN) is a neural network architecture coupled with an external, dynamic memory module, allowing it to store, retrieve, and update information similarly to a computer's RAM. Unlike traditional networks that store knowledge only in weight parameters, MANNs excel at fast learning, long-term dependency handling, and episodic recall, In IntegratedPipeline, Its memory is stored in a custom database inside your local machine, then later used for memory retrieval, transfered to the AI Dictionary where it can finnaly recall its memory when input condition matched with memory.
@@ -10,7 +10,7 @@ https://github.com/Micro-Novelty/IntegratedPipeline-Specialized-Non-LLM-AI-Agent
10
10
  #### Note: The README here you are reading is a direct copy from my README Repository, to download the necessary files, you can visit my Repository with the provided link above.
11
11
 
12
12
  ### Library Short Description:
13
- - Development Stage: Beta, 0.4.1.
13
+ - Development Stage: Beta, 0.4.2.
14
14
  - Maintainer: Micro-Novelty.
15
15
  - library Source-Code is Open-sourced on github.
16
16
  - Purpose: Specifically Designed for providing Non-LLM AI Agent Framework for edge Devices, Optimized for ARM64 architecture.
@@ -34,7 +34,7 @@ https://github.com/Micro-Novelty/IntegratedPipeline-Specialized-Non-LLM-AI-Agent
34
34
  -----
35
35
 
36
36
  <img width="1280" height="600" alt="WhatsApp Image 2026-05-27 at 07 16 32" src="https://github.com/user-attachments/assets/4b58a556-45a3-419b-96fd-9c1b76cac574" />
37
- [![PyPI Downloads](https://static.pepy.tech/personalized-badge/abstractintegratedmodule?period=total&units=INTERNATIONAL_SYSTEM&left_color=BLACK&right_color=GREEN&left_text=downloads)](https://pepy.tech/projects/abstractintegratedmodule)
37
+
38
38
 
39
39
  ## [+] MANN Intro
40
40
  [=] Memory augmented Neural network (MANN) is a neural network architecture coupled with an external, dynamic memory module, allowing it to store, retrieve, and update information similarly to a computer's RAM. Unlike traditional networks that store knowledge only in weight parameters, MANNs excel at fast learning, long-term dependency handling, and episodic recall, In IntegratedPipeline, Its memory is stored in a custom database inside your local machine, then later used for memory retrieval, transfered to the AI Dictionary where it can finnaly recall its memory when input condition matched with memory.
@@ -8,7 +8,7 @@ class BinaryDistribution(Distribution):
8
8
 
9
9
  setup(
10
10
  name="AbstractIntegratedModule",
11
- version="0.4.1",
11
+ version="0.4.2",
12
12
  description="Framework for Advanced Integrated Non-LLM AI Module library - Backend Framework for Non-LLM AI Agent Framework",
13
13
  long_description=open("README.md", encoding="utf-8").read(),
14
14
  long_description_content_type="text/markdown",