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
File size: 129 Bytes
4f7109f | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:95a94b6d35296d4ec451dca25a4970baca68060fc8a05eea35fa5d556f05ac85
size 3919
|