Download data/home/ulars/codes/shared/open-unlearning/setup.py from assassinlike/everything132: direct link, hf CLI and curl.
- Browser
- Download file 948 Bytes
-
https://huggingface.co/datasets/assassinlike/everything132/resolve/main/data/home/ulars/codes/shared/open-unlearning/setup.py
- Command line
-
hf download hf://datasets/assassinlike/everything132/data/home/ulars/codes/shared/open-unlearning/setup.py
-
curl -L -o setup.py https://huggingface.co/datasets/assassinlike/everything132/resolve/main/data/home/ulars/codes/shared/open-unlearning/setup.py
948 Bytes
| from setuptools import setup, find_packages | |
| # Read dependencies from requirements.txt | |
| with open("requirements.txt") as f: | |
| requirements = f.read().splitlines() | |
| setup( | |
| name="open-unlearning", | |
| version="0.1.0", | |
| author="Vineeth Dorna, Anmol Mekala", | |
| author_email="vineethdorna@gmail.com, m.anmolreddy@gmail.com", | |
| description="A library for machine unlearning in LLMs.", | |
| long_description=open("README.md").read(), | |
| long_description_content_type="text/markdown", | |
| url="https://github.com/locuslab/open-unlearning", | |
| license="MIT", | |
| packages=find_packages(), | |
| install_requires=requirements, # Uses requirements.txt | |
| extras_require={ | |
| "lm-eval": [ | |
| "lm-eval==0.4.11", | |
| ], # Install using `pip install ".[lm-eval]"` | |
| "dev": [ | |
| "pre-commit==4.0.1", | |
| "ruff==0.6.9", | |
| ], # Install using `pip install ".[dev]"` | |
| }, | |
| python_requires=">=3.11", | |
| ) | |