Add SetFit model
Browse files- README.md +2 -2
- model.safetensors +1 -1
- model_head.pkl +2 -2
README.md
CHANGED
|
@@ -7,7 +7,7 @@ tags:
|
|
| 7 |
pipeline_tag: text-classification
|
| 8 |
---
|
| 9 |
|
| 10 |
-
# /var/folders/gr/47hycvx13rd_q25kzttvfx6h0000gn/T/
|
| 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 +28,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("/var/folders/gr/47hycvx13rd_q25kzttvfx6h0000gn/T/
|
| 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 |
+
# /var/folders/gr/47hycvx13rd_q25kzttvfx6h0000gn/T/tmp0pn6wamf/abolton99/tovic_content_4e
|
| 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 |
from setfit import SetFitModel
|
| 29 |
|
| 30 |
# Download from Hub and run inference
|
| 31 |
+
model = SetFitModel.from_pretrained("/var/folders/gr/47hycvx13rd_q25kzttvfx6h0000gn/T/tmp0pn6wamf/abolton99/tovic_content_4e")
|
| 32 |
# Run inference
|
| 33 |
preds = model(["i loved the spiderman movie!", "pineapple on pizza is the worst 🤮"])
|
| 34 |
```
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 437967672
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1b33d7ee368a409016e31e4f00906e663b1b6de6cd518320e4c045d83a6ce563
|
| 3 |
size 437967672
|
model_head.pkl
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:550a80326d957baf9128d553b0c78fb5301ca9ed335b754b1fbd602811d24f43
|
| 3 |
+
size 43967
|