samueldobbie commited on
Commit
a0537ec
1 Parent(s): d88e4e3

Add SetFit model

Browse files
Files changed (3) hide show
  1. README.md +2 -2
  2. model_head.pkl +1 -1
  3. pytorch_model.bin +1 -1
README.md CHANGED
@@ -7,7 +7,7 @@ tags:
7
  pipeline_tag: text-classification
8
  ---
9
 
10
- # /var/folders/23/pyhmw31n2mj04ngy5fpcnrm40000gn/T/tmp67mkqtsm/samueldobbie/setfit-ds
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/23/pyhmw31n2mj04ngy5fpcnrm40000gn/T/tmp67mkqtsm/samueldobbie/setfit-ds")
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/23/pyhmw31n2mj04ngy5fpcnrm40000gn/T/tmp7z09_qie/samueldobbie/setfit-ds
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/23/pyhmw31n2mj04ngy5fpcnrm40000gn/T/tmp7z09_qie/samueldobbie/setfit-ds")
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:6993682c844269bbd2d1e393a1eb45c7c13485965dc8e160a0e93c3a56b7a601
3
  size 6991
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c17775b8405a97db04eaa4f4056754e43cbae4957d6bd60c34730c746f4bfb5
3
  size 6991
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9bb4cb2ac2fcee6d8ef68435c0b62a9584b63e92c51d0edad38ea2407afd9e02
3
  size 438013677
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:11d13c4aa6d0f1b5ed0bfeb8ff34e55873c36e0a1197191386fd66191e6cddea
3
  size 438013677