Update README.md
Browse files
    	
        README.md
    CHANGED
    
    | @@ -45,7 +45,7 @@ mStyleDistance was contrastively trained on [mSynthSTEL](https://huggingface.co/ | |
| 45 | 
             
            from sentence_transformers import SentenceTransformer
         | 
| 46 | 
             
            from sentence_transformers.util import cos_sim
         | 
| 47 |  | 
| 48 | 
            -
            model = SentenceTransformer('StyleDistance/ | 
| 49 |  | 
| 50 | 
             
            input = model.encode("Did you hear about the Wales wing? He'll h8 2 withdraw due 2 injuries from future competitions.")
         | 
| 51 | 
             
            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."])
         | 
|  | |
| 45 | 
             
            from sentence_transformers import SentenceTransformer
         | 
| 46 | 
             
            from sentence_transformers.util import cos_sim
         | 
| 47 |  | 
| 48 | 
            +
            model = SentenceTransformer('StyleDistance/mstyledistance') # Load model
         | 
| 49 |  | 
| 50 | 
             
            input = model.encode("Did you hear about the Wales wing? He'll h8 2 withdraw due 2 injuries from future competitions.")
         | 
| 51 | 
             
            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."])
         | 

