ayala-usma commited on
Commit
7ada186
1 Parent(s): 657439c

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/q_/kmztc7y12338z11rmc5hxcwh0000gn/T/tmpe0n61x_c/ayala-usma/first_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/q_/kmztc7y12338z11rmc5hxcwh0000gn/T/tmpe0n61x_c/ayala-usma/first_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/q_/kmztc7y12338z11rmc5hxcwh0000gn/T/tmpirlki321/ayala-usma/first_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/q_/kmztc7y12338z11rmc5hxcwh0000gn/T/tmpirlki321/ayala-usma/first_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:db30a1ae4ac72d8ee97c0c20cdec8eb1e65ec49678478fa37f88d7e93884e691
3
  size 6975
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0950da7755dcf46422f2247e1dc933e108298aff4d78a77a5f05df41a0948316
3
  size 6975
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a3267867c57708997f6bec575a26a28dc59df8bd756fc19b0584b1bc4e1587a3
3
  size 438013677
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:990ad68efa6772892dc8e61aefeb76090246b9bd04496b7bbe407f17146368fe
3
  size 438013677