File size: 2,087 Bytes
acfee14
 
 
 
8cf2761
 
acfee14
8cf2761
e4d52e0
8cf2761
 
 
 
 
 
 
 
 
 
e4d52e0
8cf2761
 
acfee14
 
 
 
 
 
 
8cf2761
7ee775e
8cf2761
d5bfb91
 
8cf2761
6ccf9e8
cddf75e
acfee14
 
 
e3018af
 
8cf2761
 
6ccf9e8
8cf2761
 
 
 
 
acfee14
 
 
8cf2761
f835380
 
 
6ccf9e8
 
8f24676
 
6ccf9e8
acfee14
 
 
 
6ccf9e8
acfee14
6ed3c06
acfee14
 
091743c
6ed3c06
 
091743c
96e839c
44529bb
acfee14
 
 
 
bcdc739
 
 
 
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
82
83
84
85
86
[build-system]
requires = ["poetry-core>=1.5.0"]
build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "llmdataparser"
version = "1.0.0"
description = "A collection of parsers for LLM benchmark datasets like MMLU, MMLU-Pro, GSM8k, and more."
authors = ["Jeff Yang <jeff52415@gmail.com>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/jeff52415/LLMDataParser"
repository = "https://github.com/jeff52415/LLMDataParser"
keywords = ["LLM", "benchmark", "dataset", "parser", "NLP", "machine learning"]
classifiers = [
    "Programming Language :: Python :: 3",
    "License :: OSI Approved :: MIT License",
    "Operating System :: OS Independent",
    "Topic :: Scientific/Engineering :: Artificial Intelligence",
    "Intended Audience :: Developers"
]

packages = [
    { include = "llmdataparser" }
]

[tool.poetry.scripts]
start = "llmdataparser.app:main"

[tool.poetry.dependencies]
python = ">=3.10"
pandas = "^2.0.3"
datasets = "^3.2.0"
fsspec = "^2024.9.0"
typing-extensions = "^4.8.0"
ipywidgets = "^8.1.1"
gradio = "^4.19.2"
pyyaml = "^6.0.1"   # Add this for configuration handling
tqdm = "^4.66.1"    # Add this for progress bars
numpy = "^1.24.0"   # Add this for numerical operations
mkdocs = "^1.5.0"
mkdocs-material = "^9.5.0"  # Optional but recommended for better documentation

[tool.poetry.group.dev.dependencies]
pytest = "^7.0.0"
isort = "^5.12.0"
mypy = "^1.5.1"
pre-commit = "^3.4.0"
types-python-dateutil = "^2.8.19.14"
ipykernel = "^6.7.0"
coverage = "^7.4.1"
pytest-cov = "^4.1.0"
evaluate = "^0.4.0"

[tool.ruff]
line-length = 88

[tool.ruff.lint]
select = ["E", "F", "I"]
ignore = ["E501"]


[tool.isort]
profile = "black"
multi_line_output = 3
line_length = 88

[tool.mypy]
python_version = "3.12"
warn_return_any = true
warn_unused_configs = true
exclude = ["tests/.*"]
ignore_missing_imports = true
follow_imports = "silent"



[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = "-ra -q --cov=llmdataparser --cov-report=term-missing"

[tool.bandit]
exclude_dirs = ["tests"]
skips = ["B101"]