Text Classification
sentence-transformers
PyTorch
setfit
multilingual
xlm-roberta
text-embeddings-inference
Instructions to use uaritm/test_depres with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use uaritm/test_depres with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("uaritm/test_depres") 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 uaritm/test_depres with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("uaritm/test_depres") preds = model.predict(["i loved the spiderman movie!", "pineapple on pizza is the worst"]) print(preds) - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -62,7 +62,7 @@ copyright = {Creative Commons Attribution 4.0 International}
|
|
| 62 |
@misc{Uaritm,
|
| 63 |
title={SetFit: Classification of medical texts},
|
| 64 |
author={Vitaliy Ostashko},
|
| 65 |
-
year={
|
| 66 |
url={https://esemi.org}
|
| 67 |
}
|
| 68 |
|
|
|
|
| 62 |
@misc{Uaritm,
|
| 63 |
title={SetFit: Classification of medical texts},
|
| 64 |
author={Vitaliy Ostashko},
|
| 65 |
+
year={2023},
|
| 66 |
url={https://esemi.org}
|
| 67 |
}
|
| 68 |
|