Sentence Similarity
sentence-transformers
PyTorch
Safetensors
English
mpnet
Text Classification
text-embeddings-inference
Instructions to use PeppoCola/FewShotIssueClassifier-NLBSE23 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use PeppoCola/FewShotIssueClassifier-NLBSE23 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("PeppoCola/FewShotIssueClassifier-NLBSE23") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
3fd672e | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:ff12ecb7b2ba84af425f0cd7325b320dedfeba0bceea5a47259b8c0c22cf7e20
size 438017613
|