struct

ConstructionKit::ModelSummary

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(total_params : Int64, stream_dim : Int32, seq_len : Int32, n_experts : Int32, router : String, router_params : Int64, experts : Array(ConstructionKit::ExpertInfo), vocab_size : Int32, data_file : String)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

data_file
Source
data_file=(data_file : String)
Source
experts
Source
experts=(experts : Array(ExpertInfo))
Source
n_experts
Source
n_experts=(n_experts : Int32)
Source
router
Source
router=(router : String)
Source
router_params
Source
router_params=(router_params : Int64)
Source
seq_len
Source
seq_len=(seq_len : Int32)
Source
stream_dim
Source
stream_dim=(stream_dim : Int32)
Source
total_params
Source
total_params=(total_params : Int64)
Source
vocab_size
Source
vocab_size=(vocab_size : Int32)
Source