deepspringer commited on
Commit
e05a0b0
1 Parent(s): 5353c0a

Upload TFDistilBertForSequenceClassification

Browse files
Files changed (3) hide show
  1. README.md +48 -0
  2. config.json +109 -0
  3. tf_model.h5 +3 -0
README.md ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - generated_from_keras_callback
5
+ model-index:
6
+ - name: my_bert_model_courses_and_subjects
7
+ results: []
8
+ ---
9
+
10
+ <!-- This model card has been generated automatically according to the information Keras had access to. You should
11
+ probably proofread and complete it, then remove this comment. -->
12
+
13
+ # my_bert_model_courses_and_subjects
14
+
15
+ This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
16
+ It achieves the following results on the evaluation set:
17
+
18
+
19
+ ## Model description
20
+
21
+ More information needed
22
+
23
+ ## Intended uses & limitations
24
+
25
+ More information needed
26
+
27
+ ## Training and evaluation data
28
+
29
+ More information needed
30
+
31
+ ## Training procedure
32
+
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': 1188, '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
40
+
41
+
42
+
43
+ ### Framework versions
44
+
45
+ - Transformers 4.28.0
46
+ - TensorFlow 2.12.0
47
+ - Datasets 2.12.0
48
+ - Tokenizers 0.13.3
config.json ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "distilbert-base-uncased",
3
+ "activation": "gelu",
4
+ "architectures": [
5
+ "DistilBertForSequenceClassification"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "dim": 768,
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
+ "20": "LABEL_20",
33
+ "21": "LABEL_21",
34
+ "22": "LABEL_22",
35
+ "23": "LABEL_23",
36
+ "24": "LABEL_24",
37
+ "25": "LABEL_25",
38
+ "26": "LABEL_26",
39
+ "27": "LABEL_27",
40
+ "28": "LABEL_28",
41
+ "29": "LABEL_29",
42
+ "30": "LABEL_30",
43
+ "31": "LABEL_31",
44
+ "32": "LABEL_32",
45
+ "33": "LABEL_33",
46
+ "34": "LABEL_34",
47
+ "35": "LABEL_35",
48
+ "36": "LABEL_36",
49
+ "37": "LABEL_37",
50
+ "38": "LABEL_38",
51
+ "39": "LABEL_39",
52
+ "40": "LABEL_40"
53
+ },
54
+ "initializer_range": 0.02,
55
+ "label2id": {
56
+ "LABEL_0": 0,
57
+ "LABEL_1": 1,
58
+ "LABEL_10": 10,
59
+ "LABEL_11": 11,
60
+ "LABEL_12": 12,
61
+ "LABEL_13": 13,
62
+ "LABEL_14": 14,
63
+ "LABEL_15": 15,
64
+ "LABEL_16": 16,
65
+ "LABEL_17": 17,
66
+ "LABEL_18": 18,
67
+ "LABEL_19": 19,
68
+ "LABEL_2": 2,
69
+ "LABEL_20": 20,
70
+ "LABEL_21": 21,
71
+ "LABEL_22": 22,
72
+ "LABEL_23": 23,
73
+ "LABEL_24": 24,
74
+ "LABEL_25": 25,
75
+ "LABEL_26": 26,
76
+ "LABEL_27": 27,
77
+ "LABEL_28": 28,
78
+ "LABEL_29": 29,
79
+ "LABEL_3": 3,
80
+ "LABEL_30": 30,
81
+ "LABEL_31": 31,
82
+ "LABEL_32": 32,
83
+ "LABEL_33": 33,
84
+ "LABEL_34": 34,
85
+ "LABEL_35": 35,
86
+ "LABEL_36": 36,
87
+ "LABEL_37": 37,
88
+ "LABEL_38": 38,
89
+ "LABEL_39": 39,
90
+ "LABEL_4": 4,
91
+ "LABEL_40": 40,
92
+ "LABEL_5": 5,
93
+ "LABEL_6": 6,
94
+ "LABEL_7": 7,
95
+ "LABEL_8": 8,
96
+ "LABEL_9": 9
97
+ },
98
+ "max_position_embeddings": 512,
99
+ "model_type": "distilbert",
100
+ "n_heads": 12,
101
+ "n_layers": 6,
102
+ "pad_token_id": 0,
103
+ "qa_dropout": 0.1,
104
+ "seq_classif_dropout": 0.2,
105
+ "sinusoidal_pos_embds": false,
106
+ "tie_weights_": true,
107
+ "transformers_version": "4.28.0",
108
+ "vocab_size": 30522
109
+ }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da9896b0576e41ec3ce3bd73321ce27885887abac39dcfe130171ca10159537b
3
+ size 268071616