ccdv's picture
add mask_first_token
adc1a36
raw
history blame
1.46 kB
{
"_name_or_path": "ccdv/lsg-distilbert-base-uncased-4096",
"activation": "gelu",
"adaptive": true,
"architectures": [
"LSGDistilBertForMaskedLM"
],
"attention_dropout": 0.1,
"auto_map": {
"AutoConfig": "modeling_lsg_distilbert.LSGDistilBertConfig",
"AutoModel": "modeling_lsg_distilbert.LSGDistilBertModel",
"AutoModelForMaskedLM": "modeling_lsg_distilbert.LSGDistilBertForMaskedLM",
"AutoModelForMultipleChoice": "modeling_lsg_distilbert.LSGDistilBertForMultipleChoice",
"AutoModelForQuestionAnswering": "modeling_lsg_distilbert.LSGDistilBertForQuestionAnswering",
"AutoModelForSequenceClassification": "modeling_lsg_distilbert.LSGDistilBertForSequenceClassification",
"AutoModelForTokenClassification": "modeling_lsg_distilbert.LSGDistilBertForTokenClassification"
},
"base_model_prefix": "lsg",
"block_size": 128,
"dim": 768,
"dropout": 0.1,
"hidden_dim": 3072,
"initializer_range": 0.02,
"lsh_num_pre_rounds": 1,
"mask_first_token": false,
"max_position_embeddings": 4096,
"model_type": "distilbert",
"n_heads": 12,
"n_layers": 6,
"num_global_tokens": 1,
"pad_token_id": 0,
"pool_with_global": true,
"qa_dropout": 0.1,
"seq_classif_dropout": 0.2,
"sinusoidal_pos_embds": false,
"sparse_block_size": 128,
"sparsity_factor": 2,
"sparsity_type": "norm",
"tie_weights_": true,
"torch_dtype": "float32",
"transformers_version": "4.19.2",
"vocab_size": 30522
}