Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/kyegomez/BitNet
/ train.py
File
train.py
train.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
gzip
2
import
random
3
import
numpy
as
np
4
import
torch
Callers
nothing calls this directly
Calls
8
BitNetTransformer
Class · 0.90
AutoregressiveWrapper
Class · 0.90
TextSamplerDataset
Class · 0.85
cycle
Function · 0.85
decode_tokens
Function · 0.85
backward
Method · 0.80
step
Method · 0.45
generate
Method · 0.45
Tested by
no test coverage detected