Add setup.py
Browse files
setup.py
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from setuptools import setup, find_packages
|
| 2 |
+
|
| 3 |
+
setup(
|
| 4 |
+
name="unimodal-sith",
|
| 5 |
+
version="0.1.0",
|
| 6 |
+
description="UniSITH: Unimodal Semantic Inspection of Transformer Heads",
|
| 7 |
+
long_description=open("README.md").read(),
|
| 8 |
+
long_description_content_type="text/markdown",
|
| 9 |
+
author="Adapted from SITH (Vaquero et al., 2025)",
|
| 10 |
+
url="https://huggingface.co/lorenzovaquero/UniSITH",
|
| 11 |
+
packages=find_packages(),
|
| 12 |
+
python_requires=">=3.9",
|
| 13 |
+
install_requires=[
|
| 14 |
+
"torch>=2.0",
|
| 15 |
+
"transformers>=4.30",
|
| 16 |
+
"datasets>=2.0",
|
| 17 |
+
"scipy>=1.10",
|
| 18 |
+
"Pillow>=9.0",
|
| 19 |
+
"tqdm>=4.60",
|
| 20 |
+
"numpy>=1.24",
|
| 21 |
+
],
|
| 22 |
+
extras_require={
|
| 23 |
+
"clip": ["open-clip-torch>=2.20"],
|
| 24 |
+
},
|
| 25 |
+
classifiers=[
|
| 26 |
+
"Development Status :: 3 - Alpha",
|
| 27 |
+
"Intended Audience :: Science/Research",
|
| 28 |
+
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
| 29 |
+
"Programming Language :: Python :: 3",
|
| 30 |
+
],
|
| 31 |
+
)
|