Update README.md
Browse files
README.md
CHANGED
@@ -62,7 +62,7 @@ StyleDistance was contrastively trained on [SynthSTEL](https://huggingface.co/da
|
|
62 |
from sentence_transformers import SentenceTransformer
|
63 |
from sentence_transformers.util import cos_sim
|
64 |
|
65 |
-
model = SentenceTransformer('
|
66 |
|
67 |
input = model.encode("Did you hear about the Wales wing? He'll h8 2 withdraw due 2 injuries from future competitions.")
|
68 |
others = model.encode(["We're raising funds 2 improve our school's storage facilities and add new playground equipment!", "Did you hear about the Wales wing? He'll hate to withdraw due to injuries from future competitions."])
|
|
|
62 |
from sentence_transformers import SentenceTransformer
|
63 |
from sentence_transformers.util import cos_sim
|
64 |
|
65 |
+
model = SentenceTransformer('StyleDistance/styledistance_synth_only') # Load model
|
66 |
|
67 |
input = model.encode("Did you hear about the Wales wing? He'll h8 2 withdraw due 2 injuries from future competitions.")
|
68 |
others = model.encode(["We're raising funds 2 improve our school's storage facilities and add new playground equipment!", "Did you hear about the Wales wing? He'll hate to withdraw due to injuries from future competitions."])
|