fhamborg commited on
Commit
82a4b3b
·
1 Parent(s): c7289b1

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/tmpu5azod0n/fhamborg/newsframes-gov
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/tmpu5azod0n/fhamborg/newsframes-gov")
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/tmpltc1u5xt/fhamborg/newsframes-gov
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/tmpltc1u5xt/fhamborg/newsframes-gov")
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-GOV_4-False-0.15-5e-06-10-3-0.5013648539675772/",
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-GOV_4-False-0.15-5e-06-15-4-0.5163019500462747-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:78fc6237ecc994d6ca68506b89f82e4d9b9362369faf01e3d864756dbcd9549a
3
  size 25479
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c0c6d8f32991701b5463e6b48d45b35164047b5e4b28a332fefed38418ae6f7f
3
  size 25479
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6177a37e2871263e5a21d864122e83b5d88e5c0a08f98738b9db6cfddc622462
3
  size 438009257
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15fa4a94a984974b1841e86eeb2599f6ceb72fef2bf6c3c88eef147054344fa6
3
  size 438009257