fathyshalab
commited on
Commit
•
bb6fb04
1
Parent(s):
8c7f709
Add SetFit model
Browse files- README.md +2 -2
- model_head.pkl +2 -2
- pytorch_model.bin +1 -1
README.md
CHANGED
@@ -7,7 +7,7 @@ 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 +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("
|
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 |
+
# C:\Users\F896D~1.SHA\AppData\Local\Temp\tmp3r6dzq0v\fathyshalab\mdcsi-haus-reinigung-setfit
|
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("C:\Users\F896D~1.SHA\AppData\Local\Temp\tmp3r6dzq0v\fathyshalab\mdcsi-haus-reinigung-setfit")
|
32 |
# Run inference
|
33 |
preds = model(["i loved the spiderman movie!", "pineapple on pizza is the worst 🤮"])
|
34 |
```
|
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:80abd56f585e976a7fb2caabdd7ab8c29f5b2520b2c7fd10a188589c7989be96
|
3 |
+
size 80815
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 498653741
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:999a3767ab21fa8abf37f1cf19cbd468eb6d8cf31a78f3439f626bba4db4f584
|
3 |
size 498653741
|