Spaces:
Running on Zero
Running on Zero
Upload pyproject.toml with huggingface_hub
Browse files- pyproject.toml +48 -0
pyproject.toml
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[project]
|
| 2 |
+
name = "oev"
|
| 3 |
+
version = "0.2.0"
|
| 4 |
+
description = "System One decision model: typed questions in, calibrated probability distributions out, one forward pass."
|
| 5 |
+
readme = "README.md"
|
| 6 |
+
license = { file = "LICENSE" }
|
| 7 |
+
authors = [{ name = "Divyanshu Dhruv", email = "71079602+divyanshudhruv@users.noreply.github.com" }]
|
| 8 |
+
keywords = ["decision-model", "calibration", "classification", "system-one", "deberta"]
|
| 9 |
+
requires-python = ">=3.10"
|
| 10 |
+
dependencies = ["torch>=2.2", "numpy>=1.26"]
|
| 11 |
+
classifiers = [
|
| 12 |
+
"License :: OSI Approved :: Apache Software License",
|
| 13 |
+
"Programming Language :: Python :: 3",
|
| 14 |
+
"Programming Language :: Python :: 3.10",
|
| 15 |
+
"Programming Language :: Python :: 3.11",
|
| 16 |
+
"Programming Language :: Python :: 3.12",
|
| 17 |
+
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
| 18 |
+
]
|
| 19 |
+
|
| 20 |
+
[project.optional-dependencies]
|
| 21 |
+
dev = ["pytest>=8"]
|
| 22 |
+
data = ["datasets>=2.14"]
|
| 23 |
+
backbone = ["transformers>=4.40", "sentencepiece", "protobuf"]
|
| 24 |
+
serve = ["fastapi>=0.110", "uvicorn>=0.29"]
|
| 25 |
+
app = [
|
| 26 |
+
"gradio>=6.0,<7",
|
| 27 |
+
"huggingface_hub>=0.23",
|
| 28 |
+
"transformers>=4.40",
|
| 29 |
+
"sentencepiece",
|
| 30 |
+
"protobuf",
|
| 31 |
+
]
|
| 32 |
+
|
| 33 |
+
[project.scripts]
|
| 34 |
+
oev-serve = "oev.serve:main"
|
| 35 |
+
|
| 36 |
+
[project.urls]
|
| 37 |
+
Homepage = "https://github.com/divyanshudhruv/oev"
|
| 38 |
+
Model = "https://huggingface.co/divyanshudhruv/oev-typed"
|
| 39 |
+
|
| 40 |
+
[build-system]
|
| 41 |
+
requires = ["setuptools>=68"]
|
| 42 |
+
build-backend = "setuptools.build_meta"
|
| 43 |
+
|
| 44 |
+
[tool.setuptools.packages.find]
|
| 45 |
+
include = ["oev*"]
|
| 46 |
+
|
| 47 |
+
[tool.pytest.ini_options]
|
| 48 |
+
testpaths = ["tests"]
|