Sentence Similarity
sentence-transformers
Safetensors
Transformers
bert
feature-extraction
text-embeddings-inference
Instructions to use Griffin88/my_new_model3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Griffin88/my_new_model3 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Griffin88/my_new_model3") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Transformers
How to use Griffin88/my_new_model3 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("Griffin88/my_new_model3") model = AutoModel.from_pretrained("Griffin88/my_new_model3", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from Griffin88/my_new_model3: direct link, hf CLI and curl.
- Browser
- Download file 13.6 MB
-
https://huggingface.co/Griffin88/my_new_model3/resolve/main/tokenizer.json
- Command line
-
hf download hf://Griffin88/my_new_model3/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/Griffin88/my_new_model3/resolve/main/tokenizer.json
13.6 MB
- Xet hash:
- f7c27219fb0ce445969a1876fcda99323f065c2d8d820594c538c31f55ed2c82
- Size of remote file:
- 13.6 MB
- SHA256:
- 09216b42d2697b7b4a26ac05ff09ba8bf52dc19b896c5ceee8bbff9f39055322
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.