Files
Deep_Learning_M502019B/LabFinal/model_configs/model_config_base.json
2025-09-21 02:59:47 +00:00

44 lines
1.0 KiB
JSON

{
"architectures": [
"XLMRobertaForSequenceClassification"
],
"attention_probs_dropout_prob": 0.1,
"bos_token_id": 0,
"eos_token_id": 2,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "happy",
"1": "angry",
"2": "sad",
"3": "fear",
"4": "surprise",
"5": "neural"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"happy": 0,
"angry": 1,
"sad": 2,
"fear": 3,
"surprise": 4,
"neural": 5
},
"layer_norm_eps": 1e-05,
"max_position_embeddings": 514,
"model_type": "xlm-roberta",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"num_labels": 6,
"output_past": true,
"pad_token_id": 1,
"position_embedding_type": "absolute",
"problem_type": "single_label_classification",
"torch_dtype": "float32",
"transformers_version": "4.38.1",
"type_vocab_size": 1,
"use_cache": true,
"vocab_size": 30000
}