-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
82 lines (72 loc) · 1.87 KB
/
Copy pathpyproject.toml
File metadata and controls
82 lines (72 loc) · 1.87 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
[project]
name = "glublm"
version = "0.3.1"
description = "A 36M-parameter goldfish language model with a 10-second memory"
readme = "README.md"
requires-python = ">=3.12"
license = { text = "AGPL-3.0-or-later" }
authors = [
{ name = "Dennis Sepede", email = "dennisepede@proton.me" },
]
keywords = ["llm", "transformer", "goldfish", "tiny-lm", "pytorch"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"torch>=2.3.0",
"tokenizers>=0.19.0",
"click>=8.1.0",
"pyyaml>=6.0",
"python-dotenv>=1.0.0",
"tqdm>=4.66.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-cov>=5.0.0",
"ruff>=0.6.0",
]
datagen = [
"anthropic>=0.40.0",
]
deploy = [
"onnx>=1.17.0",
"onnxruntime>=1.19.0",
"huggingface-hub>=1.12.0",
"safetensors>=0.4.0",
]
eval = [
"scikit-learn>=1.5.0",
]
[project.scripts]
glublm = "glublm.cli:main"
[project.urls]
Repository = "https://github.com/Den-Sec/glublm"
Issues = "https://github.com/Den-Sec/glublm/issues"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/glublm"]
[tool.ruff]
line-length = 100
target-version = "py312"
extend-exclude = ["notebooks/**"]
[tool.ruff.lint]
select = ["E", "F", "I", "N", "UP", "B", "C4", "SIM", "RUF"]
ignore = ["E501", "N812"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v --tb=short"
[tool.uv.sources]
torch = [
{ index = "pytorch-cu121", marker = "sys_platform == 'win32' or sys_platform == 'linux'" },
]
[[tool.uv.index]]
name = "pytorch-cu121"
url = "https://download.pytorch.org/whl/cu121"
explicit = true