|
{ |
|
"_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": "music", |
|
"1": "mathematics", |
|
"2": "nature", |
|
"3": "philosophy", |
|
"4": "politics", |
|
"5": "law", |
|
"6": "foods", |
|
"7": "culture", |
|
"8": "science", |
|
"9": "business", |
|
"10": "history", |
|
"11": "videogames", |
|
"12": "disasters", |
|
"13": "geography", |
|
"14": "technology", |
|
"15": "medicine", |
|
"16": "economics", |
|
"17": "entertainment", |
|
"18": "sports", |
|
"19": "religion", |
|
"20": "education", |
|
"21": "news", |
|
"22": "computerscience" |
|
}, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 3072, |
|
"label2id": {"disasters": 0, |
|
"music": 1, |
|
"mathematics": 2, |
|
"philosophy": 3, |
|
"politics": 4, |
|
"law": 5, |
|
"foods": 6, |
|
"culture": 7, |
|
"science": 8, |
|
"business": 9, |
|
"history": 10, |
|
"videogames": 11, |
|
"disasters": 12, |
|
"geography": 13, |
|
"technology": 14, |
|
"medicine": 15, |
|
"economics": 16, |
|
"entertainment": 17, |
|
"sports": 18, |
|
"religion": 19, |
|
"education": 20, |
|
"news": 21, |
|
"computerscience": 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 |
|
} |
|
|