-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
57 lines (51 loc) · 1.82 KB
/
Copy pathpyproject.toml
File metadata and controls
57 lines (51 loc) · 1.82 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
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "boldt-embed-de"
version = "0.1.0"
description = "German-first embedding model family (causal, bidirectional, reranker) based on Boldt/Boldt-DC-350M."
readme = "README.md"
requires-python = ">=3.10"
license = { text = "Apache-2.0" }
authors = [{ name = "Boldt-Embed-DE maintainers" }]
keywords = ["embeddings", "german", "retrieval", "reranker", "matryoshka", "sentence-transformers"]
# The core package and ALL validation gates run on the Python standard library
# only. Heavy ML dependencies are optional and used solely by the training and
# real-benchmark code paths (which are dry-runnable without weights here).
dependencies = []
[project.optional-dependencies]
train = [
"torch>=2.1",
# Qwen3 teacher model cards require a recent Transformers; <4.51 cannot load Qwen3.
"transformers>=4.51.0",
# 3.x ships CachedMultipleNegativesRankingLoss / (Cached)GISTEmbedLoss / MatryoshkaLoss
# and Qwen3 CrossEncoder support used by the 2026 teacher/student workflow.
"sentence-transformers>=3.0",
"accelerate>=0.30",
"datasets>=2.19",
"peft>=0.11",
]
eval = [
"mteb>=1.12",
"sentence-transformers>=3.0",
]
# flash-attn is intentionally NOT a hard dependency: its wheels need a matching CUDA
# toolchain + torch already installed and frequently fail under build isolation. Install
# it manually if desired (the teacher loader falls back to eager attention when absent):
# pip install flash-attn --no-build-isolation
flash = [
"flash-attn>=2.5.0",
]
dev = [
"ruff>=0.5",
]
[project.scripts]
boldt-validate = "boldt_embed.cli:main_validate"
boldt-smoke = "boldt_embed.cli:main_smoke"
boldt-bench = "boldt_embed.cli:main_bench"
[tool.setuptools.packages.find]
where = ["src"]
[tool.ruff]
line-length = 100
target-version = "py310"