Upload .\pyproject.toml with huggingface_hub
Browse files- .//pyproject.toml +54 -0
.//pyproject.toml
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[build-system]
|
| 2 |
+
requires = ["setuptools>=68.0", "wheel"]
|
| 3 |
+
build-backend = "setuptools.build_meta"
|
| 4 |
+
|
| 5 |
+
[project]
|
| 6 |
+
name = "bwenge-ai"
|
| 7 |
+
version = "0.1.0"
|
| 8 |
+
description = "BwengeAi - Rwandan AI that knows Kinyarwanda"
|
| 9 |
+
readme = "README.md"
|
| 10 |
+
license = {text = "MIT"}
|
| 11 |
+
requires-python = ">=3.10"
|
| 12 |
+
dependencies = [
|
| 13 |
+
"torch>=2.1.0",
|
| 14 |
+
"transformers>=4.36.0",
|
| 15 |
+
"datasets>=2.16.0",
|
| 16 |
+
"accelerate>=0.25.0",
|
| 17 |
+
"peft>=0.7.0",
|
| 18 |
+
"bitsandbytes>=0.41.0",
|
| 19 |
+
"trl>=0.7.0",
|
| 20 |
+
"huggingface-hub>=0.20.0",
|
| 21 |
+
"sentencepiece>=0.1.99",
|
| 22 |
+
"tokenizers>=0.15.0",
|
| 23 |
+
"safetensors>=0.4.0",
|
| 24 |
+
"beautifulsoup4>=4.12.0",
|
| 25 |
+
"requests>=2.31.0",
|
| 26 |
+
"lxml>=4.9.0",
|
| 27 |
+
"tqdm>=4.66.0",
|
| 28 |
+
"pyyaml>=6.0",
|
| 29 |
+
"python-dotenv>=1.0.0",
|
| 30 |
+
"numpy>=1.24.0",
|
| 31 |
+
]
|
| 32 |
+
|
| 33 |
+
[project.optional-dependencies]
|
| 34 |
+
dev = [
|
| 35 |
+
"pytest>=7.4.0",
|
| 36 |
+
"pytest-cov>=4.1.0",
|
| 37 |
+
"ruff>=0.1.0",
|
| 38 |
+
"mypy>=1.7.0",
|
| 39 |
+
]
|
| 40 |
+
|
| 41 |
+
[tool.setuptools.packages.find]
|
| 42 |
+
where = ["src"]
|
| 43 |
+
|
| 44 |
+
[tool.ruff]
|
| 45 |
+
line-length = 100
|
| 46 |
+
target-version = "py310"
|
| 47 |
+
|
| 48 |
+
[tool.ruff.lint]
|
| 49 |
+
select = ["E", "F", "I", "N", "W", "UP"]
|
| 50 |
+
|
| 51 |
+
[tool.mypy]
|
| 52 |
+
python_version = "3.10"
|
| 53 |
+
warn_return_any = true
|
| 54 |
+
warn_unused_configs = true
|