We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e84137 commit f1157f7Copy full SHA for f1157f7
bionemo-recipes/models/esmc/export.py
@@ -66,7 +66,7 @@ def export_esmc_checkpoint(export_path: Path):
66
json.dump(config_json, f, indent=2, sort_keys=True)
67
68
# Copy modeling file for standalone loading
69
- shutil.copy("modeling_esmc_te.py", export_path / "modeling_esmc_te.py")
+ shutil.copy(Path(__file__).parent / "modeling_esmc_te.py", export_path / "modeling_esmc_te.py")
70
71
# Save tokenizer
72
from esm.tokenization import EsmSequenceTokenizer
0 commit comments