-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
44 lines (38 loc) · 1.12 KB
/
Copy pathpyproject.toml
File metadata and controls
44 lines (38 loc) · 1.12 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
[project]
name = "kai-tr-embedding-eval"
version = "0.1.0"
description = "Türkçe RAG için embedding modeli karşılaştırma harness'i (bge-m3 / Qwen3 / fastembed baseline)"
readme = "README.md"
requires-python = ">=3.12"
license = { text = "MIT" }
authors = [{ name = "Furkan Say" }]
dependencies = [
"sentence-transformers>=3.0",
"transformers>=4.51",
"torch>=2.2",
"fastembed>=0.4",
"numpy>=1.26",
"pypdf>=4.0",
]
[dependency-groups]
dev = [
"pytest>=8.0",
"ruff>=0.6",
]
[tool.uv]
# Bu repo bir kütüphane değil; sadece bir harness. Paket olarak kurulmasına
# gerek yok — `uv run python -m eval ...` cwd'den çalışır.
package = false
# torch: Linux'ta (CI) varsayılan PyPI tekerleği CUDA içerir (~2GB+). CI CPU
# olduğu için CPU index'ten çekiyoruz. Windows/Mac'te PyPI zaten CPU verir.
[[tool.uv.index]]
name = "pytorch-cpu"
url = "https://download.pytorch.org/whl/cpu"
explicit = true
[tool.uv.sources]
torch = [{ index = "pytorch-cpu", marker = "sys_platform == 'linux'" }]
[tool.ruff]
target-version = "py312"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]