Download config.json from fr4nZzz/roberta-hate-speech: direct link, hf CLI and curl.
- Browser
- Download file 926 Bytes
-
https://huggingface.co/fr4nZzz/roberta-hate-speech/resolve/main/config.json
- Command line
-
hf download hf://fr4nZzz/roberta-hate-speech/config.json
-
curl -L -o config.json https://huggingface.co/fr4nZzz/roberta-hate-speech/resolve/main/config.json
926 Bytes
| { | |
| "add_cross_attention": false, | |
| "architectures": [ | |
| "RobertaForSequenceClassification" | |
| ], | |
| "attention_probs_dropout_prob": 0.0, | |
| "bos_token_id": 0, | |
| "classifier_dropout": null, | |
| "dtype": "float32", | |
| "eos_token_id": 2, | |
| "gradient_checkpointing": false, | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.0, | |
| "hidden_size": 768, | |
| "id2label": { | |
| "0": "NO_ODIO", | |
| "1": "ODIO" | |
| }, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 3072, | |
| "is_decoder": false, | |
| "label2id": { | |
| "NO_ODIO": 0, | |
| "ODIO": 1 | |
| }, | |
| "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", | |
| "tie_word_embeddings": true, | |
| "transformers_version": "5.21.0", | |
| "type_vocab_size": 1, | |
| "use_cache": false, | |
| "vocab_size": 50262 | |
| } | |