Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:7605030
loss:OrdinalProxyContrastiveLoss
text-embeddings-inference
Instructions to use swardiantara/bert-tiny-yelp-k3-fixed-euclidean with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use swardiantara/bert-tiny-yelp-k3-fixed-euclidean with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("swardiantara/bert-tiny-yelp-k3-fixed-euclidean") sentences = [ "If I could give this place less than one star, I would. I have no idea who gave this place high reviews but they must either own the place or be time travelers from back in the day when this place might not have sucked. The decor is tired and grimy, the place reeked of smoke, and the bartender/server was surly, to put it mildly. We went there on a Saturday night with a mind to try the Irish food. Apparently, we were out of luck. I've always thought that the secrets of restaurant success is to actually stock food for people to eat. He told us before we ordered that they had no \\\"pies\\\". No chicken pot pie, no shepherds pie, etc. So, we gamely tried to order other things. We placed our order. My wife, for example, ordered the Irish stew and he came back 5 min later telling us they were out of that and even more things for several people in our party. At that point my wife picked out a third option, ham and cabbage, only to be told again that \\\"they were out\\\". At that point, realizing that the only food to be had in the place was what was crusted on the menus, we asked to pay for our drinks and left. They actually then gave us flack for not having enough to put it on a debit card. In short, unless you like your dinner with a side of disappointment and depression, I'd probably avoid this place like the plague. Speaking of the plague, I suppose we should thank Mr. Surly for inspiring us to walk out. I only have two bathrooms at my house and would've been hard pressed to accommodate several violently ill people at once.", "This is an older retail store. I normally have a loving relationship with Eat 'n Park, but this one just didn't hit home for me. I came during the Sunday Brunch Buffet; my friend partook, I abstained after seeing the fare. I ordered two eggs over-easy with a side of toast. Getting beyond the murky, dated feel of the store, it was actually fairly clean on the interior and in the restrooms. \\n\\nI received my food and the eggs were cooked perfectly. Maybe not a big deal for some, but you would be surprised at how often over-easy comes out over-hard or, worse, uncooked. I think the real reason I enjoy Eat 'n Park most of the time is the normal salad bar items.", "I might be in love. This place may have just blown my last crush away! I had driven by this rather nondescript place a million times thinking, \\\"I really need to stop in there and check it out\\\". I also had a fellow, respected cocktail-connoisseur tell me I had to go here for the amazing cocktails and ambiance...that was over a year ago. So I finally mosied in on a Thursday night and was IMPRESSED. Shady's has great tunes coming out of the jukebox, great bartenders that made fantastic beverages, and quite a friendly cool crowd. For all the beer people they also have a good variety of beers. Oh and did I mention it is INEXPENSIVE! I thought they screwed something up when the bill arrived because it was so FREAKING cheap. I went back Friday and Saturday just to confirm: Shady's is indeed AWESOME.", "Will not come back. Food is average but the service is terrible. \\n\\nThe Pho is not impressive but OK and their egg rolls are made from refrigerated product with some unrecognizable stuff inside!!\\n\\nThe service is among the worst I've ever experienced. The waitress/owner gave a face like a stone and didn't even say a word when taking our order. The only one word we got there was a \\\"Thanks\\\" when she bring the check.... Since we were the only Asian customers there and all others were getting normal service, I may have to establish an assumption that the way you are treated is correlated to your looking. Unbelievable!" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!