denizzhansahin commited on
Commit
31bb7d4
1 Parent(s): e0243ed

Upload model

Browse files
Files changed (4) hide show
  1. README.md +200 -198
  2. config.json +38 -0
  3. generation_config.json +6 -0
  4. tf_model.h5 +3 -0
README.md CHANGED
@@ -1,201 +1,203 @@
1
  ---
2
- library_name: transformers
3
- tags: []
 
 
 
 
 
4
  ---
5
 
6
- # Model Card for Model ID
7
-
8
- <!-- Provide a quick summary of what the model is/does. -->
9
-
10
-
11
-
12
- ## Model Details
13
-
14
- ### Model Description
15
-
16
- <!-- Provide a longer summary of what this model is. -->
17
-
18
- This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
19
-
20
- - **Developed by:** [More Information Needed]
21
- - **Funded by [optional]:** [More Information Needed]
22
- - **Shared by [optional]:** [More Information Needed]
23
- - **Model type:** [More Information Needed]
24
- - **Language(s) (NLP):** [More Information Needed]
25
- - **License:** [More Information Needed]
26
- - **Finetuned from model [optional]:** [More Information Needed]
27
-
28
- ### Model Sources [optional]
29
-
30
- <!-- Provide the basic links for the model. -->
31
-
32
- - **Repository:** [More Information Needed]
33
- - **Paper [optional]:** [More Information Needed]
34
- - **Demo [optional]:** [More Information Needed]
35
-
36
- ## Uses
37
-
38
- <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
-
40
- ### Direct Use
41
-
42
- <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
-
44
- [More Information Needed]
45
-
46
- ### Downstream Use [optional]
47
-
48
- <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
-
50
- [More Information Needed]
51
-
52
- ### Out-of-Scope Use
53
-
54
- <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
-
56
- [More Information Needed]
57
-
58
- ## Bias, Risks, and Limitations
59
-
60
- <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
-
62
- [More Information Needed]
63
-
64
- ### Recommendations
65
-
66
- <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
-
68
- Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
-
70
- ## How to Get Started with the Model
71
-
72
- Use the code below to get started with the model.
73
-
74
- [More Information Needed]
75
-
76
- ## Training Details
77
-
78
- ### Training Data
79
-
80
- <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
-
82
- [More Information Needed]
83
-
84
- ### Training Procedure
85
-
86
- <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
-
88
- #### Preprocessing [optional]
89
-
90
- [More Information Needed]
91
-
92
-
93
- #### Training Hyperparameters
94
-
95
- - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
-
97
- #### Speeds, Sizes, Times [optional]
98
-
99
- <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
-
101
- [More Information Needed]
102
-
103
- ## Evaluation
104
-
105
- <!-- This section describes the evaluation protocols and provides the results. -->
106
-
107
- ### Testing Data, Factors & Metrics
108
-
109
- #### Testing Data
110
-
111
- <!-- This should link to a Dataset Card if possible. -->
112
-
113
- [More Information Needed]
114
-
115
- #### Factors
116
-
117
- <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
-
119
- [More Information Needed]
120
-
121
- #### Metrics
122
-
123
- <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
-
125
- [More Information Needed]
126
-
127
- ### Results
128
-
129
- [More Information Needed]
130
-
131
- #### Summary
132
-
133
-
134
-
135
- ## Model Examination [optional]
136
-
137
- <!-- Relevant interpretability work for the model goes here -->
138
-
139
- [More Information Needed]
140
-
141
- ## Environmental Impact
142
-
143
- <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
-
145
- Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
-
147
- - **Hardware Type:** [More Information Needed]
148
- - **Hours used:** [More Information Needed]
149
- - **Cloud Provider:** [More Information Needed]
150
- - **Compute Region:** [More Information Needed]
151
- - **Carbon Emitted:** [More Information Needed]
152
-
153
- ## Technical Specifications [optional]
154
-
155
- ### Model Architecture and Objective
156
-
157
- [More Information Needed]
158
-
159
- ### Compute Infrastructure
160
-
161
- [More Information Needed]
162
-
163
- #### Hardware
164
-
165
- [More Information Needed]
166
-
167
- #### Software
168
-
169
- [More Information Needed]
170
-
171
- ## Citation [optional]
172
-
173
- <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
-
175
- **BibTeX:**
176
-
177
- [More Information Needed]
178
-
179
- **APA:**
180
-
181
- [More Information Needed]
182
-
183
- ## Glossary [optional]
184
-
185
- <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
-
187
- [More Information Needed]
188
-
189
- ## More Information [optional]
190
-
191
- [More Information Needed]
192
-
193
- ## Model Card Authors [optional]
194
-
195
- [More Information Needed]
196
-
197
- ## Model Card Contact
198
-
199
- [More Information Needed]
200
-
201
-
 
