Text Classification
setfit
Safetensors
sentence-transformers
mpnet
generated_from_setfit_trainer
Eval Results (legacy)
text-embeddings-inference
Instructions to use krish2505/setfitmkrt2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- setfit
How to use krish2505/setfitmkrt2 with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("krish2505/setfitmkrt2") preds = model.predict(["i loved the spiderman movie!", "pineapple on pizza is the worst"]) print(preds) - sentence-transformers
How to use krish2505/setfitmkrt2 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("krish2505/setfitmkrt2") 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 config.json
Browse files- config.json +11 -0
config.json
CHANGED
|
@@ -31,5 +31,16 @@
|
|
| 31 |
"6": "6-auditors report/result",
|
| 32 |
"7": "7-research",
|
| 33 |
"8": "8-resignation"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
}
|
| 35 |
}
|
|
|
|
| 31 |
"6": "6-auditors report/result",
|
| 32 |
"7": "7-research",
|
| 33 |
"8": "8-resignation"
|
| 34 |
+
},
|
| 35 |
+
"label2id": {
|
| 36 |
+
"0-press release/advertisement/newspaper publication": 0,
|
| 37 |
+
"1-business updates/strategic announcement/clarification sought": 1,
|
| 38 |
+
"2-Investor meetings/board meeting": 2,
|
| 39 |
+
"3-earnings call transcript": 3,
|
| 40 |
+
"4-esop/esps": 4,
|
| 41 |
+
"5-violation/litigation/penalty": 5,
|
| 42 |
+
"6-auditors report/result": 6,
|
| 43 |
+
"7-research": 7,
|
| 44 |
+
"8-resignation": 8
|
| 45 |
}
|
| 46 |
}
|