File size: 1,969 Bytes
f4931e8
 
 
 
 
 
 
 
 
378a466
f4931e8
 
 
 
 
 
 
 
 
 
378a466
f4931e8
 
 
 
 
 
9954b4c
f4931e8
 
 
 
 
 
 
 
 
 
 
c9c3030
 
 
 
 
 
9954b4c
f4931e8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
[build-system]
requires = ["setuptools>=75", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "buddi-asr"
version = "0.2.0"
description = "Privacy-aware child Arabic and English Whisper fine-tuning pipeline for Buddi"
readme = "README.md"
requires-python = ">=3.10,<3.14"
license = { text = "MIT" }
authors = [{ name = "Buddi contributors" }]
keywords = ["asr", "whisper", "arabic", "gulf-arabic", "children", "raspberry-pi"]
classifiers = [
  "Development Status :: 3 - Alpha",
  "License :: OSI Approved :: MIT License",
  "Programming Language :: Python :: 3",
  "Programming Language :: Python :: 3.10",
  "Programming Language :: Python :: 3.11",
  "Programming Language :: Python :: 3.12",
  "Programming Language :: Python :: 3.13",
  "Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = []

[project.optional-dependencies]
data = [
  "huggingface-hub>=0.27,<2",
  "soundfile>=0.12,<1",
]
train = [
  "accelerate>=1.2,<2",
  "librosa>=0.10.2,<1",
  "numpy>=1.26,<3",
  "peft>=0.14,<1",
  "safetensors>=0.4,<1",
  "soundfile>=0.12,<1",
  "tensorboard>=2.18,<3",
  "torch>=2.4,<3",
  # Not imported here. PEFT's LoRA dispatcher probes torchao for every module it
  # replaces, and its probe raises rather than returning False when an older one
  # is installed -- so an image shipping torchao 0.10 (Kaggle's) fails at
  # get_peft_model with an ImportError. Declaring the floor is the only way to
  # keep that path working.
  "torchao>=0.16",
  "transformers>=4.48,<6",
]
dev = [
  "ruff>=0.9,<1",
]

[project.scripts]
buddi-asr = "buddi_asr.cli:main"

[project.urls]
Documentation = "https://github.com/your-org/buddi-asr#readme"
Issues = "https://github.com/your-org/buddi-asr/issues"

[tool.setuptools]
package-dir = { "" = "src" }

[tool.setuptools.packages.find]
where = ["src"]

[tool.ruff]
line-length = 100
target-version = "py310"

[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM"]
ignore = ["E501"]