IssamL's picture
Update config.json
e8f2a4f
{
"_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,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "accounting",
"1": "airline",
"2": "bakery",
"3": "bank",
"4": "beauty_salon",
"5": "cafe_res",
"6": "car_dealer",
"7": "car_services",
"8": "courthouse",
"9": "doctor",
"10": "e-commerce",
"11": "electronics_store",
"12": "embassy",
"13": "florist",
"14": "gas_station",
"15": "grocery_or_supermarket",
"16": "gym",
"17": "hardware_store",
"18": "home_goods_store",
"19": "hospital",
"20": "insurance_agency",
"21": "jewelry_store",
"22": "laundry",
"23": "lawyer",
"24": "library",
"25": "museum",
"26": "park",
"27": "pet_store",
"28": "pharmacy",
"29": "real_estate_agency",
"30": "school",
"31": "shopping_store",
"32": "social_network",
"33": "spa",
"34": "stadium",
"35": "streaming",
"36": "travel_agency",
"37": "veterinary_care"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id":{
"accounting": 0,
"airline": 1,
"bakery": 2,
"bank": 3,
"beauty_salon": 4,
"cafe_res": 5,
"car_dealer": 6,
"car_services": 7,
"courthouse": 8,
"doctor": 9,
"e-commerce": 10,
"electronics_store": 11,
"embassy": 12,
"florist": 13,
"gas_station": 14,
"grocery_or_supermarket": 15,
"gym": 16,
"hardware_store": 17,
"home_goods_store": 18,
"hospital": 19,
"insurance_agency": 20,
"jewelry_store": 21,
"laundry": 22,
"lawyer": 23,
"library": 24,
"museum": 25,
"park": 26,
"pet_store": 27,
"pharmacy": 28,
"real_estate_agency": 29,
"school": 30,
"shopping_store": 31,
"social_network": 32,
"spa": 33,
"stadium": 34,
"streaming": 35,
"travel_agency": 36,
"veterinary_care": 37
},
"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.33.2",
"type_vocab_size": 1,
"use_cache": true,
"vocab_size": 250002
}