Push model using huggingface_hub.
Browse files- README.md +3 -4
- config.json +1 -1
- model.safetensors +1 -1
- model_head.pkl +2 -2
README.md
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
---
|
2 |
-
base_model: sentence-transformers/paraphrase-mpnet-base-v2
|
3 |
library_name: setfit
|
4 |
metrics:
|
5 |
- accuracy
|
@@ -13,9 +12,9 @@ widget: []
|
|
13 |
inference: true
|
14 |
---
|
15 |
|
16 |
-
# SetFit
|
17 |
|
18 |
-
This is a [SetFit](https://github.com/huggingface/setfit) model that can be used for Text Classification.
|
19 |
|
20 |
The model has been trained using an efficient few-shot learning technique that involves:
|
21 |
|
@@ -26,7 +25,7 @@ The model has been trained using an efficient few-shot learning technique that i
|
|
26 |
|
27 |
### Model Description
|
28 |
- **Model Type:** SetFit
|
29 |
-
- **Sentence Transformer
|
30 |
- **Classification head:** a [LogisticRegression](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html) instance
|
31 |
- **Maximum Sequence Length:** 512 tokens
|
32 |
- **Number of Classes:** 11 classes
|
|
|
1 |
---
|
|
|
2 |
library_name: setfit
|
3 |
metrics:
|
4 |
- accuracy
|
|
|
12 |
inference: true
|
13 |
---
|
14 |
|
15 |
+
# SetFit
|
16 |
|
17 |
+
This is a [SetFit](https://github.com/huggingface/setfit) model that can be used for Text Classification. A [LogisticRegression](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html) instance is used for classification.
|
18 |
|
19 |
The model has been trained using an efficient few-shot learning technique that involves:
|
20 |
|
|
|
25 |
|
26 |
### Model Description
|
27 |
- **Model Type:** SetFit
|
28 |
+
<!-- - **Sentence Transformer:** [Unknown](https://huggingface.co/unknown) -->
|
29 |
- **Classification head:** a [LogisticRegression](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html) instance
|
30 |
- **Maximum Sequence Length:** 512 tokens
|
31 |
- **Number of Classes:** 11 classes
|
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"MPNetModel"
|
5 |
],
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "setfit_arxiv",
|
3 |
"architectures": [
|
4 |
"MPNetModel"
|
5 |
],
|
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:56351e51961d8ae404e24faeae000728e3a441feecb1ce01ec16059b1a95a117
|
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:0bf4e9d2676418f9a583d56885c1b06f93c95a54bb778ca5c009bbb03cf20662
|
3 |
+
size 62439
|