Download src/training/utils.py from Marcochris/ESM2-GraphResidual-v2: direct link, hf CLI and curl.
- Browser
- Download file 103 Bytes
-
https://huggingface.co/Marcochris/ESM2-GraphResidual-v2/resolve/main/src/training/utils.py
- Command line
-
hf download hf://Marcochris/ESM2-GraphResidual-v2/src/training/utils.py
-
curl -L -o utils.py https://huggingface.co/Marcochris/ESM2-GraphResidual-v2/resolve/main/src/training/utils.py
103 Bytes
| import random,numpy as np,torch | |
| def seed_all(s): random.seed(s);np.random.seed(s);torch.manual_seed(s) | |