vjprav33n's picture
Update config.json
c66d5af 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,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {"0": "ALLERGEN_STATEMENT",
"1": "BEST_BEFORE_DATE",
"2": "BRAND_NAME",
"3": "CONTACT_INFORMATION",
"4": "COPYRIGHT_TRADEMARK_STATEMENT",
"5": "DECLARATION_CONTEXT_FOOTNOTE",
"6": "DESIGN_INSTRUCTIONS",
"7": "INGREDIENTS_DECLARATION",
"8": "LOCATION_OF_ORIGIN",
"9": "MARKETING_CLAIM",
"10": "NET_CONTENT_STATEMENT",
"11": "NUTRITION_FACTS",
"12": "OTHER_INSTRUCTIONS",
"13": "PREPARATION_INSTRUCTIONS",
"14": "RECYCLE_STATEMENT",
"15": "SHELF_LIFE_STATEMENT",
"16": "STORAGE_INSTRUCTIONS",
"17": "TARGET_MARKET",
"18": "USAGE_INSTRUCTIONS",
"19": "WARNING_STATEMENTS",
"20": "WARRANTY_DESCRIPTION",
"21": "WEBSITE"},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"LABEL_0": 0,
"LABEL_1": 1,
"LABEL_10": 10,
"LABEL_11": 11,
"LABEL_12": 12,
"LABEL_13": 13,
"LABEL_14": 14,
"LABEL_15": 15,
"LABEL_16": 16,
"LABEL_17": 17,
"LABEL_18": 18,
"LABEL_19": 19,
"LABEL_2": 2,
"LABEL_20": 20,
"LABEL_21": 21,
"LABEL_3": 3,
"LABEL_4": 4,
"LABEL_5": 5,
"LABEL_6": 6,
"LABEL_7": 7,
"LABEL_8": 8,
"LABEL_9": 9
},
"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",
"torch_dtype": "float32",
"transformers_version": "4.26.1",
"type_vocab_size": 1,
"use_cache": true,
"vocab_size": 250002
}