Created
March 29, 2023 20:37
-
-
Save fauxneticien/31607e46ebba3e68d57c83a18478351f to your computer and use it in GitHub Desktop.
Create mock arguments for future Python script
This file contains hidden or 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
# Mock Args class, to be replaced with argparse or equivalent later | |
class Args: | |
def __init__(self, **attrs): | |
self.__dict__.update(attrs) | |
args = Args(**{ | |
"input_basepath" : "/home/nay/git-repos/w2v2-10min-exps/data/MASS-1h", | |
"train_tsv" : "train1h.tsv", | |
"valid_tsv" : "dev.tsv", | |
"output_basepath" : "/home/nay/librispeech-1h-fairseq/manifest-MASS-1h" | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment