mirror of
https://github.com/mii443/tokenizers.git
synced 2025-08-31 12:39:21 +00:00
Updating python formatting. (#1079)
* Updating python formatting. * Forgot gh action. * Skipping isort to prevent circular imports. * Updating stub. * Removing `isort` (it contradicts `stub.py`). * Fixing weird stub black/isort disagreeement.
This commit is contained in:
@ -3,6 +3,7 @@ import glob
|
||||
|
||||
from tokenizers import BertWordPieceTokenizer
|
||||
|
||||
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument(
|
||||
"--files",
|
||||
@ -19,9 +20,7 @@ parser.add_argument(
|
||||
type=str,
|
||||
help="Path to the output directory, where the files will be saved",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--name", default="bert-wordpiece", type=str, help="The name of the output vocab files"
|
||||
)
|
||||
parser.add_argument("--name", default="bert-wordpiece", type=str, help="The name of the output vocab files")
|
||||
args = parser.parse_args()
|
||||
|
||||
files = glob.glob(args.files)
|
||||
|
Reference in New Issue
Block a user