xeonkai commited on
Commit
bc04274
1 Parent(s): a232f36

Add SetFit model

Browse files
Files changed (3) hide show
  1. README.md +2 -2
  2. model_head.pkl +2 -2
  3. pytorch_model.bin +1 -1
README.md CHANGED
@@ -7,7 +7,7 @@ tags:
7
  pipeline_tag: text-classification
8
  ---
9
 
10
- # C:\Users\LINUSL~1\AppData\Local\Temp\tmpejp_ke_t\xeonkai\setfit-articles-labels
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("C:\Users\LINUSL~1\AppData\Local\Temp\tmpejp_ke_t\xeonkai\setfit-articles-labels")
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\LINUSL~1\AppData\Local\Temp\tmph5kuk9wb\xeonkai\setfit-articles-labels
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\LINUSL~1\AppData\Local\Temp\tmph5kuk9wb\xeonkai\setfit-articles-labels")
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:630a68fd7af4caffc741371d931ba0b074ebc581e94a8560407c165c01711ffa
3
- size 283294
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c36d239a9abbe846b828a5663c00caf93564ed4207e2b0e2ad3f1d3aa39743f
3
+ size 262865
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3dc9289aa4c75bb7dba8221105ef077673188ff34bd119af9a208425733dd30e
3
  size 90888945
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e07bbe21b782c28fef2086f2a225d8d41d0e852cf2ff881748b3ce7afc88907
3
  size 90888945