hn-upvote-classifier / config.json
diwank's picture
Push model using huggingface_hub.
fa37eec verified
raw
history blame
1.45 kB
{
"_name_or_path": "checkpoints/step_21000",
"architectures": [
"NewModel"
],
"attention_probs_dropout_prob": 0.0,
"auto_map": {
"AutoConfig": "configuration.NewConfig",
"AutoModel": "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"
},
"classifier_dropout": null,
"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",
"logn_attention_clip1": false,
"logn_attention_scale": false,
"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.41.2",
"type_vocab_size": 0,
"unpad_inputs": false,
"use_memory_efficient_attention": false,
"vocab_size": 30528
}