-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
77 lines (69 loc) · 1.82 KB
/
pyproject.toml
File metadata and controls
77 lines (69 loc) · 1.82 KB
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
73
74
75
76
77
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "finllm-sentiment"
version = "0.1.0"
description = "Fine-tuning LLMs for Financial Sentiment Analysis with LoRA/QLoRA"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.9"
authors = [
{name = "Akram Boudouaour", email = "boudouaouraccram@gmail.com"}
]
keywords = ["llm", "fine-tuning", "lora", "finance", "sentiment", "nlp", "transformers"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"torch>=2.0.0",
"transformers>=4.36.0",
"datasets>=2.14.0",
"accelerate>=0.25.0",
"peft>=0.7.0",
"bitsandbytes>=0.41.0",
"trl>=0.7.0",
"scikit-learn>=1.3.0",
"pandas>=2.0.0",
"pyyaml>=6.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4.0",
"pytest-cov>=4.1.0",
"black>=23.0.0",
"ruff>=0.1.0",
]
tracking = [
"wandb>=0.16.0",
]
serve = [
"fastapi>=0.109.0",
"uvicorn>=0.27.0",
"streamlit>=1.28.0",
]
[project.urls]
Homepage = "https://github.com/Accrame/finllm-sentiment"
Repository = "https://github.com/Accrame/finllm-sentiment"
[tool.setuptools.packages.find]
where = ["."]
include = ["src*"]
[tool.black]
line-length = 100
target-version = ["py39", "py310", "py311"]
[tool.ruff]
line-length = 100
select = ["E", "F", "I", "N", "W", "UP"]
ignore = ["E501"]
target-version = "py39"
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = "-v --tb=short"