kenhktsui commited on
Commit
323c4e0
1 Parent(s): df8f365

Push model using huggingface_hub.

Browse files
Files changed (4) hide show
  1. README.md +3 -4
  2. config.json +1 -1
  3. model.safetensors +1 -1
  4. 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 with sentence-transformers/paraphrase-mpnet-base-v2
17
 
18
- This is a [SetFit](https://github.com/huggingface/setfit) model that can be used for Text Classification. This SetFit model uses [sentence-transformers/paraphrase-mpnet-base-v2](https://huggingface.co/sentence-transformers/paraphrase-mpnet-base-v2) as the Sentence Transformer embedding model. A [LogisticRegression](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html) instance is used for 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 body:** [sentence-transformers/paraphrase-mpnet-base-v2](https://huggingface.co/sentence-transformers/paraphrase-mpnet-base-v2)
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": "setfit/step_9775",
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:f367caaab5153f5d79ceb3d40855ce24a7af7cb68d35146ce25dce7617bafb70
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:5e976f5ff5a5a0dce6308060f039252f951d2482307ffaa46e166d85b285d420
3
- size 324
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0bf4e9d2676418f9a583d56885c1b06f93c95a54bb778ca5c009bbb03cf20662
3
+ size 62439