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-13/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-13/optimizer.pt
- Command line
-
hf download hf://srsawant34/ProTopic-trial/checkpoint-13/optimizer.pt
-
curl -L -o optimizer.pt https://huggingface.co/srsawant34/ProTopic-trial/resolve/main/checkpoint-13/optimizer.pt
182 MB
- Xet hash:
- 7fcec52e9d9f937623c58beabe810cf7df491d1aa58e6203c81a1fbe90c685f9
- Size of remote file:
- 182 MB
- SHA256:
- 9b86c1ac98cca7fb66b6fc7467f28d62bbeb2391ed9c2cf42696c90240ff170e
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.