Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
123 lines (114 loc) · 3.12 KB
/
Copy pathpyproject.toml
File metadata and controls
123 lines (114 loc) · 3.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
[project]
name = "abi-capability-compiler"
version = "0.4.0a1"
description = "Provenance-preserving capability acquisition and segregation for external model hosts"
readme = "README.md"
requires-python = ">=3.10"
license = "Apache-2.0"
authors = [
{ name = "Sam Yoder" }
]
keywords = [
"large-language-models",
"domain-adaptation",
"knowledge-transfer",
"capability-segregation",
"frozen-modules",
"transformers",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = []
[project.optional-dependencies]
host = [
"torch>=2.1",
"psutil>=5.9",
"safetensors>=0.4",
]
extraction = [
"torch>=2.1",
"transformers>=4.38",
"sentencepiece>=0.1.99",
"numpy",
"tqdm",
"regex",
"datasets>=2.18.0",
"pyyaml>=6.0",
"huggingface_hub>=0.22.0",
]
human = [
"cryptography>=41",
]
dev = [
"build",
"pytest>=7",
"ruff",
]
[project.urls]
Repository = "https://github.com/Yoder23/abi"
Documentation = "https://github.com/Yoder23/abi/tree/master/docs"
Changelog = "https://github.com/Yoder23/abi/blob/master/CHANGELOG.md"
Issues = "https://github.com/Yoder23/abi/issues"
[project.scripts]
abi = "abi.__main__:main"
abi-reproduce = "abi.reproduce:main"
abi-v2-verify = "abi_v2.verify_release:main"
abi-v2-verify-bundle = "abi_v2.verify_external_bundle:main"
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["abi*"]
[tool.setuptools.package-data]
abi_v2 = [
"*.json",
"*.sh",
"reference_vectors/*.json",
]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "W", "I"]
ignore = ["E501"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = [
"test_public_release.py",
"test_capability_pipeline.py",
"test_capability_segregation.py",
"test_abi_v2_*.py",
"test_capability_compiler_phase0.py",
"test_capability_compiler_phase0_certificate.py",
"test_capability_compiler_phase4_b40_frontier_verify.py",
"test_capability_compiler_phase6_verify.py",
"test_capability_compiler_phase7_verify.py",
"test_capability_compiler_phase8_release_readiness.py",
"test_capability_compiler_phase8_manifest_integration.py",
"test_capability_compiler_phase8_local_rehearsal_verify.py",
"test_independent_audit_replay_surface.py",
"test_prospective_length_span_r97.py",
"test_plan_english_r98.py",
"test_plan_english_r98_completion.py",
"test_r98_completion_audit.py",
"test_grounded_english_r99.py",
"test_grounded_english_r99_fp32.py",
"test_r99_fit_audit.py",
"test_acquisition_capacity_r100.py",
"test_execution_continuation_r101.py",
"test_coverage_exposure_r102.py",
"test_r102_error_audit.py",
"test_r102_public_review.py",
"test_recipient_interface_r103.py",
"test_evaluator_control_r104.py",
"test_evaluator_scope_r105.py",
"test_grammar_interface_r106.py",
"test_retention_intervention_r107.py",
"test_trained_grounding_r108.py",
]