dynamic-learning-model 3.5.1__tar.gz → 4.0.1__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.
- {dynamic_learning_model-3.5.1 → dynamic_learning_model-4.0.1}/PKG-INFO +10 -19
- {dynamic_learning_model-3.5.1 → dynamic_learning_model-4.0.1}/dlm/DLM.py +4 -4
- dynamic_learning_model-4.0.1/dlm/__init__.py +20 -0
- {dynamic_learning_model-3.5.1 → dynamic_learning_model-4.0.1}/dynamic_learning_model.egg-info/PKG-INFO +10 -19
- dynamic_learning_model-4.0.1/dynamic_learning_model.egg-info/requires.txt +5 -0
- dynamic_learning_model-4.0.1/pyproject.toml +25 -0
- {dynamic_learning_model-3.5.1 → dynamic_learning_model-4.0.1}/setup.py +1 -1
- dynamic_learning_model-3.5.1/dlm/__init__.py +0 -1
- dynamic_learning_model-3.5.1/dynamic_learning_model.egg-info/requires.txt +0 -6
- dynamic_learning_model-3.5.1/pyproject.toml +0 -3
- {dynamic_learning_model-3.5.1 → dynamic_learning_model-4.0.1}/LICENSE +0 -0
- {dynamic_learning_model-3.5.1 → dynamic_learning_model-4.0.1}/README.md +0 -0
- {dynamic_learning_model-3.5.1 → dynamic_learning_model-4.0.1}/dlm/DLM_Compute_Model.py +0 -0
- {dynamic_learning_model-3.5.1 → dynamic_learning_model-4.0.1}/dlm/DLM_Memory_Model.py +0 -0
- {dynamic_learning_model-3.5.1 → dynamic_learning_model-4.0.1}/dynamic_learning_model.egg-info/SOURCES.txt +0 -0
- {dynamic_learning_model-3.5.1 → dynamic_learning_model-4.0.1}/dynamic_learning_model.egg-info/dependency_links.txt +0 -0
- {dynamic_learning_model-3.5.1 → dynamic_learning_model-4.0.1}/dynamic_learning_model.egg-info/top_level.txt +0 -0
- {dynamic_learning_model-3.5.1 → dynamic_learning_model-4.0.1}/setup.cfg +0 -0
|
@@ -1,34 +1,25 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dynamic-learning-model
|
|
3
|
-
Version:
|
|
4
|
-
Summary: A Dynamic
|
|
3
|
+
Version: 4.0.1
|
|
4
|
+
Summary: A Dynamic-Learning Model (DLM) chatbot with memory and compute reasoning modes.
|
|
5
5
|
Home-page: https://github.com/VigneshT24/Dynamic_Learning_Model
|
|
6
6
|
Author: Vignesh Thondikulam
|
|
7
|
-
Author-email: vignesh.tho2006@gmail.com
|
|
7
|
+
Author-email: Vignesh Thondikulam <vignesh.tho2006@gmail.com>
|
|
8
8
|
License: MIT
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
9
|
+
Project-URL: Homepage, https://github.com/VigneshT24/Dynamic_Learning_Model
|
|
10
|
+
Project-URL: Repository, https://github.com/VigneshT24/Dynamic_Learning_Model
|
|
12
11
|
Requires-Python: >=3.12,<3.13
|
|
13
12
|
Description-Content-Type: text/markdown
|
|
14
13
|
License-File: LICENSE
|
|
15
|
-
Requires-Dist:
|
|
16
|
-
Requires-Dist:
|
|
17
|
-
Requires-Dist:
|
|
18
|
-
Requires-Dist:
|
|
19
|
-
Requires-Dist:
|
|
20
|
-
Requires-Dist: hf_xet
|
|
14
|
+
Requires-Dist: spacy>=3.7
|
|
15
|
+
Requires-Dist: transformers>=4.30
|
|
16
|
+
Requires-Dist: torch>=2.0
|
|
17
|
+
Requires-Dist: better-profanity>=0.7
|
|
18
|
+
Requires-Dist: nltk>=3.8
|
|
21
19
|
Dynamic: author
|
|
22
|
-
Dynamic: author-email
|
|
23
|
-
Dynamic: classifier
|
|
24
|
-
Dynamic: description
|
|
25
|
-
Dynamic: description-content-type
|
|
26
20
|
Dynamic: home-page
|
|
27
|
-
Dynamic: license
|
|
28
21
|
Dynamic: license-file
|
|
29
|
-
Dynamic: requires-dist
|
|
30
22
|
Dynamic: requires-python
|
|
31
|
-
Dynamic: summary
|
|
32
23
|
|
|
33
24
|

|
|
34
25
|

|
|
@@ -4,10 +4,10 @@ import random
|
|
|
4
4
|
import spacy
|
|
5
5
|
import time
|
|
6
6
|
import sqlite3
|
|
7
|
-
from DLM_Compute_Model import perform_advanced_CoT
|
|
8
|
-
from DLM_Memory_Model import get_category
|
|
9
|
-
from DLM_Memory_Model import get_specific_question
|
|
10
|
-
from DLM_Memory_Model import learn
|
|
7
|
+
from .DLM_Compute_Model import perform_advanced_CoT
|
|
8
|
+
from .DLM_Memory_Model import get_category
|
|
9
|
+
from .DLM_Memory_Model import get_specific_question
|
|
10
|
+
from .DLM_Memory_Model import learn
|
|
11
11
|
import math
|
|
12
12
|
from transformers import pipeline
|
|
13
13
|
from better_profanity import profanity
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import nltk
|
|
2
|
+
import spacy
|
|
3
|
+
from spacy.cli import download as spacy_download
|
|
4
|
+
|
|
5
|
+
def _ensure_nltk_data():
|
|
6
|
+
try:
|
|
7
|
+
nltk.data.find('corpora/names')
|
|
8
|
+
except LookupError:
|
|
9
|
+
nltk.download('names', quiet=True)
|
|
10
|
+
|
|
11
|
+
def _ensure_spacy_model(model_name="en_core_web_lg"):
|
|
12
|
+
try:
|
|
13
|
+
spacy.load(model_name)
|
|
14
|
+
except OSError:
|
|
15
|
+
spacy_download(model_name)
|
|
16
|
+
|
|
17
|
+
_ensure_nltk_data()
|
|
18
|
+
_ensure_spacy_model()
|
|
19
|
+
|
|
20
|
+
from .DLM import DLM
|
|
@@ -1,34 +1,25 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dynamic-learning-model
|
|
3
|
-
Version:
|
|
4
|
-
Summary: A Dynamic
|
|
3
|
+
Version: 4.0.1
|
|
4
|
+
Summary: A Dynamic-Learning Model (DLM) chatbot with memory and compute reasoning modes.
|
|
5
5
|
Home-page: https://github.com/VigneshT24/Dynamic_Learning_Model
|
|
6
6
|
Author: Vignesh Thondikulam
|
|
7
|
-
Author-email: vignesh.tho2006@gmail.com
|
|
7
|
+
Author-email: Vignesh Thondikulam <vignesh.tho2006@gmail.com>
|
|
8
8
|
License: MIT
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
9
|
+
Project-URL: Homepage, https://github.com/VigneshT24/Dynamic_Learning_Model
|
|
10
|
+
Project-URL: Repository, https://github.com/VigneshT24/Dynamic_Learning_Model
|
|
12
11
|
Requires-Python: >=3.12,<3.13
|
|
13
12
|
Description-Content-Type: text/markdown
|
|
14
13
|
License-File: LICENSE
|
|
15
|
-
Requires-Dist:
|
|
16
|
-
Requires-Dist:
|
|
17
|
-
Requires-Dist:
|
|
18
|
-
Requires-Dist:
|
|
19
|
-
Requires-Dist:
|
|
20
|
-
Requires-Dist: hf_xet
|
|
14
|
+
Requires-Dist: spacy>=3.7
|
|
15
|
+
Requires-Dist: transformers>=4.30
|
|
16
|
+
Requires-Dist: torch>=2.0
|
|
17
|
+
Requires-Dist: better-profanity>=0.7
|
|
18
|
+
Requires-Dist: nltk>=3.8
|
|
21
19
|
Dynamic: author
|
|
22
|
-
Dynamic: author-email
|
|
23
|
-
Dynamic: classifier
|
|
24
|
-
Dynamic: description
|
|
25
|
-
Dynamic: description-content-type
|
|
26
20
|
Dynamic: home-page
|
|
27
|
-
Dynamic: license
|
|
28
21
|
Dynamic: license-file
|
|
29
|
-
Dynamic: requires-dist
|
|
30
22
|
Dynamic: requires-python
|
|
31
|
-
Dynamic: summary
|
|
32
23
|
|
|
33
24
|

|
|
34
25
|

|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=42", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "dynamic-learning-model"
|
|
7
|
+
version = "4.0.1"
|
|
8
|
+
description = "A Dynamic-Learning Model (DLM) chatbot with memory and compute reasoning modes."
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.12"
|
|
11
|
+
license = { text = "MIT" }
|
|
12
|
+
authors = [
|
|
13
|
+
{ name = "Vignesh Thondikulam", email = "vignesh.tho2006@gmail.com" }
|
|
14
|
+
]
|
|
15
|
+
dependencies = [
|
|
16
|
+
"spacy>=3.7",
|
|
17
|
+
"transformers>=4.30",
|
|
18
|
+
"torch>=2.0",
|
|
19
|
+
"better-profanity>=0.7",
|
|
20
|
+
"nltk>=3.8",
|
|
21
|
+
]
|
|
22
|
+
|
|
23
|
+
[project.urls]
|
|
24
|
+
Homepage = "https://github.com/VigneshT24/Dynamic_Learning_Model"
|
|
25
|
+
Repository = "https://github.com/VigneshT24/Dynamic_Learning_Model"
|
|
@@ -5,7 +5,7 @@ with open('README.md', 'r', encoding='utf-8') as f:
|
|
|
5
5
|
|
|
6
6
|
setup(
|
|
7
7
|
name='dynamic-learning-model',
|
|
8
|
-
version='3.5.
|
|
8
|
+
version='3.5.2',
|
|
9
9
|
author='Vignesh Thondikulam',
|
|
10
10
|
author_email='vignesh.tho2006@gmail.com',
|
|
11
11
|
description='A Dynamic Learning Model for processing NLP queries using hybrid AI and reasoning.',
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
from .DLM import DLM
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|