File size: 1,627 Bytes
62b7c18
f3a9b45
62b7c18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
  "_name_or_path": "ccdv/lsg-bert-base-uncased-4096",
  "adaptive": true,
  "architectures": [
    "LSGBertForMaskedLM"
  ],
  "attention_probs_dropout_prob": 0.1,
  "auto_map": {
    "AutoConfig": "modeling_lsg_bert.LSGBertConfig",
    "AutoModel": "modeling_lsg_bert.LSGBertModel",
    "AutoModelForCausalLM": "modeling_lsg_bert.LSGBertLMHeadModel",
    "AutoModelForMaskedLM": "modeling_lsg_bert.LSGBertForMaskedLM",
    "AutoModelForMultipleChoice": "modeling_lsg_bert.LSGBertForMultipleChoice",
    "AutoModelForPreTraining": "modeling_lsg_bert.LSGBertForPreTraining",
    "AutoModelForQuestionAnswering": "modeling_lsg_bert.LSGBertForQuestionAnswering",
    "AutoModelForSequenceClassification": "modeling_lsg_bert.LSGBertForSequenceClassification",
    "AutoModelForTokenClassification": "modeling_lsg_bert.LSGBertForTokenClassification"
  },
  "base_model_prefix": "lsg",
  "block_size": 128,
  "classifier_dropout": null,
  "gradient_checkpointing": false,
  "hidden_act": "gelu",
  "hidden_dropout_prob": 0.1,
  "hidden_size": 768,
  "initializer_range": 0.02,
  "intermediate_size": 3072,
  "layer_norm_eps": 1e-12,
  "lsh_num_pre_rounds": 1,
  "mask_first_token": true,
  "max_position_embeddings": 4096,
  "model_type": "bert",
  "num_attention_heads": 12,
  "num_global_tokens": 1,
  "num_hidden_layers": 12,
  "pad_token_id": 0,
  "pool_with_global": true,
  "position_embedding_type": "absolute",
  "sparse_block_size": 128,
  "sparsity_factor": 2,
  "sparsity_type": "norm",
  "torch_dtype": "float32",
  "transformers_version": "4.21.0",
  "type_vocab_size": 2,
  "use_cache": true,
  "vocab_size": 30522
}