Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/microsoft/BitNet
/ GenArgs
Class
GenArgs
gpu/generate.py:27–34 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
25
26
@dataclass
27
class
GenArgs:
28
gen_length: int = 32
29
gen_bsz: int = 1
30
prompt_length: int = 64
31
32
use_sampling: bool = False
33
temperature: float = 0.8
34
top_p: float = 0.9
35
36
37
class
FastGen:
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected