Created
July 2, 2020 19:54
-
-
Save piegu/09206484a171182b35a30b43745a85bf to your computer and use it in GitHub Desktop.
initialization of Byte-Level-BPE_universal_tokenizer_but.ipynb
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
from fastai2.text.all import * | |
from nlputils_fastai2 import * | |
# Get config of fastai2 paths | |
config = Config() | |
# setup new path_data and create the corresponding folder | |
lang = 'pt' | |
name = f'{lang}_wiki' | |
data_path = config['data_path'] | |
path_data = data_path/name | |
path_data.mkdir(exist_ok=True, parents=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment