dipawidia commited on
Commit
e1e1134
1 Parent(s): 2f87af8

Upload 3 files

Browse files
Files changed (3) hide show
  1. config.json +10 -1
  2. model.safetensors +3 -0
  3. tf_model.h5 +2 -2
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "xlnet-base-cased",
3
  "architectures": [
4
  "XLNetForSequenceClassification"
5
  ],
@@ -14,7 +14,15 @@
14
  "end_n_top": 5,
15
  "eos_token_id": 2,
16
  "ff_activation": "gelu",
 
 
 
 
17
  "initializer_range": 0.02,
 
 
 
 
18
  "layer_norm_eps": 1e-12,
19
  "mem_len": null,
20
  "model_type": "xlnet",
@@ -34,6 +42,7 @@
34
  "max_length": 250
35
  }
36
  },
 
37
  "transformers_version": "4.41.2",
38
  "untie_r": true,
39
  "use_mems_eval": true,
 
1
  {
2
+ "_name_or_path": "dipawidia/xlnet-base-cased-product-review-sentiment-analysis",
3
  "architectures": [
4
  "XLNetForSequenceClassification"
5
  ],
 
14
  "end_n_top": 5,
15
  "eos_token_id": 2,
16
  "ff_activation": "gelu",
17
+ "id2label": {
18
+ "0": "Negative",
19
+ "1": "Positive"
20
+ },
21
  "initializer_range": 0.02,
22
+ "label2id": {
23
+ "Negative": 0,
24
+ "Positive": 1
25
+ },
26
  "layer_norm_eps": 1e-12,
27
  "mem_len": null,
28
  "model_type": "xlnet",
 
42
  "max_length": 250
43
  }
44
  },
45
+ "torch_dtype": "float32",
46
  "transformers_version": "4.41.2",
47
  "untie_r": true,
48
  "use_mems_eval": true,
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:572a60fc24259586ad74a9599a9b98cd309f4adec7888efecf94d51ecf0599b5
3
+ size 469264592
tf_model.h5 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ac8466c6ec4f255089cb317f8fec7202b3ee0f5d1aad089ba8639942dcfd68f7
3
- size 469448712
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a9b4092f6c3ede45c822a53d689161b2edc011bc1a93146da5075f427f850dc
3
+ size 469432328