Text Classification
setfit
Safetensors
sentence-transformers
English
bert
sentiment-analysis
few-shot-learning
Eval Results (legacy)
text-embeddings-inference
Instructions to use loganh274/nlp-testing-setfit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- setfit
How to use loganh274/nlp-testing-setfit with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("loganh274/nlp-testing-setfit") preds = model.predict(["i loved the spiderman movie!", "pineapple on pizza is the worst"]) print(preds) - sentence-transformers
How to use loganh274/nlp-testing-setfit with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("loganh274/nlp-testing-setfit") 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
Upload classification_report.json with huggingface_hub
Browse files- classification_report.json +17 -17
classification_report.json
CHANGED
|
@@ -1,26 +1,26 @@
|
|
| 1 |
{
|
| 2 |
"0": {
|
| 3 |
-
"precision": 0.
|
| 4 |
-
"recall": 0.
|
| 5 |
-
"f1-score": 0.
|
| 6 |
"support": 20.0
|
| 7 |
},
|
| 8 |
"1": {
|
| 9 |
-
"precision": 0.
|
| 10 |
"recall": 0.75,
|
| 11 |
-
"f1-score": 0.
|
| 12 |
"support": 20.0
|
| 13 |
},
|
| 14 |
"2": {
|
| 15 |
-
"precision": 0.
|
| 16 |
-
"recall":
|
| 17 |
-
"f1-score": 0.
|
| 18 |
"support": 20.0
|
| 19 |
},
|
| 20 |
"3": {
|
| 21 |
"precision": 1.0,
|
| 22 |
-
"recall": 0.
|
| 23 |
-
"f1-score": 0.
|
| 24 |
"support": 20.0
|
| 25 |
},
|
| 26 |
"4": {
|
|
@@ -29,17 +29,17 @@
|
|
| 29 |
"f1-score": 1.0,
|
| 30 |
"support": 20.0
|
| 31 |
},
|
| 32 |
-
"accuracy": 0.
|
| 33 |
"macro avg": {
|
| 34 |
-
"precision": 0.
|
| 35 |
-
"recall": 0.
|
| 36 |
-
"f1-score": 0.
|
| 37 |
"support": 100.0
|
| 38 |
},
|
| 39 |
"weighted avg": {
|
| 40 |
-
"precision": 0.
|
| 41 |
-
"recall": 0.
|
| 42 |
-
"f1-score": 0.
|
| 43 |
"support": 100.0
|
| 44 |
}
|
| 45 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"0": {
|
| 3 |
+
"precision": 0.8636363636363636,
|
| 4 |
+
"recall": 0.95,
|
| 5 |
+
"f1-score": 0.9047619047619048,
|
| 6 |
"support": 20.0
|
| 7 |
},
|
| 8 |
"1": {
|
| 9 |
+
"precision": 0.8333333333333334,
|
| 10 |
"recall": 0.75,
|
| 11 |
+
"f1-score": 0.7894736842105263,
|
| 12 |
"support": 20.0
|
| 13 |
},
|
| 14 |
"2": {
|
| 15 |
+
"precision": 0.8333333333333334,
|
| 16 |
+
"recall": 1.0,
|
| 17 |
+
"f1-score": 0.9090909090909091,
|
| 18 |
"support": 20.0
|
| 19 |
},
|
| 20 |
"3": {
|
| 21 |
"precision": 1.0,
|
| 22 |
+
"recall": 0.8,
|
| 23 |
+
"f1-score": 0.8888888888888888,
|
| 24 |
"support": 20.0
|
| 25 |
},
|
| 26 |
"4": {
|
|
|
|
| 29 |
"f1-score": 1.0,
|
| 30 |
"support": 20.0
|
| 31 |
},
|
| 32 |
+
"accuracy": 0.9,
|
| 33 |
"macro avg": {
|
| 34 |
+
"precision": 0.906060606060606,
|
| 35 |
+
"recall": 0.9,
|
| 36 |
+
"f1-score": 0.8984430773904458,
|
| 37 |
"support": 100.0
|
| 38 |
},
|
| 39 |
"weighted avg": {
|
| 40 |
+
"precision": 0.9060606060606061,
|
| 41 |
+
"recall": 0.9,
|
| 42 |
+
"f1-score": 0.8984430773904458,
|
| 43 |
"support": 100.0
|
| 44 |
}
|
| 45 |
}
|