-
Notifications
You must be signed in to change notification settings - Fork 177
/
pyproject.toml
81 lines (74 loc) · 1.49 KB
/
pyproject.toml
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
78
79
80
81
[build-system]
requires = [
"hatchling",
]
build-backend = "hatchling.build"
[project]
name = "prompt2model"
authors = [
{name = "Vijay Viswanathan", email = "vijayv@andrew.cmu.edu"},
{name = "Chenyang Zhao", email = "zhaochen20@mails.tsinghua.edu.cn"},
]
description = "A library for distilling models from prompts."
readme = "README.md"
repository = "https://github.com/neulab/prompt2model"
requires-python = ">=3.9"
license = {file = "LICENSE"}
classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
dependencies = [
"transformers",
"datasets",
"pandas",
"fastapi",
"gradio==3.38.0",
"torch",
"pytest",
"openai",
"sentencepiece",
"bert_score",
"sacrebleu",
"evaluate",
"tevatron",
"faiss-cpu",
"mdtex2html",
"scikit-learn",
"retriv",
"tiktoken",
"aiolimiter",
"pyfiglet",
"termcolor",
"psutil",
"protobuf",
"nest-asyncio",
"litellm",
"peft"
]
dynamic = ["version"]
[project.optional-dependencies]
test = [
"pytest>=6.0.0",
]
dev = [
"pytest",
"pre-commit"
]
[tool.hatch.build]
include = [
"*.py",
]
exclude = [
"*_test.py",
"test_*.py",
]
only-packages = true
[tool.hatch.build.targets.wheel]
packages = ["prompt2model"]
[tool.hatch.version]
path = "prompt2model/version.py"
[tool.pytest.ini_options]
pythonpath = ["prompt2model/test_helpers"]
testpaths = ["prompt2model/tests"]