初始化项目,由ModelHub XC社区提供模型

Model: Italianhype/Blum-Finance-4B
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-08-25 18:44:18 +08:00
commit 452e39348e
33 changed files with 154690 additions and 0 deletions

40
pyproject.toml Normal file
View File

@@ -0,0 +1,40 @@
[build-system]
requires = ["hatchling>=1.27"]
build-backend = "hatchling.build"
[project]
name = "blum-finance"
version = "0.2.0"
description = "Structured local inference and opt-in contribution tools for BLUM Finance."
requires-python = ">=3.11"
license = { text = "Apache-2.0" }
dependencies = [
"pydantic>=2.10,<3",
]
[project.optional-dependencies]
inference = [
"accelerate>=1.2",
"torch>=2.4",
"transformers>=4.51",
]
mlx = [
"mlx-lm>=0.31,<0.32",
]
hub = [
"huggingface-hub>=0.30",
]
release = [
"huggingface-hub>=0.30",
"jinja2>=3.1",
]
test = [
"pytest>=8.3",
]
[project.scripts]
blum-contribute = "blum_finance.contributions:main"
blum-memory-add = "blum_finance.memory:main"
[tool.hatch.build.targets.wheel]
packages = ["blum_finance"]