Upload TFDistilBertForSequenceClassification
Browse files- README.md +1 -1
- config.json +40 -40
- tf_model.h5 +1 -1
README.md
CHANGED
@@ -33,7 +33,7 @@ More information needed
|
|
33 |
### Training hyperparameters
|
34 |
|
35 |
The following hyperparameters were used during training:
|
36 |
-
- optimizer: {'name': 'Adam', 'weight_decay': None, 'clipnorm': None, 'global_clipnorm': None, 'clipvalue': None, 'use_ema': False, 'ema_momentum': 0.99, 'ema_overwrite_frequency': None, 'jit_compile':
|
37 |
- training_precision: float32
|
38 |
|
39 |
### Training results
|
|
|
33 |
### Training hyperparameters
|
34 |
|
35 |
The following hyperparameters were used during training:
|
36 |
+
- optimizer: {'name': 'Adam', 'weight_decay': None, 'clipnorm': None, 'global_clipnorm': None, 'clipvalue': None, 'use_ema': False, 'ema_momentum': 0.99, 'ema_overwrite_frequency': None, 'jit_compile': True, 'is_legacy_optimizer': False, 'learning_rate': {'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 2e-05, 'decay_steps': 1908, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}}, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False}
|
37 |
- training_precision: float32
|
38 |
|
39 |
### Training results
|
config.json
CHANGED
@@ -9,49 +9,49 @@
|
|
9 |
"dropout": 0.1,
|
10 |
"hidden_dim": 3072,
|
11 |
"id2label": {
|
12 |
-
"0": "
|
13 |
-
"1": "
|
14 |
-
"2": "
|
15 |
-
"3": "
|
16 |
-
"4": "
|
17 |
-
"5": "
|
18 |
-
"6": "
|
19 |
-
"7": "
|
20 |
-
"8": "
|
21 |
-
"9": "
|
22 |
-
"10": "
|
23 |
-
"11": "
|
24 |
-
"12": "
|
25 |
-
"13": "
|
26 |
-
"14": "
|
27 |
-
"15": "
|
28 |
-
"16": "
|
29 |
-
"17": "
|
30 |
-
"18": "
|
31 |
-
"19": "
|
32 |
},
|
33 |
"initializer_range": 0.02,
|
34 |
"label2id": {
|
35 |
-
"
|
36 |
-
"
|
37 |
-
"
|
38 |
-
"
|
39 |
-
"
|
40 |
-
"
|
41 |
-
"
|
42 |
-
"
|
43 |
-
"
|
44 |
-
"
|
45 |
-
"
|
46 |
-
"
|
47 |
-
"
|
48 |
-
"
|
49 |
-
"
|
50 |
-
"
|
51 |
-
"
|
52 |
-
"
|
53 |
-
"
|
54 |
-
"
|
55 |
},
|
56 |
"max_position_embeddings": 512,
|
57 |
"model_type": "distilbert",
|
|
|
9 |
"dropout": 0.1,
|
10 |
"hidden_dim": 3072,
|
11 |
"id2label": {
|
12 |
+
"0": "alt.atheism",
|
13 |
+
"1": "comp.graphics",
|
14 |
+
"2": "comp.os.ms-windows.misc",
|
15 |
+
"3": "comp.sys.ibm.pc.hardware",
|
16 |
+
"4": "comp.sys.mac.hardware",
|
17 |
+
"5": "comp.windows.x",
|
18 |
+
"6": "misc.forsale",
|
19 |
+
"7": "rec.autos",
|
20 |
+
"8": "rec.motorcycles",
|
21 |
+
"9": "rec.sport.baseball",
|
22 |
+
"10": "rec.sport.hockey",
|
23 |
+
"11": "sci.crypt",
|
24 |
+
"12": "sci.electronics",
|
25 |
+
"13": "sci.med",
|
26 |
+
"14": "sci.space",
|
27 |
+
"15": "soc.religion.christian",
|
28 |
+
"16": "talk.politics.guns",
|
29 |
+
"17": "talk.politics.mideast",
|
30 |
+
"18": "talk.politics.misc",
|
31 |
+
"19": "talk.religion.misc"
|
32 |
},
|
33 |
"initializer_range": 0.02,
|
34 |
"label2id": {
|
35 |
+
"alt.atheism": 0,
|
36 |
+
"comp.graphics": 1,
|
37 |
+
"comp.os.ms-windows.misc": 2,
|
38 |
+
"comp.sys.ibm.pc.hardware": 3,
|
39 |
+
"comp.sys.mac.hardware": 4,
|
40 |
+
"comp.windows.x": 5,
|
41 |
+
"misc.forsale": 6,
|
42 |
+
"rec.autos": 7,
|
43 |
+
"rec.motorcycles": 8,
|
44 |
+
"rec.sport.baseball": 9,
|
45 |
+
"rec.sport.hockey": 10,
|
46 |
+
"sci.crypt": 11,
|
47 |
+
"sci.electronics": 12,
|
48 |
+
"sci.med": 13,
|
49 |
+
"sci.space": 14,
|
50 |
+
"soc.religion.christian": 15,
|
51 |
+
"talk.politics.guns": 16,
|
52 |
+
"talk.politics.mideast": 17,
|
53 |
+
"talk.politics.misc": 18,
|
54 |
+
"talk.religion.misc": 19
|
55 |
},
|
56 |
"max_position_embeddings": 512,
|
57 |
"model_type": "distilbert",
|
tf_model.h5
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 268007104
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:21fe423fa93ddc48653bb232add12005ee8130f31b2fbdf49a7c994ba31cf1b6
|
3 |
size 268007104
|