GitHub
189K
Download
Models
Docs
Pricing
Sign in
Download
Models
Docs
Pricing
Sign in
sabanayagam97
/
tinygpt
:latest
35
Downloads
Updated
1 week ago
A 30M-parameter GPT trained from scratch on TinyStories on a MacBook M3 Pro. It continues children's stories and cannot chat or answer questions. Try: ollama run sabanayagam97/tinygpt "Once upon a time, a brave cat"
A 30M-parameter GPT trained from scratch on TinyStories on a MacBook M3 Pro. It continues children's stories and cannot chat or answer questions. Try: ollama run sabanayagam97/tinygpt "Once upon a time, a brave cat"
Cancel
tinygpt:latest
...
/
model
9992f1051df1 · 62MB
Metadata
general.architecture
gpt2
gpt2
general.file_type
F16
F16
gpt2.attention.head_count
6
6
gpt2.attention.layer_norm_epsilon
1e-05
1e-05
gpt2.block_count
6
6
gpt2.context_length
256
256
gpt2.embedding_length
384
384
gpt2.feed_forward_length
1536
1536
tokenizer.ggml.add_bos_token
false
false
tokenizer.ggml.add_eos_token
false
false
tokenizer.ggml.bos_token_id
50256
50256
tokenizer.ggml.eos_token_id
50256
50256
tokenizer.ggml.merges
[Ġ t, Ġ a, h e, i n, r e, ...]
[Ġ t, Ġ a, h e, i n, r e, ...]
tokenizer.ggml.model
gpt2
gpt2
tokenizer.ggml.pre
gpt-2
gpt-2
tokenizer.ggml.token_type
[1, 1, 1, 1, 1, ...]
[1, 1, 1, 1, 1, ...]
tokenizer.ggml.tokens
[!, ", #, $, %, ...]
[!, ", #, $, %, ...]
tokenizer.ggml.unknown_token_id
50256
50256
Tensor
Name
Type
Shape
token_embd.weight
F16
F16
[384, 50257]
blk.0
blk.0.attn_norm.bias
F32
F32
[384]
blk.0.attn_norm.weight
F32
F32
[384]
blk.0.attn_output.bias
F32
F32
[384]
blk.0.attn_output.weight
F16
F16
[384, 384]
blk.0.attn_qkv.bias
F32
F32
[1152]
blk.0.attn_qkv.weight
F16
F16
[384, 1152]
blk.0.ffn_down.bias
F32
F32
[384]
blk.0.ffn_down.weight
F16
F16
[1536, 384]
blk.0.ffn_norm.bias
F32
F32
[384]
blk.0.ffn_norm.weight
F32
F32
[384]
blk.0.ffn_up.bias
F32
F32
[1536]
blk.0.ffn_up.weight
F16
F16
[384, 1536]
blk.1
blk.1.attn_norm.bias
F32
F32
[384]
blk.1.attn_norm.weight
F32
F32
[384]
blk.1.attn_output.bias
F32
F32
[384]
blk.1.attn_output.weight
F16
F16
[384, 384]
blk.1.attn_qkv.bias
F32
F32
[1152]
blk.1.attn_qkv.weight
F16
F16
[384, 1152]
blk.1.ffn_down.bias
F32
F32
[384]
blk.1.ffn_down.weight
F16
F16
[1536, 384]
blk.1.ffn_norm.bias
F32
F32
[384]
blk.1.ffn_norm.weight
F32
F32
[384]
blk.1.ffn_up.bias
F32
F32
[1536]
blk.1.ffn_up.weight
F16
F16
[384, 1536]
blk.2
blk.2.attn_norm.bias
F32
F32
[384]
blk.2.attn_norm.weight
F32
F32
[384]
blk.2.attn_output.bias
F32
F32
[384]
blk.2.attn_output.weight
F16
F16
[384, 384]
blk.2.attn_qkv.bias
F32
F32
[1152]
blk.2.attn_qkv.weight
F16
F16
[384, 1152]
blk.2.ffn_down.bias
F32
F32
[384]
blk.2.ffn_down.weight
F16
F16
[1536, 384]
blk.2.ffn_norm.bias
F32
F32
[384]
blk.2.ffn_norm.weight
F32
F32
[384]
blk.2.ffn_up.bias
F32
F32
[1536]
blk.2.ffn_up.weight
F16
F16
[384, 1536]
blk.3
blk.3.attn_norm.bias
F32
F32
[384]
blk.3.attn_norm.weight
F32
F32
[384]
blk.3.attn_output.bias
F32
F32
[384]
blk.3.attn_output.weight
F16
F16
[384, 384]
blk.3.attn_qkv.bias
F32
F32
[1152]
blk.3.attn_qkv.weight
F16
F16
[384, 1152]
blk.3.ffn_down.bias
F32
F32
[384]
blk.3.ffn_down.weight
F16
F16
[1536, 384]
blk.3.ffn_norm.bias
F32
F32
[384]
blk.3.ffn_norm.weight
F32
F32
[384]
blk.3.ffn_up.bias
F32
F32
[1536]
blk.3.ffn_up.weight
F16
F16
[384, 1536]
blk.4
blk.4.attn_norm.bias
F32
F32
[384]
blk.4.attn_norm.weight
F32
F32
[384]
blk.4.attn_output.bias
F32
F32
[384]
blk.4.attn_output.weight
F16
F16
[384, 384]
blk.4.attn_qkv.bias
F32
F32
[1152]
blk.4.attn_qkv.weight
F16
F16
[384, 1152]
blk.4.ffn_down.bias
F32
F32
[384]
blk.4.ffn_down.weight
F16
F16
[1536, 384]
blk.4.ffn_norm.bias
F32
F32
[384]
blk.4.ffn_norm.weight
F32
F32
[384]
blk.4.ffn_up.bias
F32
F32
[1536]
blk.4.ffn_up.weight
F16
F16
[384, 1536]
blk.5
blk.5.attn_norm.bias
F32
F32
[384]
blk.5.attn_norm.weight
F32
F32
[384]
blk.5.attn_output.bias
F32
F32
[384]
blk.5.attn_output.weight
F16
F16
[384, 384]
blk.5.attn_qkv.bias
F32
F32
[1152]
blk.5.attn_qkv.weight
F16
F16
[384, 1152]
blk.5.ffn_down.bias
F32
F32
[384]
blk.5.ffn_down.weight
F16
F16
[1536, 384]
blk.5.ffn_norm.bias
F32
F32
[384]
blk.5.ffn_norm.weight
F32
F32
[384]
blk.5.ffn_up.bias
F32
F32
[1536]
blk.5.ffn_up.weight
F16
F16
[384, 1536]
output_norm.bias
F32
F32
[384]
position_embd.weight
F32
F32
[384, 256]
output_norm.weight
F32
F32
[384]