Sentence Similarity
sentence-transformers
Safetensors
mpnet
feature-extraction
Generated from Trainer
dataset_size:50
loss:CosineSimilarityLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use akshitguptafintek24/exxon-semantic-search with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use akshitguptafintek24/exxon-semantic-search with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("akshitguptafintek24/exxon-semantic-search") sentences = [ "Freepoint Commodity services venture", "DUPLI OF 823707 BITUBULK SRL VESSEL", "Freepoint Commodities LLC", "AUGUSTA ENERGY DMCC" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from akshitguptafintek24/exxon-semantic-search: direct link, hf CLI and curl.
- Browser
- Download file 1.66 kB
-
https://huggingface.co/akshitguptafintek24/exxon-semantic-search/resolve/7379c1a5bcf0e1c3e94ae23bf4cdaddf937902cc/tokenizer_config.json
- Command line
-
hf download hf://akshitguptafintek24/exxon-semantic-search@7379c1a5bcf0e1c3e94ae23bf4cdaddf937902cc/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/akshitguptafintek24/exxon-semantic-search/resolve/7379c1a5bcf0e1c3e94ae23bf4cdaddf937902cc/tokenizer_config.json
1.66 kB
| { | |
| "added_tokens_decoder": { | |
| "0": { | |
| "content": "<s>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "1": { | |
| "content": "<pad>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "2": { | |
| "content": "</s>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "3": { | |
| "content": "<unk>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "104": { | |
| "content": "[UNK]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "30526": { | |
| "content": "<mask>", | |
| "lstrip": true, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| } | |
| }, | |
| "bos_token": "<s>", | |
| "clean_up_tokenization_spaces": true, | |
| "cls_token": "<s>", | |
| "do_lower_case": true, | |
| "eos_token": "</s>", | |
| "mask_token": "<mask>", | |
| "max_length": 128, | |
| "model_max_length": 384, | |
| "pad_to_multiple_of": null, | |
| "pad_token": "<pad>", | |
| "pad_token_type_id": 0, | |
| "padding_side": "right", | |
| "sep_token": "</s>", | |
| "stride": 0, | |
| "strip_accents": null, | |
| "tokenize_chinese_chars": true, | |
| "tokenizer_class": "MPNetTokenizer", | |
| "truncation_side": "right", | |
| "truncation_strategy": "longest_first", | |
| "unk_token": "[UNK]" | |
| } | |