gte-base-en-v1.5 / config.json
izhx's picture
add model files (#1)
4c742dc verified
raw
history blame
1.35 kB
{
"architectures": [
"NewModel"
],
"attention_probs_dropout_prob": 0.0,
"auto_map": {
"AutoConfig": "Alibaba-NLP/new-impl--configuration.NewConfig",
"AutoModel": "Alibaba-NLP/new-impl--modeling.NewModel",
"AutoModelForMaskedLM": "Alibaba-NLP/new-impl--modeling.NewForMaskedLM",
"AutoModelForMultipleChoice": "Alibaba-NLP/new-impl--modeling.NewForMultipleChoice",
"AutoModelForQuestionAnswering": "Alibaba-NLP/new-impl--modeling.NewForQuestionAnswering",
"AutoModelForSequenceClassification": "Alibaba-NLP/new-impl--modeling.NewForSequenceClassification",
"AutoModelForTokenClassification": "Alibaba-NLP/new-impl--modeling.NewForTokenClassification"
},
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"initializer_range": 0.02,
"intermediate_size": 3072,
"layer_norm_eps": 1e-12,
"layer_norm_type": "layer_norm",
"max_position_embeddings": 8192,
"model_type": "new",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pack_qkv": true,
"pad_token_id": 0,
"position_embedding_type": "rope",
"rope_scaling": {
"factor": 2.0,
"type": "ntk"
},
"rope_theta": 500000,
"torch_dtype": "float32",
"transformers_version": "4.39.1",
"type_vocab_size": 0,
"unpad_inputs": false,
"use_memory_efficient_attention": false,
"vocab_size": 30528
}