Kill Shot commited on
Commit
387b933
·
1 Parent(s): 329208c

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
- # /var/folders/lm/k69sycyx5538ldsk5n0ln5000000gn/T/tmp16yd7clo/killshot977/intents-setfit-model
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/lm/k69sycyx5538ldsk5n0ln5000000gn/T/tmp16yd7clo/killshot977/intents-setfit-model")
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/lm/k69sycyx5538ldsk5n0ln5000000gn/T/tmp7vmgfud9/killshot977/intents-setfit-model
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/lm/k69sycyx5538ldsk5n0ln5000000gn/T/tmp7vmgfud9/killshot977/intents-setfit-model")
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:cbb0c13c7a5c19ace4ed11e84a2afef1827d419b3373d400b2fe52e3f2570747
3
- size 19311
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd04f5856a9984f371eda2696733e04d1138ab537cf0d62007a7908ddca0d28e
3
+ size 74743
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a11794ed83a49c238a6f107c73021110a1abadb6117ea1481be0536f8eba6c3a
3
  size 438013677
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8dbf2055372c54635b60a56c3ead6a29bdd2e7eed01c68312fac4206a871765
3
  size 438013677