Sentence Similarity
sentence-transformers
PyTorch
Transformers
xlm-roberta
feature-extraction
text-embeddings-inference
Instructions to use BlueAvenir/sti_workplace_model_updated with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use BlueAvenir/sti_workplace_model_updated with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("BlueAvenir/sti_workplace_model_updated") 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 BlueAvenir/sti_workplace_model_updated with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("BlueAvenir/sti_workplace_model_updated") model = AutoModel.from_pretrained("BlueAvenir/sti_workplace_model_updated") - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#1
by SFconvertbot - opened
- model.safetensors +3 -0
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:55c0a344fff04d0dcacd3b44dfb91fdd7de18f0e3fc4c6b806890a8c0822f19b
|
| 3 |
+
size 1112201288
|