Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
dense
Generated from Trainer
dataset_size:4555
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use SSHHIVANI/verifact-biencoder-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use SSHHIVANI/verifact-biencoder-v1 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("SSHHIVANI/verifact-biencoder-v1") sentences = [ "Shahid Kapoor was in a film.", "In addition to acting in films , Kapoor has sung several of her film songs .", "Two years later , he played a drug abusing singer in the crime drama Udta Punjab , which won him the Filmfare Critics Award for Best Actor .", "Matthew Paige Damon -LRB- -LSB- ˈdeɪmən -RSB- born October 8 , 1970 -RRB- is an American actor , film producer , and screenwriter ." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Download config.json from SSHHIVANI/verifact-biencoder-v1: direct link, hf CLI and curl.
- Browser
- Download file 776 Bytes
-
https://huggingface.co/SSHHIVANI/verifact-biencoder-v1/resolve/main/config.json
- Command line
-
hf download hf://SSHHIVANI/verifact-biencoder-v1/config.json
-
curl -L -o config.json https://huggingface.co/SSHHIVANI/verifact-biencoder-v1/resolve/main/config.json
776 Bytes
| { | |
| "add_cross_attention": false, | |
| "architectures": [ | |
| "BertModel" | |
| ], | |
| "attention_probs_dropout_prob": 0.1, | |
| "bos_token_id": null, | |
| "classifier_dropout": null, | |
| "dtype": "float32", | |
| "eos_token_id": null, | |
| "gradient_checkpointing": false, | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.1, | |
| "hidden_size": 384, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 1536, | |
| "is_decoder": false, | |
| "layer_norm_eps": 1e-12, | |
| "max_position_embeddings": 512, | |
| "model_type": "bert", | |
| "num_attention_heads": 12, | |
| "num_hidden_layers": 6, | |
| "pad_token_id": 0, | |
| "position_embedding_type": "absolute", | |
| "tie_word_embeddings": true, | |
| "transformers_version": "5.14.1", | |
| "type_vocab_size": 2, | |
| "use_cache": false, | |
| "vocab_size": 30522 | |
| } | |