1
  ---
2
+ license: mit
3
+ base_model: gpt2
4
+ tags:
5
+ - generated_from_keras_callback
6
+ model-index:
7
+ - name: deneme_spor
8
+ results: []
9
  ---
10
 
11
+ <!-- This model card has been generated automatically according to the information Keras had access to. You should
12
+ probably proofread and complete it, then remove this comment. -->
13
+
14
+ # deneme_spor
15
+
16
+ This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Train Loss: 4.9093
19
+ - Validation Loss: 5.9538
20
+ - Epoch: 149
21
+
22
+ ## Model description
23
+
24
+ More information needed
25
+
26
+ ## Intended uses & limitations
27
+
28
+ More information needed
29
+
30
+ ## Training and evaluation data
31
+
32
+ More information needed
33
+
34
+ ## Training procedure
35
+
36
+ ### Training hyperparameters
37
+
38
+ The following hyperparameters were used during training:
39
+ - optimizer: {'name': 'AdamWeightDecay', 'learning_rate': {'module': 'transformers.optimization_tf', 'class_name': 'WarmUp', 'config': {'initial_learning_rate': 5e-05, 'decay_schedule_fn': {'module': 'keras.optimizers.schedules', 'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 5e-05, 'decay_steps': -963, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}, 'registered_name': None}, 'warmup_steps': 1000, 'power': 1.0, 'name': None}, 'registered_name': 'WarmUp'}, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False, 'weight_decay_rate': 0.01}
40
+ - training_precision: float32
41
+
42
+ ### Training results
43
+
44
+ | Train Loss | Validation Loss | Epoch |
45
+ |:----------:|:---------------:|:-----:|
46
+ | 9.1978 | 8.9070 | 0 |
47
+ | 8.7400 | 8.5517 | 1 |
48
+ | 8.4947 | 8.3909 | 2 |
49
+ | 8.3502 | 8.2608 | 3 |
50
+ | 8.2126 | 8.1241 | 4 |
51
+ | 8.0688 | 7.9827 | 5 |
52
+ | 7.9232 | 7.8449 | 6 |
53
+ | 7.7844 | 7.7107 | 7 |
54
+ | 7.6446 | 7.5719 | 8 |
55
+ | 7.4919 | 7.4263 | 9 |
56
+ | 7.3429 | 7.2975 | 10 |
57
+ | 7.2042 | 7.1774 | 11 |
58
+ | 7.0643 | 7.0685 | 12 |
59
+ | 6.9229 | 6.9668 | 13 |
60
+ | 6.7836 | 6.8770 | 14 |
61
+ | 6.6425 | 6.7752 | 15 |
62
+ | 6.4982 | 6.6895 | 16 |
63
+ | 6.3539 | 6.5963 | 17 |
64
+ | 6.2035 | 6.5170 | 18 |
65
+ | 6.0612 | 6.4285 | 19 |
66
+ | 5.9164 | 6.3429 | 20 |
67
+ | 5.7708 | 6.2664 | 21 |
68
+ | 5.6249 | 6.1997 | 22 |
69
+ | 5.4822 | 6.1348 | 23 |
70
+ | 5.3368 | 6.0659 | 24 |
71
+ | 5.1959 | 6.0042 | 25 |
72
+ | 5.0527 | 5.9525 | 26 |
73
+ | 4.9070 | 5.9538 | 27 |
74
+ | 4.9062 | 5.9538 | 28 |
75
+ | 4.9095 | 5.9538 | 29 |
76
+ | 4.9056 | 5.9538 | 30 |
77
+ | 4.9111 | 5.9538 | 31 |
78
+ | 4.9080 | 5.9538 | 32 |
79
+ | 4.9072 | 5.9538 | 33 |
80
+ | 4.9063 | 5.9538 | 34 |
81
+ | 4.9086 | 5.9538 | 35 |
82
+ | 4.9081 | 5.9538 | 36 |
83
+ | 4.9115 | 5.9538 | 37 |
84
+ | 4.9052 | 5.9538 | 38 |
85
+ | 4.9073 | 5.9538 | 39 |
86
+ | 4.9064 | 5.9538 | 40 |
87
+ | 4.9096 | 5.9538 | 41 |
88
+ | 4.9093 | 5.9538 | 42 |
89
+ | 4.9077 | 5.9538 | 43 |
90
+ | 4.9078 | 5.9538 | 44 |
91
+ | 4.9073 | 5.9538 | 45 |
92
+ | 4.9076 | 5.9538 | 46 |
93
+ | 4.9096 | 5.9538 | 47 |
94
+ | 4.9093 | 5.9538 | 48 |
95
+ | 4.9093 | 5.9538 | 49 |
96
+ | 4.9082 | 5.9538 | 50 |
97
+ | 4.9106 | 5.9538 | 51 |
98
+ | 4.9076 | 5.9538 | 52 |
99
+ | 4.9079 | 5.9538 | 53 |
100
+ | 4.9093 | 5.9538 | 54 |
101
+ | 4.9096 | 5.9538 | 55 |
102
+ | 4.9063 | 5.9538 | 56 |
103
+ | 4.9071 | 5.9538 | 57 |
104
+ | 4.9122 | 5.9538 | 58 |
105
+ | 4.9108 | 5.9538 | 59 |
106
+ | 4.9072 | 5.9538 | 60 |
107
+ | 4.9073 | 5.9538 | 61 |
108
+ | 4.9085 | 5.9538 | 62 |
109
+ | 4.9080 | 5.9538 | 63 |
110
+ | 4.9092 | 5.9538 | 64 |
111
+ | 4.9077 | 5.9538 | 65 |
112
+ | 4.9087 | 5.9538 | 66 |
113
+ | 4.9073 | 5.9538 | 67 |
114
+ | 4.9078 | 5.9538 | 68 |
115
+ | 4.9102 | 5.9538 | 69 |
116
+ | 4.9095 | 5.9538 | 70 |
117
+ | 4.9099 | 5.9538 | 71 |
118
+ | 4.9081 | 5.9538 | 72 |
119
+ | 4.9089 | 5.9538 | 73 |
120
+ | 4.9068 | 5.9538 | 74 |
121
+ | 4.9091 | 5.9538 | 75 |
122
+ | 4.9078 | 5.9538 | 76 |
123
+ | 4.9083 | 5.9538 | 77 |
124
+ | 4.9067 | 5.9538 | 78 |
125
+ | 4.9077 | 5.9538 | 79 |
126
+ | 4.9111 | 5.9538 | 80 |
127
+ | 4.9088 | 5.9538 | 81 |
128
+ | 4.9085 | 5.9538 | 82 |
129
+ | 4.9093 | 5.9538 | 83 |
130
+ | 4.9086 | 5.9538 | 84 |
131
+ | 4.9088 | 5.9538 | 85 |
132
+ | 4.9057 | 5.9538 | 86 |
133
+ | 4.9104 | 5.9538 | 87 |
134
+ | 4.9081 | 5.9538 | 88 |
135
+ | 4.9070 | 5.9538 | 89 |
136
+ | 4.9076 | 5.9538 | 90 |
137
+ | 4.9078 | 5.9538 | 91 |
138
+ | 4.9097 | 5.9538 | 92 |
139
+ | 4.9082 | 5.9538 | 93 |
140
+ | 4.9061 | 5.9538 | 94 |
141
+ | 4.9111 | 5.9538 | 95 |
142
+ | 4.9067 | 5.9538 | 96 |
143
+ | 4.9070 | 5.9538 | 97 |
144
+ | 4.9089 | 5.9538 | 98 |
145
+ | 4.9051 | 5.9538 | 99 |
146
+ | 4.9072 | 5.9538 | 100 |
147
+ | 4.9110 | 5.9538 | 101 |
148
+ | 4.9094 | 5.9538 | 102 |
149
+ | 4.9089 | 5.9538 | 103 |
150
+ | 4.9072 | 5.9538 | 104 |
151
+ | 4.9072 | 5.9538 | 105 |
152
+ | 4.9055 | 5.9538 | 106 |
153
+ | 4.9079 | 5.9538 | 107 |
154
+ | 4.9075 | 5.9538 | 108 |
155
+ | 4.9100 | 5.9538 | 109 |
156
+ | 4.9106 | 5.9538 | 110 |
157
+ | 4.9081 | 5.9538 | 111 |
158
+ | 4.9094 | 5.9538 | 112 |
159
+ | 4.9108 | 5.9538 | 113 |
160
+ | 4.9082 | 5.9538 | 114 |
161
+ | 4.9089 | 5.9538 | 115 |
162
+ | 4.9099 | 5.9538 | 116 |
163
+ | 4.9063 | 5.9538 | 117 |
164
+ | 4.9094 | 5.9538 | 118 |
165
+ | 4.9059 | 5.9538 | 119 |
166
+ | 4.9096 | 5.9538 | 120 |
167
+ | 4.9065 | 5.9538 | 121 |
168
+ | 4.9092 | 5.9538 | 122 |
169
+ | 4.9092 | 5.9538 | 123 |
170
+ | 4.9107 | 5.9538 | 124 |
171
+ | 4.9061 | 5.9538 | 125 |
172
+ | 4.9117 | 5.9538 | 126 |
173
+ | 4.9087 | 5.9538 | 127 |
174
+ | 4.9062 | 5.9538 | 128 |
175
+ | 4.9105 | 5.9538 | 129 |
176
+ | 4.9093 | 5.9538 | 130 |
177
+ | 4.9078 | 5.9538 | 131 |
178
+ | 4.9067 | 5.9538 | 132 |
179
+ | 4.9104 | 5.9538 | 133 |
180
+ | 4.9065 | 5.9538 | 134 |
181
+ | 4.9077 | 5.9538 | 135 |
182
+ | 4.9101 | 5.9538 | 136 |
183
+ | 4.9063 | 5.9538 | 137 |
184
+ | 4.9091 | 5.9538 | 138 |
185
+ | 4.9100 | 5.9538 | 139 |
186
+ | 4.9101 | 5.9538 | 140 |
187
+ | 4.9057 | 5.9538 | 141 |
188
+ | 4.9080 | 5.9538 | 142 |
189
+ | 4.9076 | 5.9538 | 143 |
190
+ | 4.9085 | 5.9538 | 144 |
191
+ | 4.9071 | 5.9538 | 145 |
192
+ | 4.9107 | 5.9538 | 146 |
193
+ | 4.9102 | 5.9538 | 147 |
194
+ | 4.9071 | 5.9538 | 148 |
195
+ | 4.9093 | 5.9538 | 149 |
196
+
197
+
198
+ ### Framework versions
199
+
200
+ - Transformers 4.38.2
201
+ - TensorFlow 2.15.0
202
+ - Datasets 2.18.0
203
+ - Tokenizers 0.15.2
 
 
 
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "gpt2",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPT2LMHeadModel"
6
+ ],
7
+ "attn_pdrop": 0.1,
8
+ "bos_token_id": 0,
9
+ "embd_pdrop": 0.1,
10
+ "eos_token_id": 0,
11
+ "initializer_range": 0.02,
12
+ "layer_norm_epsilon": 1e-05,
13
+ "model_type": "gpt2",
14
+ "n_ctx": 100,
15
+ "n_embd": 768,
16
+ "n_head": 12,
17
+ "n_inner": null,
18
+ "n_layer": 12,
19
+ "n_positions": 1024,
20
+ "reorder_and_upcast_attn": false,
21
+ "resid_pdrop": 0.1,
22
+ "scale_attn_by_inverse_layer_idx": false,
23
+ "scale_attn_weights": true,
24
+ "summary_activation": null,
25
+ "summary_first_dropout": 0.1,
26
+ "summary_proj_to_labels": true,
27
+ "summary_type": "cls_index",
28
+ "summary_use_proj": true,
29
+ "task_specific_params": {
30
+ "text-generation": {
31
+ "do_sample": true,
32
+ "max_length": 50
33
+ }
34
+ },
35
+ "transformers_version": "4.38.2",
36
+ "use_cache": true,
37
+ "vocab_size": 10000
38
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "eos_token_id": 0,
5
+ "transformers_version": "4.38.2"
6
+ }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fadd30c2da3c482f42c85731921c2484079f2e0cf618dbe9a7a28770fc3ab88a
3
+ size 374265936