-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·73 lines (72 loc) · 1.95 KB
/
setup.py
File metadata and controls
executable file
·73 lines (72 loc) · 1.95 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
from pathlib import Path
from setuptools import setup, find_packages
setup(
name='RadEval',
version='0.2.0',
author='Jean-Benoit Delbrouck, Justin Xu, Xi Zhang',
maintainer='Xi Zhang, JB Delbrouck',
url='https://github.com/jbdel/RadEval',
project_urls={
'Bug Reports': 'https://github.com/jbdel/RadEval/issues',
'Source': 'https://github.com/jbdel/RadEval',
'Documentation': 'https://github.com/jbdel/RadEval/blob/main/README.md',
},
license='MIT',
description='All-in-one metrics for evaluating AI-generated radiology text',
long_description=Path("README.md").read_text(encoding="utf-8"),
long_description_content_type="text/markdown",
classifiers=[
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3 :: Only',
],
keywords=[
'radiology',
'evaluation',
'natural language processing',
'radiology report',
'medical NLP',
'clinical text generation',
'LLM',
'bioNLP',
'chexbert',
'radgraph',
'medical AI'
],
python_requires='>=3.11',
install_requires=[
'torch>=2.0',
'torchvision',
'transformers>=4.40,<5',
'radgraph',
'rouge_score',
'bert-score>=0.3.13',
'scikit-learn>=1.8.0',
'numpy<2',
'medspacy',
'stanza',
'pillow',
'sentencepiece',
'datasets>=2.19',
'accelerate>=0.30',
'pandas',
'rich',
'pyyaml',
'appdirs',
'huggingface_hub',
],
extras_require={
'api': [
'google-genai',
'openai',
'tenacity',
],
},
packages=find_packages(),
include_package_data=True,
package_data={
"RadEval.metrics.SRRBert": ["*.json"],
},
zip_safe=False,
)