-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
42 lines (39 loc) · 1.45 KB
/
pyproject.toml
File metadata and controls
42 lines (39 loc) · 1.45 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
# reference: https://packaging.python.org/en/latest/guides/writing-pyproject-toml/
[project]
name = "flash-pref"
dynamic = ["version"]
authors = [
{name = "Jiahao Li", email = "liplus17@163.com"},
]
maintainers = [
{name = "Jiahao Li", email = "liplus17@163.com"},
]
description = "Accelerate LLM preference finetuning with a single line of code"
readme = "README.md"
requires-python = ">=3.7"
keywords = ["Prefix Sharing", "Direct Preference Optimization", "Reward Model", "Preference Tuning"]
license = {text = "MIT License"}
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"transformers<4.52.0,>=4.49.0",
]
[project.urls]
Homepage = "https://github.com/li-plus/flash-preference"
Repository = "https://github.com/li-plus/flash-preference.git"
# reference: https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html
[tool.setuptools.dynamic]
version = {attr = "flash_pref.__version__"}
# reference: https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#configuration-format
[tool.black]
line-length = 120
include = '\.py$'