-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added logger, save model only at last epoch, compatible with latest t…
…ransformers + pytorch lightning
- Loading branch information
Shivanandroy
committed
Feb 15, 2022
1 parent
94ad898
commit cb4d892
Showing
4 changed files
with
90 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
numpy | ||
pandas | ||
sentencepiece | ||
torch>=1.7.0,!=1.8.0 | ||
transformers==4.10.0 | ||
pytorch-lightning==1.4.5 | ||
transformers==4.16.2 | ||
pytorch-lightning==1.5.10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
|
||
setuptools.setup( | ||
name="simplet5", | ||
version="0.1.3", | ||
version="0.1.4", | ||
license="apache-2.0", | ||
author="Shivanand Roy", | ||
author_email="[email protected]", | ||
|
@@ -39,12 +39,12 @@ | |
packages=setuptools.find_packages(), | ||
python_requires=">=3.5", | ||
install_requires=[ | ||
"numpy", | ||
"pandas", | ||
"sentencepiece", | ||
"torch>=1.7.0,!=1.8.0", # excludes torch v1.8.0 | ||
"transformers==4.10.0", | ||
"pytorch-lightning==1.4.5", | ||
"tqdm" | ||
# "fastt5==0.0.7", | ||
"transformers==4.16.2", | ||
"pytorch-lightning==1.5.10", | ||
], | ||
classifiers=[ | ||
"Intended Audience :: Developers", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters