|
{ |
|
"_name_or_path": "roberta-base", |
|
"architectures": [ |
|
"RobertaForSequenceClassification" |
|
], |
|
"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": "disasters", |
|
"1": "medicine", |
|
"2": "science", |
|
"3": "politics", |
|
"4": "foods", |
|
"5": "mathematics", |
|
"6": "religion", |
|
"7": "technology", |
|
"8": "culture", |
|
"9": "sports", |
|
"10": "education", |
|
"11": "news", |
|
"12": "videogames", |
|
"13": "business", |
|
"14": "geography", |
|
"15": "entertainment", |
|
"16": "nature", |
|
"17": "law", |
|
"18": "history", |
|
"19": "music", |
|
"20": "economics", |
|
"21": "computerscience", |
|
"22": "philosophy" |
|
}, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 3072, |
|
"label2id": {"disasters": 0, |
|
"medicine": 1, |
|
"science": 2, |
|
"politics": 3, |
|
"foods": 4, |
|
"mathematics": 5, |
|
"religion": 6, |
|
"technology": 7, |
|
"culture": 8, |
|
"sports": 9, |
|
"education": 10, |
|
"news": 11, |
|
"videogames": 12, |
|
"business": 13, |
|
"geography": 14, |
|
"entertainment": 15, |
|
"nature": 16, |
|
"law": 17, |
|
"history": 18, |
|
"music": 19, |
|
"economics": 20, |
|
"computerscience": 21, |
|
"philosophy": 22}, |
|
"layer_norm_eps": 1e-05, |
|
"max_position_embeddings": 514, |
|
"model_type": "roberta", |
|
"num_attention_heads": 12, |
|
"num_hidden_layers": 12, |
|
"pad_token_id": 1, |
|
"position_embedding_type": "absolute", |
|
"problem_type": "single_label_classification", |
|
"torch_dtype": "float32", |
|
"transformers_version": "4.25.1", |
|
"type_vocab_size": 1, |
|
"use_cache": true, |
|
"vocab_size": 50265 |
|
} |
|
|