-
Notifications
You must be signed in to change notification settings - Fork 822
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix:
normalizers
deserialization and other refactoring
- Loading branch information
Showing
5 changed files
with
91 additions
and
49 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
[project] | ||
name = 'tokenizers' | ||
requires-python = '>=3.7' | ||
version = '0.21.0' | ||
authors = [ | ||
{name = 'Nicolas Patry', email = '[email protected]'}, | ||
{name = 'Anthony Moi', email = '[email protected]'} | ||
{ name = 'Nicolas Patry', email = '[email protected]' }, | ||
{ name = 'Anthony Moi', email = '[email protected]' }, | ||
] | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
|
@@ -21,11 +22,7 @@ classifiers = [ | |
"Topic :: Scientific/Engineering :: Artificial Intelligence", | ||
] | ||
keywords = ["NLP", "tokenizer", "BPE", "transformer", "deep learning"] | ||
dynamic = [ | ||
'description', | ||
'license', | ||
'readme', | ||
] | ||
dynamic = ['description', 'license', 'readme'] | ||
dependencies = ["huggingface_hub>=0.16.4,<1.0"] | ||
|
||
[project.urls] | ||
|
@@ -57,16 +54,16 @@ target-version = ['py35'] | |
line-length = 119 | ||
target-version = "py311" | ||
lint.ignore = [ | ||
# a == None in tests vs is None. | ||
"E711", | ||
# a == False in tests vs is False. | ||
"E712", | ||
# try.. import except.. pattern without using the lib. | ||
"F401", | ||
# Raw type equality is required in asserts | ||
"E721", | ||
# Import order | ||
"E402", | ||
# Fixtures unused import | ||
"F811", | ||
# a == None in tests vs is None. | ||
"E711", | ||
# a == False in tests vs is False. | ||
"E712", | ||
# try.. import except.. pattern without using the lib. | ||
"F401", | ||
# Raw type equality is required in asserts | ||
"E721", | ||
# Import order | ||
"E402", | ||
# Fixtures unused import | ||
"F811", | ||
] |
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
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