kiddothe2b's picture
Update config.json
36a3409
raw
history blame
2.71 kB
{
"_name_or_path": "kiddothe2b/adhoc-hierarchical-transformer-base-4096",
"architectures": [
"HiTransformerForMaskedLM"
],
"auto_map": {
"AutoConfig": "configuration_hat.HATConfig",
"AutoTokenizer": "tokenization_hat.HATTokenizer",
"AutoModel": "modelling_hat.HATModel",
"AutoModelForMaskedLM": "modelling_hat.HATForMaskedLM",
"AutoModelForMultipleChoice": "modelling_hat.HATForMultipleChoice",
"AutoModelForQuestionAnswering": "modelling_hat.HATForQuestionAnswering",
"AutoModelForSequenceClassification": "modelling_hat.HATForSequenceClassification",
"AutoModelForTokenClassification": "modelling_hat.HATForTokenClassification"
},
"attention_probs_dropout_prob": 0.1,
"bos_token_id": 0,
"classifier_dropout": null,
"encoder_layout": {
"0": {
"document_encoder": false,
"sentence_encoder": true
},
"1": {
"document_encoder": false,
"sentence_encoder": true
},
"10": {
"document_encoder": false,
"sentence_encoder": true
},
"11": {
"document_encoder": true,
"sentence_encoder": true
},
"12": {
"document_encoder": true,
"sentence_encoder": false
},
"13": {
"document_encoder": true,
"sentence_encoder": false
},
"14": {
"document_encoder": true,
"sentence_encoder": false
},
"2": {
"document_encoder": false,
"sentence_encoder": true
},
"3": {
"document_encoder": false,
"sentence_encoder": true
},
"4": {
"document_encoder": false,
"sentence_encoder": true
},
"5": {
"document_encoder": false,
"sentence_encoder": true
},
"6": {
"document_encoder": false,
"sentence_encoder": true
},
"7": {
"document_encoder": false,
"sentence_encoder": true
},
"8": {
"document_encoder": false,
"sentence_encoder": true
},
"9": {
"document_encoder": false,
"sentence_encoder": true
}
},
"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": 130,
"max_sentence_length": 128,
"max_sentence_size": 128,
"max_sentences": 32,
"model_max_length": 4096,
"model_type": "hierarchical-transformer",
"num_attention_heads": 12,
"num_hidden_layers": 15,
"output_past": true,
"pad_token_id": 1,
"parameters": 136350720,
"position_embedding_type": "absolute",
"torch_dtype": "float32",
"transformers_version": "4.18.0",
"type_vocab_size": 1,
"use_cache": true,
"vocab_size": 50265
}