-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
66 lines (58 loc) · 1.53 KB
/
pyproject.toml
File metadata and controls
66 lines (58 loc) · 1.53 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "modern-bert-score"
version = "0.0.2"
description = "A reimplementation of the BERTScore metric optimized for modern inference workflows."
readme = "README.md"
requires-python = ">=3.12"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Environment :: GPU :: NVIDIA CUDA",
"Topic :: Scientific/Engineering :: Artificial Intelligence"
]
license = "Apache-2.0"
license-files = ["LICEN[CS]E*"]
authors = [
{name = "Philipp Koch", email="PhillKoch@protonmail.com"},
]
dependencies = [
"sentence-transformers>=5.2.3",
"torch>=2.9.1",
"transformers>=4.57.6",
]
[project.urls]
Homepage = "https://modern-bert-score.readthedocs.io/en/latest/"
Issues = "https://github.com/LazerLambda/modern-bert-score/issues"
[project.optional-dependencies]
vllm = ["vllm>=0.16.0"]
dev = [
"sphinx",
"sphinx_rtd_theme",
"myst-parser",
"pytest",
"pytest-cov",
"ruff",
"flake8",
"mypy",
"flake8",
"pytest-cov"
]
[tool.setuptools.packages.find]
include = ["modern_bert_score*"]
[tool.ruff]
line-length = 100
extend-exclude = ["tests"]
[tool.ruff.lint]
select = ["E", "F", "W", "I"]
[tool.mypy]
strict = true
ignore_missing_imports = true
[tool.pytest.ini_options]
filterwarnings = ["ignore::DeprecationWarning"]
exclude = ["^build/"]