Sentence Similarity
sentence-transformers
PyTorch
Transformers
bert
feature-extraction
text-embeddings-inference
Instructions to use peter2000/tsdae_model_policy with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use peter2000/tsdae_model_policy with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("peter2000/tsdae_model_policy") 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 peter2000/tsdae_model_policy with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("peter2000/tsdae_model_policy") model = AutoModel.from_pretrained("peter2000/tsdae_model_policy", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
Verified signatureThis is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.5e49fa7
-
Upload 1_Pooling with huggingface_hub
e839064 -
Pushing tsdae fine tuned model
Model trained on 500k policy sentencey7db95ad -
Pushing tsdae fine tuned model
Model trained on 500k policy sentenceya67c286 -
Pushing tsdae fine tuned model
Model trained on 500k policy sentenceyb03bc2a -
Pushing tsdae fine tuned model
Model trained on 500k policy sentenceyf36f2fa -
Pushing tsdae fine tuned model
Model trained on 500k policy sentencey4ed8182 -
Pushing tsdae fine tuned model
Model trained on 500k policy sentenceya752088 -
Pushing tsdae fine tuned model
Model trained on 500k policy sentenceyd74a520 -
Pushing tsdae fine tuned model
Model trained on 500k policy sentencey227bff9 -
Pushing tsdae fine tuned model
Model trained on 500k policy sentenceyb4343e8 -
Pushing tsdae fine tuned model
Model trained on 500k policy sentenceydd1118f -
Pushing tsdae fine tuned model
Model trained on 500k policy sentencey6db8855 -
Pushing tsdae fine tuned model
Model trained on 500k policy sentencey7d57c30 -
Pushing tsdae fine tuned model
Model trained on 500k policy sentencey6107a6c -
Pushing tsdae fine tuned model
Model trained on 500k policy sentencey6f26220 -
Pushing tsdae fine tuned model
Model trained on 500k policy sentencey64323ec -
Pushing tsdae fine tuned model
Model trained on 500k policy sentencey2cc575f -
Pushing tsdae fine tuned model
Model trained on 500k policy sentencey4519d04 -
Pushing tsdae fine tuned model
Model trained on 500k policy sentenceya8d9f43 -
Pushing tsdae fine tuned model
Model trained on 500k policy sentenceyf5e5fc8 -
Pushing tsdae fine tuned model
Model trained on 500k policy sentenceydab0a92 -
Pushing tsdae fine tuned model
Model trained on 500k policy sentenceyac7d667 -
Pushing tsdae fine tuned model
Model trained on 500k policy sentenceyaa3e8ea -
initial commit
ad5cbd6