Download examples/variants_example.py from Jessedbrown/OpenMythos: direct link, hf CLI and curl.
- Browser
- Download file 186 Bytes
-
https://huggingface.co/Jessedbrown/OpenMythos/resolve/main/examples/variants_example.py
- Command line
-
hf download hf://Jessedbrown/OpenMythos/examples/variants_example.py
-
curl -L -o variants_example.py https://huggingface.co/Jessedbrown/OpenMythos/resolve/main/examples/variants_example.py
186 Bytes
| from open_mythos import ( | |
| mythos_1b, | |
| OpenMythos, | |
| ) | |
| cfg = mythos_1b() | |
| model = OpenMythos(cfg) | |
| total = sum(p.numel() for p in model.parameters()) | |
| print(f"Parameters: {total:,}") | |