Sentence Similarity
sentence-transformers
ONNX
Safetensors
Russian
English
bert
stylometry
author-attribution
osint
threat-intelligence
siamese-network
contrastive-learning
text-classification
forensics
Eval Results (legacy)
text-embeddings-inference
Instructions to use AtesiT/osint-stylometry-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use AtesiT/osint-stylometry-model with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("AtesiT/osint-stylometry-model") sentences = [ "Это счастливый человек", "Это счастливая собака", "Это очень счастливый человек", "Сегодня солнечный день" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from AtesiT/osint-stylometry-model: direct link, hf CLI and curl.
- Browser
- Download file 594 Bytes
-
https://huggingface.co/AtesiT/osint-stylometry-model/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://AtesiT/osint-stylometry-model/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/AtesiT/osint-stylometry-model/resolve/main/tokenizer_config.json
594 Bytes
| { | |
| "backend": "tokenizers", | |
| "cls_token": "[CLS]", | |
| "do_basic_tokenize": true, | |
| "do_lower_case": true, | |
| "is_local": false, | |
| "local_files_only": false, | |
| "mask_token": "[MASK]", | |
| "max_length": 128, | |
| "model_max_length": 256, | |
| "never_split": null, | |
| "pad_to_multiple_of": null, | |
| "pad_token": "[PAD]", | |
| "pad_token_type_id": 0, | |
| "padding_side": "right", | |
| "sep_token": "[SEP]", | |
| "stride": 0, | |
| "strip_accents": null, | |
| "tokenize_chinese_chars": true, | |
| "tokenizer_class": "BertTokenizer", | |
| "truncation_side": "right", | |
| "truncation_strategy": "longest_first", | |
| "unk_token": "[UNK]" | |
| } | |