furyhawk commited on
Commit
98db001
·
1 Parent(s): 8efe91e

Add SetFit model

Browse files
Files changed (2) hide show
  1. README.md +2 -2
  2. pytorch_model.bin +1 -1
README.md CHANGED
@@ -7,7 +7,7 @@ tags:
7
  pipeline_tag: text-classification
8
  ---
9
 
10
- # /var/folders/p4/kcmtkxw53z54k341vwwykts80000gn/T/tmppmkyneb0/furyhawk/few-shot-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/p4/kcmtkxw53z54k341vwwykts80000gn/T/tmppmkyneb0/furyhawk/few-shot-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/p4/kcmtkxw53z54k341vwwykts80000gn/T/tmp6nofg6fe/furyhawk/few-shot-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/p4/kcmtkxw53z54k341vwwykts80000gn/T/tmp6nofg6fe/furyhawk/few-shot-setfit-model")
32
  # Run inference
33
  preds = model(["i loved the spiderman movie!", "pineapple on pizza is the worst 🤮"])
34
  ```
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3f4f28f2e1c09df347784a8dba5296f9b13299d1de8864b8a77c2a5969ae2e22
3
  size 438009257
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f596d0589031dbf35cd3392da995cb77d65ad56f30e671b36d9836ca305bb7ec
3
  size 438009257