abolton99 commited on
Commit
0da2449
·
1 Parent(s): ad18340

Add SetFit model

Browse files
Files changed (3) hide show
  1. README.md +2 -2
  2. model.safetensors +1 -1
  3. model_head.pkl +2 -2
README.md CHANGED
@@ -7,7 +7,7 @@ tags:
7
  pipeline_tag: text-classification
8
  ---
9
 
10
- # /var/folders/gr/47hycvx13rd_q25kzttvfx6h0000gn/T/tmp2m9f1amp/abolton99/tovic_content_4e
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/gr/47hycvx13rd_q25kzttvfx6h0000gn/T/tmp2m9f1amp/abolton99/tovic_content_4e")
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/gr/47hycvx13rd_q25kzttvfx6h0000gn/T/tmp0pn6wamf/abolton99/tovic_content_4e
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/gr/47hycvx13rd_q25kzttvfx6h0000gn/T/tmp0pn6wamf/abolton99/tovic_content_4e")
32
  # Run inference
33
  preds = model(["i loved the spiderman movie!", "pineapple on pizza is the worst 🤮"])
34
  ```
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5909b910d5775c77c9430d7c5a4b006724e1e106b2dbcdaa5a9d936906749a70
3
  size 437967672
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b33d7ee368a409016e31e4f00906e663b1b6de6cd518320e4c045d83a6ce563
3
  size 437967672
model_head.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d675afdd3791410aa49263abd9358f9d0392f9a9d5d5ae478bb511a8b2735a6f
3
- size 31647
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:550a80326d957baf9128d553b0c78fb5301ca9ed335b754b1fbd602811d24f43
3
+ size 43967