CoolFace
Modelpublic

MaagDeveloper/rust_python_roberta_classifier

sourceHugging Faceupdated 1mo agoView on Hugging Face
1likes36downloads
config.json38 linesDownload Raw Back to root
1{2  "add_cross_attention": false,3  "architectures": [4    "RobertaForSequenceClassification"5  ],6  "attention_probs_dropout_prob": 0.1,7  "bos_token_id": 0,8  "classifier_dropout": null,9  "dtype": "float32",10  "eos_token_id": 2,11  "hidden_act": "gelu",12  "hidden_dropout_prob": 0.1,13  "hidden_size": 192,14  "id2label": {15    "0": "Rust",16    "1": "Python"17  },18  "initializer_range": 0.02,19  "intermediate_size": 768,20  "is_decoder": false,21  "label2id": {22    "Python": 1,23    "Rust": 024  },25  "layer_norm_eps": 1e-05,26  "max_position_embeddings": 258,27  "model_type": "roberta",28  "num_attention_heads": 4,29  "num_hidden_layers": 4,30  "pad_token_id": 1,31  "problem_type": "single_label_classification",32  "tie_word_embeddings": true,33  "transformers_version": "5.13.1",34  "type_vocab_size": 1,35  "use_cache": false,36  "vocab_size": 3226037}38