AbLang_light / config.json
qilowoq's picture
Upload RobertaForMaskedLMV2
6053373
raw
history blame
848 Bytes
{
"add_pooling_layer": false,
"architectures": [
"RobertaForMaskedLMV2"
],
"attention_probs_dropout_prob": 0.1,
"auto_map": {
"AutoModel": "AbLang_roberta_model.RobertaModelV2",
"AutoModelForMaskedLM": "AbLang_roberta_model.RobertaForMaskedLMV2"
},
"bos_token_id": 0,
"classifier_dropout": null,
"eos_token_id": 2,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"initializer_range": 0.02,
"intermediate_size": 3072,
"layer_norm_eps": 1e-12,
"max_position_embeddings": 160,
"model_type": "roberta",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 21,
"position_embedding_type": "absolute",
"tie_word_embeddings": false,
"torch_dtype": "float32",
"transformers_version": "4.28.1",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 24
}