Update generate.py
Browse files- generate.py +2 -2
generate.py
CHANGED
@@ -23,7 +23,7 @@ def generate_sequence(sequence_length: int, tokenizer, mdlm: Diffusion):
|
|
23 |
|
24 |
|
25 |
@hydra.main(version_base=None, config_path='configs', config_name='config')
|
26 |
-
def
|
27 |
path = "/workspace/sg666/MDpLM"
|
28 |
|
29 |
tokenizer = AutoTokenizer.from_pretrained("facebook/esm2_t30_150M_UR50D")
|
@@ -57,4 +57,4 @@ def mdlm_motif_benchmark(config):
|
|
57 |
|
58 |
|
59 |
if __name__ == "__main__":
|
60 |
-
|
|
|
23 |
|
24 |
|
25 |
@hydra.main(version_base=None, config_path='configs', config_name='config')
|
26 |
+
def generate_de_novo(config):
|
27 |
path = "/workspace/sg666/MDpLM"
|
28 |
|
29 |
tokenizer = AutoTokenizer.from_pretrained("facebook/esm2_t30_150M_UR50D")
|
|
|
57 |
|
58 |
|
59 |
if __name__ == "__main__":
|
60 |
+
generate_de_novo()
|