SEC-cyBERT/python/pyproject.toml
2026-03-30 19:46:20 -04:00

30 lines
746 B
TOML

[project]
name = "sec-cybert-train"
version = "0.1.0"
description = "SEC-cyBERT training pipeline: DAPT, TAPT, fine-tuning, and evaluation"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"torch>=2.11",
"transformers",
"datasets",
"accelerate",
"pyyaml",
"nvidia-cusparselt-cu12>=0.8.1",
"nvidia-nvshmem-cu12>=3.6.5",
]
[project.optional-dependencies]
flash = ["flash-attn"]
decoder = ["unsloth"]
[project.scripts]
sec-cybert = "main:main"
[[tool.uv.index]]
url = "https://pypi.org/simple/"
default = true
[tool.uv.sources]
flash-attn = { url = "https://github.com/mjun0812/flash-attention-prebuild-wheels/releases/download/v0.9.4/flash_attn-2.6.3%2Bcu130torch2.11-cp313-cp313-linux_x86_64.whl" }