-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
32 lines (28 loc) · 1.15 KB
/
setup.py
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
import pathlib
from setuptools import setup, find_packages
# Get the long description from the README file
readme_path = pathlib.Path(__file__).parent.resolve() / "README.md"
long_description = readme_path.read_text(encoding="utf-8")
setup(
name="torch-imle",
version="1.0.0",
description="Implicit MLE: Backpropagating Through Discrete Exponential Family Distributions",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/uclnlp/torch-imle",
author="UCL Natural Language Processing",
classifiers=[
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
],
keywords="torch, deep learning, machine learning, gradient estimation",
packages=find_packages(),
python_requires=">=3.9, <4",
install_requires=["torch"],
project_urls={
"Bug Reports": "https://github.com/uclnlp/torch-imle/issues",
"Source": "https://github.com/uclnlp/torch-imle",
"Paper": "https://arxiv.org/abs/2106.01798",
},
)