File size: 2,778 Bytes
986adc1
 
aee3c00
986adc1
 
 
aee3c00
 
 
 
 
 
986adc1
 
 
 
 
 
5574116
986adc1
 
0a5be58
986adc1
 
 
aee3c00
 
 
 
 
 
 
 
 
297e1aa
986adc1
 
 
30500c8
aee3c00
 
986adc1
 
6ab904d
986adc1
ee037e9
 
 
 
 
 
 
 
 
 
aee3c00
ee037e9
 
986adc1
 
1c5e0d0
986adc1
6ab904d
295f44c
 
 
eca534f
aee3c00
986adc1
 
aee3c00
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
87
88
89
90
91
92
93
94
95
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools"]

[project]
authors = [
  {name = "Hasan Iqbal", email = "[email protected]"},
  {name = "Yuxia Wang", email = "[email protected]"},
  {name = "Minghan Wang", email = "[email protected]"},
  {name = "Georgi Georgiev", email = "[email protected]"},
  {name = "Jiahui Geng", email = "[email protected]"},
  {name = "Preslav Nakov", email = "[email protected]"},
]
classifiers = [
  "Development Status :: 3 - Alpha",
  "Intended Audience :: Developers",
  "Intended Audience :: Education",
  "Intended Audience :: Science/Research",
  "License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
  "Operating System :: OS Independent",
  "Programming Language :: Python :: 3",
  "Programming Language :: Python :: 3.10",
  "Programming Language :: Python :: 3.11",
  "Topic :: Scientific/Engineering :: Artificial Intelligence",
]
description = "An Open-source Factuality Evaluation Demo for LLMs"
keywords = ["NLP", "deep learning", "transformer", "pytorch", "factuality evaluation"]
license = {file = "LICENSE"}
maintainers = [
  {name = "Hasan Iqbal", email = "[email protected]"},
]
name = "openfactcheck"
readme = "README.md"
requires-python = ">=3.10"
version = "0.3.10rc3"

[project.urls]
"Bug Tracker" = "https://github.com/hasaniqbal777/openfactcheck/issues"
"Documentation" = "https://openfactcheck.readthedocs.io"
"Homepage" = "https://github.com/hasaniqbal777/openfactcheck"
"Repository" = "https://github.com/hasaniqbal777/openfactcheck"

[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}

[project.optional-dependencies]
docs = [
  "sphinx",
  "sphinx-design",
  "sphinx-favicon",
  "sphinx-autobuild",
  "sphinx-copybutton",
  "sphinxext-rediraffe",
  "sphinx-togglebutton",
  "pydata-sphinx-theme",
  "myst-parser",
]

[tool.setuptools.package-data]
openfactcheck = [
  "data/*.jsonl",
  "templates/solver_configs/*.yaml",
  "templates/configs/*.json",
  "templates/factchecker/*.jsonl",
  "templates/factchecker/*.csv",
  "templates/factchecker/**/*.jsonl",
  "templates/llm/*.csv",
  "templates/report/*.tex",
]

[tool.ruff]
line-length = 119

[tool.ruff.format]
# Like Black, use double quotes for strings.
quote-style = "double"

# Like Black, indent with spaces, rather than tabs.
indent-style = "space"

# Like Black, respect magic trailing commas.
skip-magic-trailing-comma = false

# Like Black, automatically detect the appropriate line ending.
line-ending = "auto"

[tool.ruff.lint]
# Never enforce `C901` (function complexity violations).
# Never enforce `E501` (line length violations).
ignore = ["C901", "E501"]

[tool.ruff.lint.isort]
known-first-party = ["openfactcheck"]
lines-after-imports = 2