Instructions to use ronenlap/restaurants-48samples-AspectsExtraction with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use ronenlap/restaurants-48samples-AspectsExtraction with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("ronenlap/restaurants-48samples-AspectsExtraction") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - setfit
How to use ronenlap/restaurants-48samples-AspectsExtraction with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("ronenlap/restaurants-48samples-AspectsExtraction") - Notebooks
- Google Colab
- Kaggle
Push model using huggingface_hub.
Browse files- model_head.pkl +1 -1
- pytorch_model.bin +1 -1
model_head.pkl
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 6991
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0e0773bc961eaeef7659fd7fefedc64498b2d113e7a7c894bc14a264ccf47711
|
| 3 |
size 6991
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 438016493
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:360ff98f9fbdd76f69e42c2b7c47d7dd25c56cdb8cb4c03d377556ea5d44b146
|
| 3 |
size 438016493
|