Text Classification
setfit
Safetensors
sentence-transformers
bert
absa
generated_from_setfit_trainer
Eval Results (legacy)
text-embeddings-inference
Instructions to use joshuasundance/setfit-absa-all-MiniLM-L6-v2-laptops-aspect with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- setfit
How to use joshuasundance/setfit-absa-all-MiniLM-L6-v2-laptops-aspect with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("joshuasundance/setfit-absa-all-MiniLM-L6-v2-laptops-aspect") - sentence-transformers
How to use joshuasundance/setfit-absa-all-MiniLM-L6-v2-laptops-aspect with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("joshuasundance/setfit-absa-all-MiniLM-L6-v2-laptops-aspect") 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] - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -31,7 +31,7 @@ model-index:
|
|
| 31 |
type: text-classification
|
| 32 |
name: Text Classification
|
| 33 |
dataset:
|
| 34 |
-
name:
|
| 35 |
type: unknown
|
| 36 |
split: test
|
| 37 |
metrics:
|
|
@@ -66,7 +66,7 @@ This model was trained within the context of a larger system for ABSA, which loo
|
|
| 66 |
- **SetFitABSA Polarity Model:** [joshuasundance/setfit-absa-all-mpnet-base-v2-laptops-polarity](https://huggingface.co/joshuasundance/setfit-absa-all-mpnet-base-v2-laptops-polarity)
|
| 67 |
- **Maximum Sequence Length:** 256 tokens
|
| 68 |
- **Number of Classes:** 2 classes
|
| 69 |
-
<!-- - **Training Dataset:** [
|
| 70 |
<!-- - **Language:** Unknown -->
|
| 71 |
<!-- - **License:** Unknown -->
|
| 72 |
|
|
|
|
| 31 |
type: text-classification
|
| 32 |
name: Text Classification
|
| 33 |
dataset:
|
| 34 |
+
name: tomaarsen/setfit-absa-semeval-laptops
|
| 35 |
type: unknown
|
| 36 |
split: test
|
| 37 |
metrics:
|
|
|
|
| 66 |
- **SetFitABSA Polarity Model:** [joshuasundance/setfit-absa-all-mpnet-base-v2-laptops-polarity](https://huggingface.co/joshuasundance/setfit-absa-all-mpnet-base-v2-laptops-polarity)
|
| 67 |
- **Maximum Sequence Length:** 256 tokens
|
| 68 |
- **Number of Classes:** 2 classes
|
| 69 |
+
<!-- - **Training Dataset:** [tomaarsen/setfit-absa-semeval-laptops](https://huggingface.co/datasets/tomaarsen/setfit-absa-semeval-laptops) -->
|
| 70 |
<!-- - **Language:** Unknown -->
|
| 71 |
<!-- - **License:** Unknown -->
|
| 72 |
|