gwnavarro commited on
Commit
9ca6513
1 Parent(s): 58b227b

Upload TFDistilBertForSequenceClassification

Browse files
Files changed (3) hide show
  1. README.md +1 -1
  2. config.json +40 -40
  3. 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': False, '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
 
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": "LABEL_0",
13
- "1": "LABEL_1",
14
- "2": "LABEL_2",
15
- "3": "LABEL_3",
16
- "4": "LABEL_4",
17
- "5": "LABEL_5",
18
- "6": "LABEL_6",
19
- "7": "LABEL_7",
20
- "8": "LABEL_8",
21
- "9": "LABEL_9",
22
- "10": "LABEL_10",
23
- "11": "LABEL_11",
24
- "12": "LABEL_12",
25
- "13": "LABEL_13",
26
- "14": "LABEL_14",
27
- "15": "LABEL_15",
28
- "16": "LABEL_16",
29
- "17": "LABEL_17",
30
- "18": "LABEL_18",
31
- "19": "LABEL_19"
32
  },
33
  "initializer_range": 0.02,
34
  "label2id": {
35
- "LABEL_0": 0,
36
- "LABEL_1": 1,
37
- "LABEL_10": 10,
38
- "LABEL_11": 11,
39
- "LABEL_12": 12,
40
- "LABEL_13": 13,
41
- "LABEL_14": 14,
42
- "LABEL_15": 15,
43
- "LABEL_16": 16,
44
- "LABEL_17": 17,
45
- "LABEL_18": 18,
46
- "LABEL_19": 19,
47
- "LABEL_2": 2,
48
- "LABEL_3": 3,
49
- "LABEL_4": 4,
50
- "LABEL_5": 5,
51
- "LABEL_6": 6,
52
- "LABEL_7": 7,
53
- "LABEL_8": 8,
54
- "LABEL_9": 9
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:2d44552e100fdb90642048e16ae46c6b6dd7336ae591afd3c2dd02a427f1511e
3
  size 268007104
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21fe423fa93ddc48653bb232add12005ee8130f31b2fbdf49a7c994ba31cf1b6
3
  size 268007104