fhamborg commited on
Commit
0053914
·
1 Parent(s): 0ad47d2

Push model using huggingface_hub.

Browse files
Files changed (4) hide show
  1. README.md +2 -2
  2. config.json +1 -1
  3. model_head.pkl +1 -1
  4. pytorch_model.bin +1 -1
README.md CHANGED
@@ -7,7 +7,7 @@ tags:
7
  pipeline_tag: text-classification
8
  ---
9
 
10
- # /var/folders/qg/vmj6zq4s7hb2pbkp3b8kstvh0000gn/T/tmp0fx3l9_4/fhamborg/newsframes-econ
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/qg/vmj6zq4s7hb2pbkp3b8kstvh0000gn/T/tmp0fx3l9_4/fhamborg/newsframes-econ")
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/qg/vmj6zq4s7hb2pbkp3b8kstvh0000gn/T/tmpyuiomb14/fhamborg/newsframes-econ
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/qg/vmj6zq4s7hb2pbkp3b8kstvh0000gn/T/tmpyuiomb14/fhamborg/newsframes-econ")
32
  # Run inference
33
  preds = model(["i loved the spiderman movie!", "pineapple on pizza is the worst 🤮"])
34
  ```
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "models/sentence-transformers-all-mpnet-base-v2-dataset_systematic_random_compare_with_absent.json-ECON_4-False-0.15-5e-06-20-3-0.5644162122897978/",
3
  "architectures": [
4
  "MPNetModel"
5
  ],
 
1
  {
2
+ "_name_or_path": "models/sentence-transformers-all-mpnet-base-v2-dataset_systematic-random_compare_with-absent_radius-1.json-ECON_4-False-0.15-5e-06-15-2-0.5865167939335675-None-False/",
3
  "architectures": [
4
  "MPNetModel"
5
  ],
model_head.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ed4e8ed75cee7717e523a80dc7aa6764d62c075418726abb3a7d44d54acfb29f
3
  size 25479
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:766bf77772af292368d2af4d8565d990cf4c5a533876eebaab30bcb3f8d75f43
3
  size 25479
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9ce6f9d78de173f6d0c48afc52a3b836dac89710b5a4af2b895e34ab9034c9d5
3
  size 438009257
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:47b38407231c0e99b3ec2a5f4c1aec702b92e8f0809e897675ec5fae4ab91aad
3
  size 438009257