-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
38 lines (37 loc) · 929 Bytes
/
Copy pathsetup.py
File metadata and controls
38 lines (37 loc) · 929 Bytes
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
from setuptools import setup, find_packages
setup(
name="bert",
version="1.0.0",
url="https://github.com/anenbergb/BERT-from-scratch",
author="Bryan Anenberg",
author_email="anenbergb@gmail.com",
description="A fully from scratch implementation of BERT language model",
python_requires=">=3.10",
packages=find_packages(),
install_requires=[
"numpy",
"tensorboard",
"loguru",
"matplotlib",
"tqdm",
"types-tqdm",
"tabulate",
"datasets",
"transformers",
"accelerate",
],
extras_require={
"torch": [
"torch",
"torchvision",
],
"notebook": [
"jupyter",
"itkwidgets",
"jupyter_contrib_nbextensions",
"plotly",
"seaborn",
],
"dev": ["black", "mypy", "flake8", "isort", "ipdb"],
},
)