Text Classification
setfit
Safetensors
sentence-transformers
bert
generated_from_setfit_trainer
text-embeddings-inference
Instructions to use mann2107/BCMPIIRAB_ALL_Test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- setfit
How to use mann2107/BCMPIIRAB_ALL_Test with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("mann2107/BCMPIIRAB_ALL_Test") preds = model.predict(["i loved the spiderman movie!", "pineapple on pizza is the worst"]) print(preds) - sentence-transformers
How to use mann2107/BCMPIIRAB_ALL_Test with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("mann2107/BCMPIIRAB_ALL_Test") 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: 130 Bytes
1dacafd | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:ac3015d5d055c8a8a801db3a73b3b3a029c17542d2b02b16fcaaf7514f633b80
size 23092
|