-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
107 lines (98 loc) · 2.45 KB
/
pyproject.toml
File metadata and controls
107 lines (98 loc) · 2.45 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
[project]
name = "freshstack"
version = "0.0.6"
description = "A framework to generate realistic IR & RAG Benchmarks."
license = { text = "Apache License 2.0" }
readme = "README.md"
authors = [
{ name = "Nandan Thakur", email = "nandant@gmail.com" },
{ name = "Andrew Drozdov", email = "andrew.drozdov@databricks.com" },
{ name = "Omar Khattab", email = "omar.khattab@databricks.com" }
]
maintainers = [
{ name = "Nandan Thakur", email = "nandant@gmail.com" }
]
requires-python = ">=3.9"
keywords = [
"Benchmarking",
"Evaluation Framework",
"Information Retrieval",
"Retrieval-Augmented Generation",
"Transformer Networks",
"Large Language Models",
"PyTorch",
"RAG",
"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 = [
"pyndeval",
"pytrec-eval-terrier",
"datasets",
]
[project.optional-dependencies]
eval = [
"beir",
"pylate",
]
dev = [
"beir",
"pylate",
"lxml",
"beautifulsoup4",
"py7zr",
"pymupdf4llm",
"nbformat",
"nbconvert",
"pygments",
"tiktoken",
"gitpython",
"semchunk",
"tree-sitter",
"tree-sitter-language-pack"
]
[project.urls]
Homepage = "https://fresh-stack.github.io/"
Repository = "https://github.com/fresh-stack/freshstack"
Download = "https://github.com/fresh-stack/freshstack/archive/v0.0.5.zip"
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["freshstack*"]
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"]