ridvangndoan commited on
Commit
f6c5f26
·
verified ·
1 Parent(s): fba23bd

Add example.py

Browse files
Files changed (1) hide show
  1. example.py +8 -0
example.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+
2
+ import torch
3
+ from modeling_omegacode import HolographicMasterCodeTransformer
4
+
5
+ model = HolographicMasterCodeTransformer()
6
+ x = torch.randn(1, 8)
7
+ output = model(x, alpha=1/137.035)
8
+ print("Çıktı:", output)