Sentence Similarity
sentence-transformers
TensorBoard
Safetensors
Transformers
bert
feature-extraction
text-embeddings-inference
Instructions to use srsawant34/ProTopic-trial with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use srsawant34/ProTopic-trial with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("srsawant34/ProTopic-trial") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Transformers
How to use srsawant34/ProTopic-trial with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("srsawant34/ProTopic-trial") model = AutoModel.from_pretrained("srsawant34/ProTopic-trial", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download checkpoint-26/optimizer.pt from srsawant34/ProTopic-trial: direct link, hf CLI and curl.
- Browser
- Download file 182 MB
-
https://huggingface.co/srsawant34/ProTopic-trial/resolve/main/checkpoint-26/optimizer.pt
- Command line
-
hf download hf://srsawant34/ProTopic-trial/checkpoint-26/optimizer.pt
-
curl -L -o optimizer.pt https://huggingface.co/srsawant34/ProTopic-trial/resolve/main/checkpoint-26/optimizer.pt
182 MB
- Xet hash:
- 4bc1cbddacfe1b248ae7c5b39c057a2c9c6216d6ac0180c117e5183c22e411d6
- Size of remote file:
- 182 MB
- SHA256:
- e67c75f908ac4db1fa2bced99aad8bcd783fedf97f19a27762a3cd12631df85f
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.