TUEN-YUE commited on
Commit
f9b1265
·
verified ·
1 Parent(s): 0f34c61

Upload model

Browse files
Files changed (2) hide show
  1. config.json +3 -16
  2. model.safetensors +2 -2
config.json CHANGED
@@ -7,7 +7,7 @@
7
  "model": {
8
  "cls": {
9
  "combined_dim": 128,
10
- "combined_input": 1024,
11
  "n_layers": 2,
12
  "num_classes": 1,
13
  "skip_in": [
@@ -21,7 +21,7 @@
21
  80
22
  ],
23
  "tfidf_hidden_dim": 512,
24
- "tfidf_input_dim": 8192,
25
  "tfidf_output_dim": 128,
26
  "weight_norm": true
27
  },
@@ -34,19 +34,6 @@
34
  80
35
  ],
36
  "weight_norm": true
37
- },
38
- "seq": {
39
- "freeze": true,
40
- "hidden_dim": 256,
41
- "input_dim": 768,
42
- "lstm_in": 768,
43
- "n_layers": 2,
44
- "output_dim": 128,
45
- "skip_in": [
46
- 80
47
- ],
48
- "use_LSTM": false,
49
- "weight_norm": true
50
  }
51
  },
52
  "model_type": "headlineclassifier",
@@ -55,7 +42,7 @@
55
  "anneal_end": 5,
56
  "batch_size": 32,
57
  "end_iter": 10,
58
- "learning_rate": 0.0005,
59
  "learning_rate_alpha": 0.05,
60
  "save_freq": 5,
61
  "val_freq": 1,
 
7
  "model": {
8
  "cls": {
9
  "combined_dim": 128,
10
+ "combined_input": 768,
11
  "n_layers": 2,
12
  "num_classes": 1,
13
  "skip_in": [
 
21
  80
22
  ],
23
  "tfidf_hidden_dim": 512,
24
+ "tfidf_input_dim": 8145,
25
  "tfidf_output_dim": 128,
26
  "weight_norm": true
27
  },
 
34
  80
35
  ],
36
  "weight_norm": true
 
 
 
 
 
 
 
 
 
 
 
 
 
37
  }
38
  },
39
  "model_type": "headlineclassifier",
 
42
  "anneal_end": 5,
43
  "batch_size": 32,
44
  "end_iter": 10,
45
+ "learning_rate": 2e-05,
46
  "learning_rate_alpha": 0.05,
47
  "save_freq": 5,
48
  "val_freq": 1,
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ff99f937becf8d9a2e97d4ebd993262caefe40bfe284c78f6ff651391d2fb2a6
3
- size 1081039772
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e762dac2c01a466cbf1a9b683e4941a26ffd72fbbb00687d9002d5031d10ddd9
3
+ size 456666408