# install huggingface_hub from the command line: # # pip install huggingface_hub # pip install datasets # # Log into huggingface hub # # huggingface-cli login # # This will ask you for an access token import datasets ##### rosetta_high_quality_models ####### dataset = datasets.load_dataset( "parquet", name = "rosetta_high_quality_models", data_dir = "./intermediate", data_files = {"train" : "rosetta_high_quality_models.parquet"}, cache_dir = "/scratch/maom_root/maom0/maom", split = "train", keep_in_memory = True) dataset.push_to_hub( repo_id = "RosettaCommons/MIP", config_name = "rosetta_high_quality_models", data_dir = "rosetta_high_quality_models/data") ##### rosetta_low_quality_models ####### dataset = datasets.load_dataset( "parquet", name = "rosetta_low_quality_models", data_dir = "./intermediate", data_files = {"train" : "rosetta_low_quality_models.parquet"}, cache_dir = "/scratch/maom_root/maom0/maom", split = "train", keep_in_memory = True) dataset.push_to_hub( repo_id = "RosettaCommons/MIP", config_name = "rosetta_low_quality_models", data_dir = "rosetta_low_quality_models/data") ##### dmpfold_high_quality_models ####### dataset = datasets.load_dataset( "parquet", name = "dmpfold_high_quality_models", data_dir = "./intermediate", data_files = {"train" : "dmpfold_high_quality_models.parquet"}, cache_dir = "/scratch/maom_root/maom0/maom", split = "train", keep_in_memory = True) dataset.push_to_hub( repo_id = "RosettaCommons/MIP", config_name = "dmpfold_high_quality_models", data_dir = "dmpfold_high_quality_models/data") ##### dmpfold_low_quality_models ####### dataset = datasets.load_dataset( "parquet", name = "dmpfold_low_quality_models", data_dir = "./intermediate", data_files = {"train" : "dmpfold_low_quality_models.parquet"}, cache_dir = "/scratch/maom_root/maom0/maom", split = "train", keep_in_memory = True) dataset.push_to_hub( repo_id = "RosettaCommons/MIP", config_name = "dmpfold_low_quality_models", data_dir = "dmpfold_low_quality_models/data") ########################## ## Function Predictions ## ########################## #### rosetta_high_quality_function_predictions dataset = datasets.load_dataset( "parquet", name = "rosetta_high_quality_function_predictions", data_dir = "./intermediate", data_files = {"train" : "rosetta_high_quality_function_predictions.parquet"}, cache_dir = "/scratch/maom_root/maom0/maom", split = "train", keep_in_memory = True) dataset.push_to_hub( repo_id = "RosettaCommons/MIP", config_name = "rosetta_high_quality_function_predictions", data_dir = "rosetta_high_quality_function_predictions/data") #### rosetta_low_quality_function_predictions dataset = datasets.load_dataset( "parquet", name = "rosetta_low_quality_function_predictions", data_dir = "./intermediate", data_files = {"train" : "rosetta_low_quality_function_predictions.parquet"}, cache_dir = "/scratch/maom_root/maom0/maom", split = "train", keep_in_memory = True) dataset.push_to_hub( repo_id = "RosettaCommons/MIP", config_name = "rosetta_low_quality_function_predictions", data_dir = "rosetta_low_quality_function_predictions/data") #### dmpfold_high_quality_function_predictions dataset = datasets.load_dataset( "parquet", name = "dmpfold_high_quality_function_predictions", data_dir = "./intermediate", data_files = {"train" : "dmpfold_high_quality_function_predictions.parquet"}, cache_dir = "/scratch/maom_root/maom0/maom", split = "train", keep_in_memory = True) dataset.push_to_hub( repo_id = "RosettaCommons/MIP", config_name = "dmpfold_high_quality_function_predictions", data_dir = "dmpfold_high_quality_function_predictions/data") #### dmpfold_low_quality_function_predictions dataset = datasets.load_dataset( "parquet", name = "dmpfold_low_quality_function_predictions", data_dir = "./intermediate", data_files = {"train" : "dmpfold_low_quality_function_predictions.parquet"}, cache_dir = "/scratch/maom_root/maom0/maom", split = "train", keep_in_memory = True) dataset.push_to_hub( repo_id = "RosettaCommons/MIP", config_name = "dmpfold_low_quality_function_predictions", data_dir = "dmpfold_low_quality_function_predictions/data")