atomzero 0.1.0__tar.gz → 0.1.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.
- {atomzero-0.1.0/src/atomzero.egg-info → atomzero-0.1.1}/PKG-INFO +1 -1
- {atomzero-0.1.0 → atomzero-0.1.1}/pyproject.toml +4 -1
- {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero/__init__.py +1 -1
- {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero/chat_human.py +1 -1
- {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero/chat_server.py +1 -1
- {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero/ml_safety.py +2 -2
- atomzero-0.1.1/src/atomzero/moderation_head.json +4263 -0
- {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero/neural_embedder.py +1 -1
- {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero/teacher_provider.py +1 -1
- {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero/web_research.py +1 -1
- {atomzero-0.1.0 → atomzero-0.1.1/src/atomzero.egg-info}/PKG-INFO +1 -1
- {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero.egg-info/SOURCES.txt +1 -0
- {atomzero-0.1.0 → atomzero-0.1.1}/tests/test_smoke.py +9 -2
- {atomzero-0.1.0 → atomzero-0.1.1}/LICENSE +0 -0
- {atomzero-0.1.0 → atomzero-0.1.1}/NOTICE +0 -0
- {atomzero-0.1.0 → atomzero-0.1.1}/README.md +0 -0
- {atomzero-0.1.0 → atomzero-0.1.1}/setup.cfg +0 -0
- {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero/agent_runtime.py +0 -0
- {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero/curiosity.py +0 -0
- {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero/doc_ingest.py +0 -0
- {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero/doc_memory.py +0 -0
- {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero/feedback.py +0 -0
- {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero/knowledge_gaps.py +0 -0
- {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero/lora.py +0 -0
- {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero/research_queue.py +0 -0
- {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero/safety.py +0 -0
- {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero/teacher_notes.py +0 -0
- {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero/tool_planner.py +0 -0
- {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero/transformer.py +0 -0
- {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero.egg-info/dependency_links.txt +0 -0
- {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero.egg-info/entry_points.txt +0 -0
- {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero.egg-info/requires.txt +0 -0
- {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero.egg-info/top_level.txt +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "atomzero"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.1"
|
|
8
8
|
description = "Atom Zero: a local source-cited 49.2M assistant with RAG, documents, evidence and constrained tools."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
@@ -38,5 +38,8 @@ LinkedIn = "https://www.linkedin.com/in/g%C3%B6khan-cava-874a32157/"
|
|
|
38
38
|
[tool.setuptools.packages.find]
|
|
39
39
|
where = ["src"]
|
|
40
40
|
|
|
41
|
+
[tool.setuptools.package-data]
|
|
42
|
+
atomzero = ["moderation_head.json"]
|
|
43
|
+
|
|
41
44
|
[tool.setuptools]
|
|
42
45
|
license-files = ["LICENSE", "NOTICE"]
|
|
@@ -19,7 +19,7 @@ import torch
|
|
|
19
19
|
from atomzero.doc_memory import best_snippet
|
|
20
20
|
from atomzero.transformer import TransformerLM, generate as transformer_generate
|
|
21
21
|
|
|
22
|
-
ROOT = Path
|
|
22
|
+
ROOT = Path.cwd()
|
|
23
23
|
DEFAULT_MEMORY = ROOT / "data/chat_human_memory.json"
|
|
24
24
|
|
|
25
25
|
|
|
@@ -1501,7 +1501,7 @@ class Handler(BaseHTTPRequestHandler):
|
|
|
1501
1501
|
elif self.path == "/v1/models":
|
|
1502
1502
|
self._json(200, {"data": [{
|
|
1503
1503
|
"id": _state["name"], "object": "model",
|
|
1504
|
-
"owned_by": "
|
|
1504
|
+
"owned_by": "atomzero",
|
|
1505
1505
|
}]})
|
|
1506
1506
|
elif self.path == "/metrics":
|
|
1507
1507
|
self._json(200, _state["metrics"])
|
|
@@ -16,8 +16,8 @@ from pathlib import Path
|
|
|
16
16
|
|
|
17
17
|
from atomzero.safety import SafetyFilter
|
|
18
18
|
|
|
19
|
-
ROOT = Path
|
|
20
|
-
DEFAULT_HEAD =
|
|
19
|
+
ROOT = Path.cwd()
|
|
20
|
+
DEFAULT_HEAD = Path(__file__).with_name("moderation_head.json")
|
|
21
21
|
DEFAULT_MODEL = ROOT / "models/all-MiniLM-L6-v2"
|
|
22
22
|
|
|
23
23
|
|