tmnam20's picture
Upload config.json with huggingface_hub
8ccf2e7 verified
{
"_name_or_path": "xlm-roberta-base",
"architectures": [
"XLMRobertaForSequenceClassification"
],
"attention_probs_dropout_prob": 0.1,
"bos_token_id": 0,
"classifier_dropout": null,
"eos_token_id": 2,
"finetuning_task": "vtoc",
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "Automobile",
"1": "Business",
"2": "Digital",
"3": "Education",
"4": "Entertainment",
"5": "Health",
"6": "Law",
"7": "Life",
"8": "News",
"9": "Perspective",
"10": "Relax",
"11": "Science",
"12": "Sports",
"13": "Travel",
"14": "World"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"Automobile": 0,
"Business": 1,
"Digital": 2,
"Education": 3,
"Entertainment": 4,
"Health": 5,
"Law": 6,
"Life": 7,
"News": 8,
"Perspective": 9,
"Relax": 10,
"Science": 11,
"Sports": 12,
"Travel": 13,
"World": 14
},
"layer_norm_eps": 1e-05,
"max_position_embeddings": 514,
"model_type": "xlm-roberta",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"output_past": true,
"pad_token_id": 1,
"position_embedding_type": "absolute",
"problem_type": "single_label_classification",
"torch_dtype": "float32",
"transformers_version": "4.35.2",
"type_vocab_size": 1,
"use_cache": true,
"vocab_size": 250002
}