5 1 week ago

12M-parameter method-level code encoder for Android smali, ARM64 and x86-64. One shared 256-D space, obfuscation-invariant to class and method renaming and to compiler and optimisation variants. Trained on random Maven AARs and Debian packages.

embedding
7e8bb3f8fdb8 ยท 47MB
    Metadata
  • general.architecture
    bert
  • general.file_type
    F32
  • bert.attention.causal
    false
  • bert.attention.head_count
    4
  • bert.attention.layer_norm_epsilon
    1e-12
  • bert.block_count
    6
  • bert.context_length
    512
  • bert.embedding_length
    256
  • bert.feed_forward_length
    1024
  • bert.pooling_type
    Mean
  • tokenizer.ggml.add_bos_token
    false
  • tokenizer.ggml.add_eos_token
    false
  • tokenizer.ggml.cls_token_id
    2
  • tokenizer.ggml.merges
    [<pad> <pad>]
  • tokenizer.ggml.model
    bert
  • tokenizer.ggml.normalizer.lowercase
    false
  • tokenizer.ggml.padding_token_id
    0
  • tokenizer.ggml.pre
    bert
  • tokenizer.ggml.seperator_token_id
    3
  • tokenizer.ggml.token_type
    [3, 3, 3, 3, 3, ...]
  • tokenizer.ggml.token_type_count
    2
  • tokenizer.ggml.tokens
    [<pad>, <unk>, <cls>, <sep>, <mask>, ...]
  • tokenizer.ggml.unknown_token_id
    1
  • Tensor
  • token_embd.weight
    F32
    [256, 26256]
  • blk.0
  • blk.0.attn_k.bias
    F32
    [256]
  • blk.0.attn_k.weight
    F32
    [256, 256]
  • blk.0.attn_output.bias
    F32
    [256]
  • blk.0.attn_output.weight
    F32
    [256, 256]
  • blk.0.attn_output_norm.bias
    F32
    [256]
  • blk.0.attn_output_norm.weight
    F32
    [256]
  • blk.0.attn_q.bias
    F32
    [256]
  • blk.0.attn_q.weight
    F32
    [256, 256]
  • blk.0.attn_v.bias
    F32
    [256]
  • blk.0.attn_v.weight
    F32
    [256, 256]
  • blk.0.ffn_down.bias
    F32
    [256]
  • blk.0.ffn_down.weight
    F32
    [1024, 256]
  • blk.0.ffn_up.bias
    F32
    [1024]
  • blk.0.ffn_up.weight
    F32
    [256, 1024]
  • blk.0.layer_output_norm.bias
    F32
    [256]
  • blk.0.layer_output_norm.weight
    F32
    [256]
  • blk.1
  • blk.1.attn_k.bias
    F32
    [256]
  • blk.1.attn_k.weight
    F32
    [256, 256]
  • blk.1.attn_output.bias
    F32
    [256]
  • blk.1.attn_output.weight
    F32
    [256, 256]
  • blk.1.attn_output_norm.bias
    F32
    [256]
  • blk.1.attn_output_norm.weight
    F32
    [256]
  • blk.1.attn_q.bias
    F32
    [256]
  • blk.1.attn_q.weight
    F32
    [256, 256]
  • blk.1.attn_v.bias
    F32
    [256]
  • blk.1.attn_v.weight
    F32
    [256, 256]
  • blk.1.ffn_down.bias
    F32
    [256]
  • blk.1.ffn_down.weight
    F32
    [1024, 256]
  • blk.1.ffn_up.bias
    F32
    [1024]
  • blk.1.ffn_up.weight
    F32
    [256, 1024]
  • blk.1.layer_output_norm.bias
    F32
    [256]
  • blk.1.layer_output_norm.weight
    F32
    [256]
  • blk.2
  • blk.2.attn_k.bias
    F32
    [256]
  • blk.2.attn_k.weight
    F32
    [256, 256]
  • blk.2.attn_output.bias
    F32
    [256]
  • blk.2.attn_output.weight
    F32
    [256, 256]
  • blk.2.attn_output_norm.bias
    F32
    [256]
  • blk.2.attn_output_norm.weight
    F32
    [256]
  • blk.2.attn_q.bias
    F32
    [256]
  • blk.2.attn_q.weight
    F32
    [256, 256]
  • blk.2.attn_v.bias
    F32
    [256]
  • blk.2.attn_v.weight
    F32
    [256, 256]
  • blk.2.ffn_down.bias
    F32
    [256]
  • blk.2.ffn_down.weight
    F32
    [1024, 256]
  • blk.2.ffn_up.bias
    F32
    [1024]
  • blk.2.ffn_up.weight
    F32
    [256, 1024]
  • blk.2.layer_output_norm.bias
    F32
    [256]
  • blk.2.layer_output_norm.weight
    F32
    [256]
  • blk.3
  • blk.3.attn_k.bias
    F32
    [256]
  • blk.3.attn_k.weight
    F32
    [256, 256]
  • blk.3.attn_output.bias
    F32
    [256]
  • blk.3.attn_output.weight
    F32
    [256, 256]
  • blk.3.attn_output_norm.bias
    F32
    [256]
  • blk.3.attn_output_norm.weight
    F32
    [256]
  • blk.3.attn_q.bias
    F32
    [256]
  • blk.3.attn_q.weight
    F32
    [256, 256]
  • blk.3.attn_v.bias
    F32
    [256]
  • blk.3.attn_v.weight
    F32
    [256, 256]
  • blk.3.ffn_down.bias
    F32
    [256]
  • blk.3.ffn_down.weight
    F32
    [1024, 256]
  • blk.3.ffn_up.bias
    F32
    [1024]
  • blk.3.ffn_up.weight
    F32
    [256, 1024]
  • blk.3.layer_output_norm.bias
    F32
    [256]
  • blk.3.layer_output_norm.weight
    F32
    [256]
  • blk.4
  • blk.4.attn_k.bias
    F32
    [256]
  • blk.4.attn_k.weight
    F32
    [256, 256]
  • blk.4.attn_output.bias
    F32
    [256]
  • blk.4.attn_output.weight
    F32
    [256, 256]
  • blk.4.attn_output_norm.bias
    F32
    [256]
  • blk.4.attn_output_norm.weight
    F32
    [256]
  • blk.4.attn_q.bias
    F32
    [256]
  • blk.4.attn_q.weight
    F32
    [256, 256]
  • blk.4.attn_v.bias
    F32
    [256]
  • blk.4.attn_v.weight
    F32
    [256, 256]
  • blk.4.ffn_down.bias
    F32
    [256]
  • blk.4.ffn_down.weight
    F32
    [1024, 256]
  • blk.4.ffn_up.bias
    F32
    [1024]
  • blk.4.ffn_up.weight
    F32
    [256, 1024]
  • blk.4.layer_output_norm.bias
    F32
    [256]
  • blk.4.layer_output_norm.weight
    F32
    [256]
  • blk.5
  • blk.5.attn_k.bias
    F32
    [256]
  • blk.5.attn_k.weight
    F32
    [256, 256]
  • blk.5.attn_output.bias
    F32
    [256]
  • blk.5.attn_output.weight
    F32
    [256, 256]
  • blk.5.attn_output_norm.bias
    F32
    [256]
  • blk.5.attn_output_norm.weight
    F32
    [256]
  • blk.5.attn_q.bias
    F32
    [256]
  • blk.5.attn_q.weight
    F32
    [256, 256]
  • blk.5.attn_v.bias
    F32
    [256]
  • blk.5.attn_v.weight
    F32
    [256, 256]
  • blk.5.ffn_down.bias
    F32
    [256]
  • blk.5.ffn_down.weight
    F32
    [1024, 256]
  • blk.5.ffn_up.bias
    F32
    [1024]
  • blk.5.ffn_up.weight
    F32
    [256, 1024]
  • blk.5.layer_output_norm.bias
    F32
    [256]
  • blk.5.layer_output_norm.weight
    F32
    [256]
  • position_embd.weight
    F32
    [256, 512]
  • token_embd_norm.bias
    F32
    [256]
  • token_embd_norm.weight
    F32
    [256]
  • token_types.weight
    F32
    [256, 2]