--- pipeline_tag: sentence-similarity tags: - sentence-transformers - feature-extraction - sentence-similarity --- # ATT&CK BERT ATT&CK BERT is a cybersecurity domain-specific language model based on [sentence-transformers](https://www.SBERT.net). ATT&CK BERT maps sentences representing attack actions to a semantically meaningful embedding vector. Sentences with similar meanings will have a high cosine similarity. ## Usage (Sentence-Transformers) Using this model becomes easy when you have [sentence-transformers](https://www.SBERT.net) installed: ``` pip install -U sentence-transformers ``` Then you can use the model like this: ```python from sentence_transformers import SentenceTransformer sentences = ["Attacker takes a screenshot", "Attacker captures the screen"] model = SentenceTransformer('basel/ATTACK-BERT') embeddings = model.encode(sentences) print(embeddings) ```