GPT-SW3 is a collection of large decoder-only pretrained transformer language models that were developed by AI Sweden in collaboration with RISE and the WASP WARA for Media and Language.

1.3b 6.7b 20b

672 5 months ago

a26148c78bab · 1.1GB
    Metadata
  • general.architecture
    gpt2
  • general.file_type
    17
  • general.name
    GPT-Sw3-1.3B-Instruct
  • general.quantization_version
    2
  • gpt2.attention.head_count
    32
  • gpt2.attention.layer_norm_epsilon
    1e-05
  • gpt2.block_count
    24
  • gpt2.context_length
    2048
  • gpt2.embedding_length
    2048
  • gpt2.feed_forward_length
    8192
  • tokenizer.ggml.bos_token_id
    2
  • tokenizer.ggml.eos_token_id
    3
  • tokenizer.ggml.model
    llama
  • tokenizer.ggml.padding_token_id
    0
  • tokenizer.ggml.scores
    [0, 0, 0, 0, 0, ...]
  • tokenizer.ggml.token_type
    [3, 2, 3, 3, 1, ...]
  • tokenizer.ggml.tokens
    [<pad>, <unk>, <s>, <|endoftext|>, <|javascript|>, ...]
  • Tensor
  • Name
    Type
    Shape
  • token_embd.weight
    Q5_K
    [2048, 64000]
  • blk.0
  • blk.0.attn_norm.bias
    F32
    [2048]
  • blk.0.attn_norm.weight
    F32
    [2048]
  • blk.0.attn_output.bias
    F32
    [2048]
  • blk.0.attn_output.weight
    Q5_K
    [2048, 2048]
  • blk.0.attn_qkv.bias
    F32
    [6144]
  • blk.0.attn_qkv.weight
    Q6_K
    [2048, 6144]
  • blk.0.ffn_down.bias
    F32
    [2048]
  • blk.0.ffn_down.weight
    Q6_K
    [8192, 2048]
  • blk.0.ffn_norm.bias
    F32
    [2048]
  • blk.0.ffn_norm.weight
    F32
    [2048]
  • blk.0.ffn_up.bias
    F32
    [8192]
  • blk.0.ffn_up.weight
    Q5_K
    [2048, 8192]
  • blk.1
  • blk.1.attn_norm.bias
    F32
    [2048]
  • blk.1.attn_norm.weight
    F32
    [2048]
  • blk.1.attn_output.bias
    F32
    [2048]
  • blk.1.attn_output.weight
    Q5_K
    [2048, 2048]
  • blk.1.attn_qkv.bias
    F32
    [6144]
  • blk.1.attn_qkv.weight
    Q6_K
    [2048, 6144]
  • blk.1.ffn_down.bias
    F32
    [2048]
  • blk.1.ffn_down.weight
    Q6_K
    [8192, 2048]
  • blk.1.ffn_norm.bias
    F32
    [2048]
  • blk.1.ffn_norm.weight
    F32
    [2048]
  • blk.1.ffn_up.bias
    F32
    [8192]
  • blk.1.ffn_up.weight
    Q5_K
    [2048, 8192]
  • blk.2
  • blk.2.attn_norm.bias
    F32
    [2048]
  • blk.2.attn_norm.weight
    F32
    [2048]
  • blk.2.attn_output.bias
    F32
    [2048]
  • blk.2.attn_output.weight
    Q5_K
    [2048, 2048]
  • blk.2.attn_qkv.bias
    F32
    [6144]
  • blk.2.attn_qkv.weight
    Q6_K
    [2048, 6144]
  • blk.2.ffn_down.bias
    F32
    [2048]
  • blk.2.ffn_down.weight
    Q5_K
    [8192, 2048]
  • blk.2.ffn_norm.bias
    F32
    [2048]
  • blk.2.ffn_norm.weight
    F32
    [2048]
  • blk.2.ffn_up.bias
    F32
    [8192]
  • blk.2.ffn_up.weight
    Q5_K
    [2048, 8192]
  • blk.3
  • blk.3.attn_norm.bias
    F32
    [2048]
  • blk.3.attn_norm.weight
    F32
    [2048]
  • blk.3.attn_output.bias
    F32
    [2048]
  • blk.3.attn_output.weight
    Q5_K
    [2048, 2048]
  • blk.3.attn_qkv.bias
    F32
    [6144]
  • blk.3.attn_qkv.weight
    Q6_K
    [2048, 6144]
  • blk.3.ffn_down.bias
    F32
    [2048]
  • blk.3.ffn_down.weight
    Q6_K
    [8192, 2048]
  • blk.3.ffn_norm.bias
    F32
    [2048]
  • blk.3.ffn_norm.weight
    F32
    [2048]
  • blk.3.ffn_up.bias
    F32
    [8192]
  • blk.3.ffn_up.weight
    Q5_K
    [2048, 8192]
  • blk.4
  • blk.4.attn_norm.bias
    F32
    [2048]
  • blk.4.attn_norm.weight
    F32
    [2048]
  • blk.4.attn_output.bias
    F32
    [2048]
  • blk.4.attn_output.weight
    Q5_K
    [2048, 2048]
  • blk.4.attn_qkv.bias
    F32
    [6144]
  • blk.4.attn_qkv.weight
    Q6_K
    [2048, 6144]
  • blk.4.ffn_down.bias
    F32
    [2048]
  • blk.4.ffn_down.weight
    Q5_K
    [8192, 2048]
  • blk.4.ffn_norm.bias
    F32
    [2048]
  • blk.4.ffn_norm.weight
    F32
    [2048]
  • blk.4.ffn_up.bias
    F32
    [8192]
  • blk.4.ffn_up.weight
    Q5_K
    [2048, 8192]
  • blk.5
  • blk.5.attn_norm.bias
    F32
    [2048]
  • blk.5.attn_norm.weight
    F32
    [2048]
  • blk.5.attn_output.bias
    F32
    [2048]
  • blk.5.attn_output.weight
    Q5_K
    [2048, 2048]
  • blk.5.attn_qkv.bias
    F32
    [6144]
  • blk.5.attn_qkv.weight
    Q6_K
    [2048, 6144]
  • blk.5.ffn_down.bias
    F32
    [2048]
  • blk.5.ffn_down.weight
    Q5_K
    [8192, 2048]
  • blk.5.ffn_norm.bias
    F32
    [2048]
  • blk.5.ffn_norm.weight
    F32
    [2048]
  • blk.5.ffn_up.bias
    F32
    [8192]
  • blk.5.ffn_up.weight
    Q5_K
    [2048, 8192]
  • blk.6
  • blk.6.attn_norm.bias
    F32
    [2048]
  • blk.6.attn_norm.weight
    F32
    [2048]
  • blk.6.attn_output.bias
    F32
    [2048]
  • blk.6.attn_output.weight
    Q5_K
    [2048, 2048]
  • blk.6.attn_qkv.bias
    F32
    [6144]
  • blk.6.attn_qkv.weight
    Q6_K
    [2048, 6144]
  • blk.6.ffn_down.bias
    F32
    [2048]
  • blk.6.ffn_down.weight
    Q6_K
    [8192, 2048]
  • blk.6.ffn_norm.bias
    F32
    [2048]
  • blk.6.ffn_norm.weight
    F32
    [2048]
  • blk.6.ffn_up.bias
    F32
    [8192]
  • blk.6.ffn_up.weight
    Q5_K
    [2048, 8192]
  • blk.7
  • blk.7.attn_norm.bias
    F32
    [2048]
  • blk.7.attn_norm.weight
    F32
    [2048]
  • blk.7.attn_output.bias
    F32
    [2048]
  • blk.7.attn_output.weight
    Q5_K
    [2048, 2048]
  • blk.7.attn_qkv.bias
    F32
    [6144]
  • blk.7.attn_qkv.weight
    Q6_K
    [2048, 6144]
  • blk.7.ffn_down.bias
    F32
    [2048]
  • blk.7.ffn_down.weight
    Q5_K
    [8192, 2048]
  • blk.7.ffn_norm.bias
    F32
    [2048]
  • blk.7.ffn_norm.weight
    F32
    [2048]
  • blk.7.ffn_up.bias
    F32
    [8192]
  • blk.7.ffn_up.weight
    Q5_K
    [2048, 8192]
  • blk.8
  • blk.8.attn_norm.bias
    F32
    [2048]
  • blk.8.attn_norm.weight
    F32
    [2048]
  • blk.8.attn_output.bias
    F32
    [2048]
  • blk.8.attn_output.weight
    Q5_K
    [2048, 2048]
  • blk.8.attn_qkv.bias
    F32
    [6144]
  • blk.8.attn_qkv.weight
    Q6_K
    [2048, 6144]
  • blk.8.ffn_down.bias
    F32
    [2048]
  • blk.8.ffn_down.weight
    Q5_K
    [8192, 2048]
  • blk.8.ffn_norm.bias
    F32
    [2048]
  • blk.8.ffn_norm.weight
    F32
    [2048]
  • blk.8.ffn_up.bias
    F32
    [8192]
  • blk.8.ffn_up.weight
    Q5_K
    [2048, 8192]
  • blk.9
  • blk.9.attn_norm.bias
    F32
    [2048]
  • blk.9.attn_norm.weight
    F32
    [2048]
  • blk.9.attn_output.bias
    F32
    [2048]
  • blk.9.attn_output.weight
    Q5_K
    [2048, 2048]
  • blk.9.attn_qkv.bias
    F32
    [6144]
  • blk.9.attn_qkv.weight
    Q6_K
    [2048, 6144]
  • blk.9.ffn_down.bias
    F32
    [2048]
  • blk.9.ffn_down.weight
    Q6_K
    [8192, 2048]
  • blk.9.ffn_norm.bias
    F32
    [2048]
  • blk.9.ffn_norm.weight
    F32
    [2048]
  • blk.9.ffn_up.bias
    F32
    [8192]
  • blk.9.ffn_up.weight
    Q5_K
    [2048, 8192]
  • blk.10
  • blk.10.attn_norm.bias
    F32
    [2048]
  • blk.10.attn_norm.weight
    F32
    [2048]
  • blk.10.attn_output.bias
    F32
    [2048]
  • blk.10.attn_output.weight
    Q5_K
    [2048, 2048]
  • blk.10.attn_qkv.bias
    F32
    [6144]
  • blk.10.attn_qkv.weight
    Q6_K
    [2048, 6144]
  • blk.10.ffn_down.bias
    F32
    [2048]
  • blk.10.ffn_down.weight
    Q6_K
    [8192, 2048]
  • blk.10.ffn_norm.bias
    F32
    [2048]
  • blk.10.ffn_norm.weight
    F32
    [2048]
  • blk.10.ffn_up.bias
    F32
    [8192]
  • blk.10.ffn_up.weight
    Q5_K
    [2048, 8192]
  • blk.11
  • blk.11.attn_norm.bias
    F32
    [2048]
  • blk.11.attn_norm.weight
    F32
    [2048]
  • blk.11.attn_output.bias
    F32
    [2048]
  • blk.11.attn_output.weight
    Q5_K
    [2048, 2048]
  • blk.11.attn_qkv.bias
    F32
    [6144]
  • blk.11.attn_qkv.weight
    Q6_K
    [2048, 6144]
  • blk.11.ffn_down.bias
    F32
    [2048]
  • blk.11.ffn_down.weight
    Q6_K
    [8192, 2048]
  • blk.11.ffn_norm.bias
    F32
    [2048]
  • blk.11.ffn_norm.weight
    F32
    [2048]
  • blk.11.ffn_up.bias
    F32
    [8192]
  • blk.11.ffn_up.weight
    Q5_K
    [2048, 8192]
  • blk.12
  • blk.12.attn_norm.bias
    F32
    [2048]
  • blk.12.attn_norm.weight
    F32
    [2048]
  • blk.12.attn_output.bias
    F32
    [2048]
  • blk.12.attn_output.weight
    Q5_K
    [2048, 2048]
  • blk.12.attn_qkv.bias
    F32
    [6144]
  • blk.12.attn_qkv.weight
    Q6_K
    [2048, 6144]
  • blk.12.ffn_down.bias
    F32
    [2048]
  • blk.12.ffn_down.weight
    Q6_K
    [8192, 2048]
  • blk.12.ffn_norm.bias
    F32
    [2048]
  • blk.12.ffn_norm.weight
    F32
    [2048]
  • blk.12.ffn_up.bias
    F32
    [8192]
  • blk.12.ffn_up.weight
    Q5_K
    [2048, 8192]
  • blk.13
  • blk.13.attn_norm.bias
    F32
    [2048]
  • blk.13.attn_norm.weight
    F32
    [2048]
  • blk.13.attn_output.bias
    F32
    [2048]
  • blk.13.attn_output.weight
    Q5_K
    [2048, 2048]
  • blk.13.attn_qkv.bias
    F32
    [6144]
  • blk.13.attn_qkv.weight
    Q6_K
    [2048, 6144]
  • blk.13.ffn_down.bias
    F32
    [2048]
  • blk.13.ffn_down.weight
    Q6_K
    [8192, 2048]
  • blk.13.ffn_norm.bias
    F32
    [2048]
  • blk.13.ffn_norm.weight
    F32
    [2048]
  • blk.13.ffn_up.bias
    F32
    [8192]
  • blk.13.ffn_up.weight
    Q5_K
    [2048, 8192]
  • blk.14
  • blk.14.attn_norm.bias
    F32
    [2048]
  • blk.14.attn_norm.weight
    F32
    [2048]
  • blk.14.attn_output.bias
    F32
    [2048]
  • blk.14.attn_output.weight
    Q5_K
    [2048, 2048]
  • blk.14.attn_qkv.bias
    F32
    [6144]
  • blk.14.attn_qkv.weight
    Q6_K
    [2048, 6144]
  • blk.14.ffn_down.bias
    F32
    [2048]
  • blk.14.ffn_down.weight
    Q5_K
    [8192, 2048]
  • blk.14.ffn_norm.bias
    F32
    [2048]
  • blk.14.ffn_norm.weight
    F32
    [2048]
  • blk.14.ffn_up.bias
    F32
    [8192]
  • blk.14.ffn_up.weight
    Q5_K
    [2048, 8192]
  • blk.15
  • blk.15.attn_norm.bias
    F32
    [2048]
  • blk.15.attn_norm.weight
    F32
    [2048]
  • blk.15.attn_output.bias
    F32
    [2048]
  • blk.15.attn_output.weight
    Q5_K
    [2048, 2048]
  • blk.15.attn_qkv.bias
    F32
    [6144]
  • blk.15.attn_qkv.weight
    Q6_K
    [2048, 6144]
  • blk.15.ffn_down.bias
    F32
    [2048]
  • blk.15.ffn_down.weight
    Q5_K
    [8192, 2048]
  • blk.15.ffn_norm.bias
    F32
    [2048]
  • blk.15.ffn_norm.weight
    F32
    [2048]
  • blk.15.ffn_up.bias
    F32
    [8192]
  • blk.15.ffn_up.weight
    Q5_K
    [2048, 8192]
  • blk.16
  • blk.16.attn_norm.bias
    F32
    [2048]
  • blk.16.attn_norm.weight
    F32
    [2048]
  • blk.16.attn_output.bias
    F32
    [2048]
  • blk.16.attn_output.weight
    Q5_K
    [2048, 2048]
  • blk.16.attn_qkv.bias
    F32
    [6144]
  • blk.16.attn_qkv.weight
    Q6_K
    [2048, 6144]
  • blk.16.ffn_down.bias
    F32
    [2048]
  • blk.16.ffn_down.weight
    Q6_K
    [8192, 2048]
  • blk.16.ffn_norm.bias
    F32
    [2048]
  • blk.16.ffn_norm.weight
    F32
    [2048]
  • blk.16.ffn_up.bias
    F32
    [8192]
  • blk.16.ffn_up.weight
    Q5_K
    [2048, 8192]
  • blk.17
  • blk.17.attn_norm.bias
    F32
    [2048]
  • blk.17.attn_norm.weight
    F32
    [2048]
  • blk.17.attn_output.bias
    F32
    [2048]
  • blk.17.attn_output.weight
    Q5_K
    [2048, 2048]
  • blk.17.attn_qkv.bias
    F32
    [6144]
  • blk.17.attn_qkv.weight
    Q6_K
    [2048, 6144]
  • blk.17.ffn_down.bias
    F32
    [2048]
  • blk.17.ffn_down.weight
    Q5_K
    [8192, 2048]
  • blk.17.ffn_norm.bias
    F32
    [2048]
  • blk.17.ffn_norm.weight
    F32
    [2048]
  • blk.17.ffn_up.bias
    F32
    [8192]
  • blk.17.ffn_up.weight
    Q5_K
    [2048, 8192]
  • blk.18
  • blk.18.attn_norm.bias
    F32
    [2048]
  • blk.18.attn_norm.weight
    F32
    [2048]
  • blk.18.attn_output.bias
    F32
    [2048]
  • blk.18.attn_output.weight
    Q5_K
    [2048, 2048]
  • blk.18.attn_qkv.bias
    F32
    [6144]
  • blk.18.attn_qkv.weight
    Q6_K
    [2048, 6144]
  • blk.18.ffn_down.bias
    F32
    [2048]
  • blk.18.ffn_down.weight
    Q5_K
    [8192, 2048]
  • blk.18.ffn_norm.bias
    F32
    [2048]
  • blk.18.ffn_norm.weight
    F32
    [2048]
  • blk.18.ffn_up.bias
    F32
    [8192]
  • blk.18.ffn_up.weight
    Q5_K
    [2048, 8192]
  • blk.19
  • blk.19.attn_norm.bias
    F32
    [2048]
  • blk.19.attn_norm.weight
    F32
    [2048]
  • blk.19.attn_output.bias
    F32
    [2048]
  • blk.19.attn_output.weight
    Q5_K
    [2048, 2048]
  • blk.19.attn_qkv.bias
    F32
    [6144]
  • blk.19.attn_qkv.weight
    Q6_K
    [2048, 6144]
  • blk.19.ffn_down.bias
    F32
    [2048]
  • blk.19.ffn_down.weight
    Q6_K
    [8192, 2048]
  • blk.19.ffn_norm.bias
    F32
    [2048]
  • blk.19.ffn_norm.weight
    F32
    [2048]
  • blk.19.ffn_up.bias
    F32
    [8192]
  • blk.19.ffn_up.weight
    Q5_K
    [2048, 8192]
  • blk.20
  • blk.20.attn_norm.bias
    F32
    [2048]
  • blk.20.attn_norm.weight
    F32
    [2048]
  • blk.20.attn_output.bias
    F32
    [2048]
  • blk.20.attn_output.weight
    Q5_K
    [2048, 2048]
  • blk.20.attn_qkv.bias
    F32
    [6144]
  • blk.20.attn_qkv.weight
    Q6_K
    [2048, 6144]
  • blk.20.ffn_down.bias
    F32
    [2048]
  • blk.20.ffn_down.weight
    Q5_K
    [8192, 2048]
  • blk.20.ffn_norm.bias
    F32
    [2048]
  • blk.20.ffn_norm.weight
    F32
    [2048]
  • blk.20.ffn_up.bias
    F32
    [8192]
  • blk.20.ffn_up.weight
    Q5_K
    [2048, 8192]
  • blk.21
  • blk.21.attn_norm.bias
    F32
    [2048]
  • blk.21.attn_norm.weight
    F32
    [2048]
  • blk.21.attn_output.bias
    F32
    [2048]
  • blk.21.attn_output.weight
    Q5_K
    [2048, 2048]
  • blk.21.attn_qkv.bias
    F32
    [6144]
  • blk.21.attn_qkv.weight
    Q6_K
    [2048, 6144]
  • blk.21.ffn_down.bias
    F32
    [2048]
  • blk.21.ffn_down.weight
    Q6_K
    [8192, 2048]
  • blk.21.ffn_norm.bias
    F32
    [2048]
  • blk.21.ffn_norm.weight
    F32
    [2048]
  • blk.21.ffn_up.bias
    F32
    [8192]
  • blk.21.ffn_up.weight
    Q5_K
    [2048, 8192]
  • blk.22
  • blk.22.attn_norm.bias
    F32
    [2048]
  • blk.22.attn_norm.weight
    F32
    [2048]
  • blk.22.attn_output.bias
    F32
    [2048]
  • blk.22.attn_output.weight
    Q5_K
    [2048, 2048]
  • blk.22.attn_qkv.bias
    F32
    [6144]
  • blk.22.attn_qkv.weight
    Q6_K
    [2048, 6144]
  • blk.22.ffn_down.bias
    F32
    [2048]
  • blk.22.ffn_down.weight
    Q5_K
    [8192, 2048]
  • blk.22.ffn_norm.bias
    F32
    [2048]
  • blk.22.ffn_norm.weight
    F32
    [2048]
  • blk.22.ffn_up.bias
    F32
    [8192]
  • blk.22.ffn_up.weight
    Q5_K
    [2048, 8192]
  • blk.23
  • blk.23.attn_norm.bias
    F32
    [2048]
  • blk.23.attn_norm.weight
    F32
    [2048]
  • blk.23.attn_output.bias
    F32
    [2048]
  • blk.23.attn_output.weight
    Q5_K
    [2048, 2048]
  • blk.23.attn_qkv.bias
    F32
    [6144]
  • blk.23.attn_qkv.weight
    Q6_K
    [2048, 6144]
  • blk.23.ffn_down.bias
    F32
    [2048]
  • blk.23.ffn_down.weight
    Q5_K
    [8192, 2048]
  • blk.23.ffn_norm.bias
    F32
    [2048]
  • blk.23.ffn_norm.weight
    F32
    [2048]
  • blk.23.ffn_up.bias
    F32
    [8192]
  • blk.23.ffn_up.weight
    Q5_K
    [2048, 8192]
  • output.weight
    Q6_K
    [2048, 64000]
  • output_norm.bias
    F32
    [2048]
  • position_embd.weight
    Q5_K
    [2048, 2048]
  • output_norm.weight
    F32
    [2048]