Sentence Similarity
sentence-transformers
PyTorch
Transformers
bert
feature-extraction
custom_code
text-embeddings-inference
Instructions to use jwieting/paraphrastic_test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use jwieting/paraphrastic_test with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("jwieting/paraphrastic_test", trust_remote_code=True) 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 jwieting/paraphrastic_test with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("jwieting/paraphrastic_test", trust_remote_code=True) model = AutoModel.from_pretrained("jwieting/paraphrastic_test", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload pytorch_model.bin
4f3c1b4 -
Delete pytorch_model.bin
cfa62de -
Update modeling_paragram_sp.py
a6d5115 -
Update modeling_paragram_sp.py
a5eac20 -
Update modeling_paragram_sp.py
82026f0 -
Update modeling_paragram_sp.py
5d4de09 -
Update modeling_paragram_sp.py
5645e15 -
Update modeling_paragram_sp.py
77a3be3 -
Update modeling_paragram_sp.py
bcab452 -
Update modeling_paragram_sp.py
5268492 -
Update modeling_paragram_sp.py
b81b79a -
Upload pytorch_model.bin
65c9b11 -
Delete pytorch_model.bin
c0a3668 -
Update modeling_paragram_sp.py
a7d623d -
Update modeling_paragram_sp.py
6dd5977 -
Update modeling_paragram_sp.py
273bc3c -
Update modeling_paragram_sp.py
4c9610a -
Update modeling_paragram_sp.py
e985d83 -
Upload 2 files
9f08dee -
Delete pytorch_model.bin
ac76003 -
Upload tokenizer_config.json
9a5704e -
Delete tokenizer_config.json
9181b05 -
Upload 6 files
7cd71d2 -
Update config.json
0230314 -
Rename modeling_sim.py to modeling_paragram_sp.py
0b9a150 -
Update modeling_sim.py
9889278 -
Create config.json
dfae2fb -
Update modeling_sim.py
0a985cf
-
Delete special_tokens_map.json
7c3a7ce -
Delete spiece.model
7974e1d -
Delete tokenizer.json
7f4ade6 -
Delete pytorch_model.bin
b4ba5d3 -
Delete config.json
1859614 -
Delete tokenizer_config.json
59772f6 -
Update modeling_sim.py
77e83ce -
Upload 4 files
13d737e -
Update modeling_sim.py
898adc4 -
Update config.json
cf4dfd8 -
Upload 5 files
cecb767 -
Delete config.json
2661c48 -
Delete tokenizer.json
94edfb9 -
Delete spiece.model
1c35d0d -
Update modeling_sim.py
9c570b4 -
Update modeling_sim.py
0728fa3 -
Update modeling_sim.py
4b4d8b5 -
Update modeling_sim.py
cddb7fe -
Update modeling_sim.py
1eb8ae6 -
Update modeling_sim.py
c5d01af -
Update modeling_sim.py
b0d7812 -
Upload 2 files
affd3e4