Download slm/utils/__init__.py from Amitkumar001/Law_Slm: direct link, hf CLI and curl.
- Browser
- Download file 276 Bytes
-
https://huggingface.co/Amitkumar001/Law_Slm/resolve/main/slm/utils/__init__.py
- Command line
-
hf download hf://Amitkumar001/Law_Slm/slm/utils/__init__.py
-
curl -L -o __init__.py https://huggingface.co/Amitkumar001/Law_Slm/resolve/main/slm/utils/__init__.py
276 Bytes
| from slm.utils.logger import get_logger | |
| from slm.utils.utils import set_seed, get_device, count_parameters, format_number, get_memory_stats | |
| __all__ = [ | |
| "get_logger", | |
| "set_seed", | |
| "get_device", | |
| "count_parameters", | |
| "format_number", | |
| "get_memory_stats", | |
| ] | |