mirror of
https://github.com/mii443/tokenizers.git
synced 2025-08-24 00:59:19 +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:
@ -4,6 +4,7 @@ from os.path import join
|
||||
|
||||
from tokenizers import ByteLevelBPETokenizer
|
||||
|
||||
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument(
|
||||
"--files",
|
||||
@ -20,9 +21,7 @@ parser.add_argument(
|
||||
type=str,
|
||||
help="Path to the output directory, where the files will be saved",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--name", default="bpe-bytelevel", type=str, help="The name of the output vocab files"
|
||||
)
|
||||
parser.add_argument("--name", default="bpe-bytelevel", 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