| { | |
| "_name_or_path": "roberta-base", | |
| "architectures": [ | |
| "RobertaForSequenceClassification" | |
| ], | |
| "attention_probs_dropout_prob": 0.1, | |
| "classifier_dropout": null, | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.1, | |
| "hidden_size": 768, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 3072, | |
| "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.35.2", | |
| "type_vocab_size": 1, | |
| "use_cache": true, | |
| "vocab_size": 50265, | |
| "id2label": { | |
| "0": "Physics", | |
| "1": "Chemistry", | |
| "2": "Medicine", | |
| "3": "Computer Science", | |
| "4": "Biology", | |
| "5": "Geoscience", | |
| "6": "Materials Science", | |
| "7": "Engineering" | |
| }, | |
| "label2id": { | |
| "Physics": 0, | |
| "Chemistry": 1, | |
| "Medicine": 2, | |
| "Computer Science": 3, | |
| "Biology": 4, | |
| "Geoscience": 5, | |
| "Materials Science": 6, | |
| "Engineering": 7 | |
| }, | |
| "num_labels": 8 | |
| } |