Repository navigation
Expand file tree
/
Copy pathsetup.py
More file actions
49 lines (46 loc) · 1.47 KB
/
Copy pathsetup.py
File metadata and controls
49 lines (46 loc) · 1.47 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
"""
Setup configuration for Transformer project.
"""
from setuptools import setup, find_packages
with open("README.md", "r", encoding="utf-8") as f:
long_description = f.read()
setup(
name="transformer-from-scratch",
version="1.0.0",
author="AI Research Student",
description="Complete Transformer implementation from 'Attention is All You Need' paper",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/yourusername/transformers",
packages=find_packages(where="src"),
package_dir={"": "src"},
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
],
python_requires=">=3.9",
install_requires=[
"tensorflow>=2.16.0",
"numpy>=1.24.0",
"matplotlib>=3.5.0",
"seaborn>=0.12.0",
"tokenizers>=0.13.0",
"jupyter>=1.0.0",
],
extras_require={
"dev": [
"pytest>=7.0",
"black>=22.0",
"flake8>=4.0",
"isort>=5.0",
],
},
)