Karun Sharma
commited on
Upload setup.py with huggingface_hub
Browse files
setup.py
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright 2019 DeepMind Technologies Limited.
|
| 2 |
+
#
|
| 3 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 4 |
+
# you may not use this file except in compliance with the License.
|
| 5 |
+
# You may obtain a copy of the License at
|
| 6 |
+
#
|
| 7 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
| 8 |
+
#
|
| 9 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 10 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 11 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 12 |
+
# See the License for the specific language governing permissions and
|
| 13 |
+
# limitations under the License.
|
| 14 |
+
|
| 15 |
+
"""Module setuptools script."""
|
| 16 |
+
|
| 17 |
+
from __future__ import absolute_import
|
| 18 |
+
from __future__ import division
|
| 19 |
+
from __future__ import print_function
|
| 20 |
+
|
| 21 |
+
from setuptools import find_packages
|
| 22 |
+
from setuptools import setup
|
| 23 |
+
|
| 24 |
+
description = """A synthetic dataset of school-level mathematics questions.
|
| 25 |
+
|
| 26 |
+
This dataset code generates mathematical question and answer pairs, from a range
|
| 27 |
+
of question types (such as in arithmetic, algebra, probability, etc), at roughly
|
| 28 |
+
school-level difficulty. This is designed to test the mathematical learning and
|
| 29 |
+
reasoning skills of learning models.
|
| 30 |
+
|
| 31 |
+
Original paper: Analysing Mathematical Reasoning Abilities of Neural Models
|
| 32 |
+
(Saxton, Grefenstette, Hill, Kohli) (https://openreview.net/pdf?id=H1gR5iR5FX).
|
| 33 |
+
"""
|
| 34 |
+
|
| 35 |
+
setup(
|
| 36 |
+
name='mathematics_dataset',
|
| 37 |
+
version='1.0.1',
|
| 38 |
+
description='A synthetic dataset of school-level mathematics questions',
|
| 39 |
+
long_description=description,
|
| 40 |
+
author='DeepMind',
|
| 41 |
+
author_email='saxton@google.com',
|
| 42 |
+
license='Apache License, Version 2.0',
|
| 43 |
+
keywords='mathematics dataset',
|
| 44 |
+
url='https://github.com/deepmind/mathematics_dataset',
|
| 45 |
+
packages=find_packages(),
|
| 46 |
+
install_requires=[
|
| 47 |
+
'absl-py>=0.1.0',
|
| 48 |
+
'numpy>=1.10',
|
| 49 |
+
'six',
|
| 50 |
+
'sympy>=1.2',
|
| 51 |
+
],
|
| 52 |
+
classifiers=[
|
| 53 |
+
'Development Status :: 4 - Beta',
|
| 54 |
+
'Environment :: Console',
|
| 55 |
+
'Intended Audience :: Developers',
|
| 56 |
+
'Intended Audience :: Science/Research',
|
| 57 |
+
'License :: OSI Approved :: Apache Software License',
|
| 58 |
+
'Operating System :: POSIX :: Linux',
|
| 59 |
+
'Programming Language :: Python :: 2.7',
|
| 60 |
+
'Programming Language :: Python :: 3.4',
|
| 61 |
+
'Programming Language :: Python :: 3.5',
|
| 62 |
+
'Programming Language :: Python :: 3.6',
|
| 63 |
+
'Programming Language :: Python :: 3.7',
|
| 64 |
+
'Topic :: Scientific/Engineering :: Artificial Intelligence',
|
| 65 |
+
],
|
| 66 |
+
)
|