Download config.json from guard-spec/guardspec-classifier: direct link, hf CLI and curl.
- Browser
- Download file 1.2 kB
-
https://huggingface.co/guard-spec/guardspec-classifier/resolve/main/config.json
- Command line
-
hf download hf://guard-spec/guardspec-classifier/config.json
-
curl -L -o config.json https://huggingface.co/guard-spec/guardspec-classifier/resolve/main/config.json
1.2 kB
| { | |
| "_name_or_path": "intfloat/multilingual-e5-small", | |
| "architectures": [ | |
| "BertForSequenceClassification" | |
| ], | |
| "attention_probs_dropout_prob": 0.1, | |
| "classifier_dropout": null, | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.1, | |
| "hidden_size": 384, | |
| "id2label": { | |
| "0": "benign", | |
| "1": "direct_injection", | |
| "2": "indirect_injection", | |
| "3": "jailbreak", | |
| "4": "prompt_extraction", | |
| "5": "data_exfiltration", | |
| "6": "tool_poisoning", | |
| "7": "obfuscation" | |
| }, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 1536, | |
| "label2id": { | |
| "benign": 0, | |
| "data_exfiltration": 5, | |
| "direct_injection": 1, | |
| "indirect_injection": 2, | |
| "jailbreak": 3, | |
| "obfuscation": 7, | |
| "prompt_extraction": 4, | |
| "tool_poisoning": 6 | |
| }, | |
| "layer_norm_eps": 1e-12, | |
| "max_position_embeddings": 512, | |
| "model_type": "bert", | |
| "num_attention_heads": 12, | |
| "num_hidden_layers": 12, | |
| "pad_token_id": 0, | |
| "position_embedding_type": "absolute", | |
| "problem_type": "multi_label_classification", | |
| "tokenizer_class": "XLMRobertaTokenizer", | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.46.3", | |
| "type_vocab_size": 2, | |
| "use_cache": true, | |
| "vocab_size": 250037 | |
| } | |