llmdbg 0.0.1a1__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.
- llmdbg-0.0.1a1/.gitignore +8 -0
- llmdbg-0.0.1a1/PKG-INFO +26 -0
- llmdbg-0.0.1a1/README.md +13 -0
- llmdbg-0.0.1a1/pyproject.toml +24 -0
- llmdbg-0.0.1a1/src/llmdbg/__init__.py +5 -0
- llmdbg-0.0.1a1/src/llmdbg/cli.py +23 -0
llmdbg-0.0.1a1/PKG-INFO
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: llmdbg
|
|
3
|
+
Version: 0.0.1a1
|
|
4
|
+
Summary: A debugger for stepping through LLM layers and interpreting internal representations.
|
|
5
|
+
Classifier: Development Status :: 2 - Pre-Alpha
|
|
6
|
+
Classifier: Intended Audience :: Developers
|
|
7
|
+
Classifier: Intended Audience :: Science/Research
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
10
|
+
Classifier: Topic :: Software Development :: Debuggers
|
|
11
|
+
Requires-Python: >=3.10
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
|
|
14
|
+
# llmdbg
|
|
15
|
+
|
|
16
|
+
`llmdbg` is an early-stage debugger for stepping through language-model layers
|
|
17
|
+
and presenting human-readable interpretations of internal vectors. It is
|
|
18
|
+
designed to integrate with editors through the Debug Adapter Protocol (DAP).
|
|
19
|
+
|
|
20
|
+
The debugger is under active development. This initial release establishes the
|
|
21
|
+
package and command-line interface.
|
|
22
|
+
|
|
23
|
+
```console
|
|
24
|
+
pip install --pre llmdbg
|
|
25
|
+
llmdbg --version
|
|
26
|
+
```
|
llmdbg-0.0.1a1/README.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# llmdbg
|
|
2
|
+
|
|
3
|
+
`llmdbg` is an early-stage debugger for stepping through language-model layers
|
|
4
|
+
and presenting human-readable interpretations of internal vectors. It is
|
|
5
|
+
designed to integrate with editors through the Debug Adapter Protocol (DAP).
|
|
6
|
+
|
|
7
|
+
The debugger is under active development. This initial release establishes the
|
|
8
|
+
package and command-line interface.
|
|
9
|
+
|
|
10
|
+
```console
|
|
11
|
+
pip install --pre llmdbg
|
|
12
|
+
llmdbg --version
|
|
13
|
+
```
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["hatchling>=1.27"]
|
|
3
|
+
build-backend = "hatchling.build"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "llmdbg"
|
|
7
|
+
version = "0.0.1a1"
|
|
8
|
+
description = "A debugger for stepping through LLM layers and interpreting internal representations."
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.10"
|
|
11
|
+
classifiers = [
|
|
12
|
+
"Development Status :: 2 - Pre-Alpha",
|
|
13
|
+
"Intended Audience :: Developers",
|
|
14
|
+
"Intended Audience :: Science/Research",
|
|
15
|
+
"Programming Language :: Python :: 3",
|
|
16
|
+
"Programming Language :: Python :: 3 :: Only",
|
|
17
|
+
"Topic :: Software Development :: Debuggers",
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
[project.scripts]
|
|
21
|
+
llmdbg = "llmdbg.cli:main"
|
|
22
|
+
|
|
23
|
+
[tool.hatch.build.targets.wheel]
|
|
24
|
+
packages = ["src/llmdbg"]
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"""Command-line entry point for llmdbg."""
|
|
2
|
+
|
|
3
|
+
import argparse
|
|
4
|
+
|
|
5
|
+
from llmdbg import __version__
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
def main() -> None:
|
|
9
|
+
"""Run the llmdbg command-line interface."""
|
|
10
|
+
parser = argparse.ArgumentParser(
|
|
11
|
+
prog="llmdbg",
|
|
12
|
+
description="Debug language models layer by layer.",
|
|
13
|
+
)
|
|
14
|
+
parser.add_argument(
|
|
15
|
+
"--version",
|
|
16
|
+
action="version",
|
|
17
|
+
version=f"%(prog)s {__version__}",
|
|
18
|
+
)
|
|
19
|
+
parser.parse_args()
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
if __name__ == "__main__":
|
|
23
|
+
main()
|