-
Notifications
You must be signed in to change notification settings - Fork 199
/
Copy pathpyproject.toml
89 lines (80 loc) · 2.17 KB
/
pyproject.toml
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
[project]
name = "beir"
version = "2.1.0"
description = "A Heterogeneous Benchmark for Information Retrieval"
license = { text = "Apache License 2.0" }
readme = "README.md"
authors = [
{ name = "Nandan Thakur", email = "[email protected]" }
]
maintainers = [
{ name = "Nandan Thakur", email = "[email protected]" }
]
requires-python = ">=3.9"
keywords = [
"Benchmarking",
"BEIR",
"Evaluation Framework",
"Information Retrieval",
"Transformer Networks",
"Large Language Models",
"PyTorch",
"IR",
"NLP",
"Deep Learning"
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"sentence-transformers",
"pytrec-eval-terrier",
"datasets"
]
[project.optional-dependencies]
tf = ["tensorflow>=2.2.0", "tensorflow-text", "tensorflow-hub"]
elasticsearch = ["elasticsearch==7.9.1"]
peft = ["peft"]
dev = ["pytest", "pytest-cov", "pre-commit"]
faiss = ["faiss-cpu"]
[project.urls]
Homepage = "https://github.com/beir-cellar/beir"
Repository = "https://github.com/beir-cellar/beir"
Download = "https://github.com/beir-cellar/beir/archive/v2.0.0.zip"
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["beir*"]
namespaces = false
[tool.ruff]
line-length = 119
fix = true
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP"]
# Skip `E731` (do not assign a lambda expression, use a def)
ignore = [
# LineTooLong
"E501",
# DoNotAssignLambda
"E731"
]
[tool.ruff.lint.per-file-ignores]
"examples/**" = [
# Ignore `E402` (import violations) in all examples
"E402",
# Ignore missing required imports
"I002"
]
[tool.ruff.lint.isort]
known-third-party = ["datasets"]
required-imports = ["from __future__ import annotations"]