Feature Extraction
Transformers
Safetensors
English
mpnet
cybersecurity
classification
fine-tuned
text-embeddings-inference
Instructions to use selfconstruct3d/AttackGroup-MPNET with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use selfconstruct3d/AttackGroup-MPNET with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="selfconstruct3d/AttackGroup-MPNET")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("selfconstruct3d/AttackGroup-MPNET") model = AutoModel.from_pretrained("selfconstruct3d/AttackGroup-MPNET") - Notebooks
- Google Colab
- Kaggle
File size: 607 Bytes
8c5c9d3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | {
"_name_or_path": "mpnet_classification_finetuned_v2",
"architectures": [
"MPNetModel"
],
"attention_probs_dropout_prob": 0.1,
"bos_token_id": 0,
"eos_token_id": 2,
"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": "mpnet",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 1,
"relative_attention_num_buckets": 32,
"torch_dtype": "float32",
"transformers_version": "4.48.3",
"vocab_size": 30746
}
|