Update README.md
Browse files
README.md
CHANGED
|
@@ -7,7 +7,9 @@ tags:
|
|
| 7 |
pipeline_tag: text-classification
|
| 8 |
---
|
| 9 |
|
| 10 |
-
#
|
|
|
|
|
|
|
| 11 |
|
| 12 |
This is a [SetFit model](https://github.com/huggingface/setfit) that can be used for text classification. The model has been trained using an efficient few-shot learning technique that involves:
|
| 13 |
|
|
@@ -28,7 +30,7 @@ You can then run inference as follows:
|
|
| 28 |
from setfit import SetFitModel
|
| 29 |
|
| 30 |
# Download from Hub and run inference
|
| 31 |
-
model = SetFitModel.from_pretrained("
|
| 32 |
# Run inference
|
| 33 |
preds = model(["i loved the spiderman movie!", "pineapple on pizza is the worst 🤮"])
|
| 34 |
```
|
|
|
|
| 7 |
pipeline_tag: text-classification
|
| 8 |
---
|
| 9 |
|
| 10 |
+
# SetFit/test-setfit-string-labels
|
| 11 |
+
|
| 12 |
+
**NOTE**: This model exists only for test cases in the SetFit repository, it was not trained to be strong.
|
| 13 |
|
| 14 |
This is a [SetFit model](https://github.com/huggingface/setfit) that can be used for text classification. The model has been trained using an efficient few-shot learning technique that involves:
|
| 15 |
|
|
|
|
| 30 |
from setfit import SetFitModel
|
| 31 |
|
| 32 |
# Download from Hub and run inference
|
| 33 |
+
model = SetFitModel.from_pretrained("SetFit/test-setfit-string-labels")
|
| 34 |
# Run inference
|
| 35 |
preds = model(["i loved the spiderman movie!", "pineapple on pizza is the worst 🤮"])
|
| 36 |
```
|