new examples folder
This commit is contained in:
parent
963e11277d
commit
227dbb1532
5 changed files with 109 additions and 80 deletions
10
examples/variants_example.py
Normal file
10
examples/variants_example.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
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:,}")
|
||||
Loading…
Add table
Add a link
Reference in a new issue