kmkarakaya
commited on
Commit
•
5c8498a
1
Parent(s):
cfa6817
Training in progress epoch 0
Browse files- README.md +5 -16
- config.json +3 -3
- special_tokens_map.json +1 -0
- tf_model.h5 +2 -2
- tokenizer.json +6 -1
- tokenizer_config.json +1 -1
README.md
CHANGED
@@ -5,15 +5,6 @@ tags:
|
|
5 |
model-index:
|
6 |
- name: kmkarakaya/turkishReviews-ds
|
7 |
results: []
|
8 |
-
widget:
|
9 |
-
- text: "Aldığım üründe çıkan arıza"
|
10 |
-
example_title: "Example 1"
|
11 |
-
- text: "Çağrı merkezini aradım."
|
12 |
-
example_title: "Example 2"
|
13 |
-
- text: "Uçak biletini değiştirmek istedim ama"
|
14 |
-
example_title: "Example 3"
|
15 |
-
- text: "Ürün değiştirmek için"
|
16 |
-
example_title: "Example 4"
|
17 |
---
|
18 |
|
19 |
<!-- This model card has been generated automatically according to the information Keras had access to. You should
|
@@ -23,9 +14,9 @@ probably proofread and complete it, then remove this comment. -->
|
|
23 |
|
24 |
This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on an unknown dataset.
|
25 |
It achieves the following results on the evaluation set:
|
26 |
-
- Train Loss:
|
27 |
-
- Validation Loss:
|
28 |
-
- Epoch:
|
29 |
|
30 |
## Model description
|
31 |
|
@@ -44,16 +35,14 @@ More information needed
|
|
44 |
### Training hyperparameters
|
45 |
|
46 |
The following hyperparameters were used during training:
|
47 |
-
- optimizer: {'
|
48 |
- training_precision: mixed_float16
|
49 |
|
50 |
### Training results
|
51 |
|
52 |
| Train Loss | Validation Loss | Epoch |
|
53 |
|:----------:|:---------------:|:-----:|
|
54 |
-
|
|
55 |
-
| 4.5745 | 4.5366 | 1 |
|
56 |
-
| 4.5744 | 4.5366 | 2 |
|
57 |
|
58 |
|
59 |
### Framework versions
|
|
|
5 |
model-index:
|
6 |
- name: kmkarakaya/turkishReviews-ds
|
7 |
results: []
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
---
|
9 |
|
10 |
<!-- This model card has been generated automatically according to the information Keras had access to. You should
|
|
|
14 |
|
15 |
This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on an unknown dataset.
|
16 |
It achieves the following results on the evaluation set:
|
17 |
+
- Train Loss: 5.5525
|
18 |
+
- Validation Loss: 5.5251
|
19 |
+
- Epoch: 0
|
20 |
|
21 |
## Model description
|
22 |
|
|
|
35 |
### Training hyperparameters
|
36 |
|
37 |
The following hyperparameters were used during training:
|
38 |
+
- optimizer: {'name': 'AdamWeightDecay', 'learning_rate': {'class_name': 'WarmUp', 'config': {'initial_learning_rate': 5e-05, 'decay_schedule_fn': {'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 5e-05, 'decay_steps': 10304, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}, '__passive_serialization__': True}, 'warmup_steps': 1000, 'power': 1.0, 'name': None}}, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False, 'weight_decay_rate': 0.01}
|
39 |
- training_precision: mixed_float16
|
40 |
|
41 |
### Training results
|
42 |
|
43 |
| Train Loss | Validation Loss | Epoch |
|
44 |
|:----------:|:---------------:|:-----:|
|
45 |
+
| 5.5525 | 5.5251 | 0 |
|
|
|
|
|
46 |
|
47 |
|
48 |
### Framework versions
|
config.json
CHANGED
@@ -5,9 +5,9 @@
|
|
5 |
"GPT2LMHeadModel"
|
6 |
],
|
7 |
"attn_pdrop": 0.1,
|
8 |
-
"bos_token_id":
|
9 |
"embd_pdrop": 0.1,
|
10 |
-
"eos_token_id":
|
11 |
"initializer_range": 0.02,
|
12 |
"layer_norm_epsilon": 1e-05,
|
13 |
"model_type": "gpt2",
|
@@ -34,5 +34,5 @@
|
|
34 |
},
|
35 |
"transformers_version": "4.20.1",
|
36 |
"use_cache": true,
|
37 |
-
"vocab_size":
|
38 |
}
|
|
|
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",
|
|
|
34 |
},
|
35 |
"transformers_version": "4.20.1",
|
36 |
"use_cache": true,
|
37 |
+
"vocab_size": 52000
|
38 |
}
|
special_tokens_map.json
CHANGED
@@ -13,6 +13,7 @@
|
|
13 |
"rstrip": false,
|
14 |
"single_word": false
|
15 |
},
|
|
|
16 |
"unk_token": {
|
17 |
"content": "<|endoftext|>",
|
18 |
"lstrip": false,
|
|
|
13 |
"rstrip": false,
|
14 |
"single_word": false
|
15 |
},
|
16 |
+
"pad_token": "<|endoftext|>",
|
17 |
"unk_token": {
|
18 |
"content": "<|endoftext|>",
|
19 |
"lstrip": false,
|
tf_model.h5
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:de0733103ad190d49f552fa92fa0a98cbaf112f76d9412f60551dba2af6dd1ff
|
3 |
+
size 503289416
|
tokenizer.json
CHANGED
@@ -1,6 +1,11 @@
|
|
1 |
{
|
2 |
"version": "1.0",
|
3 |
-
"truncation":
|
|
|
|
|
|
|
|
|
|
|
4 |
"padding": null,
|
5 |
"added_tokens": [
|
6 |
{
|
|
|
1 |
{
|
2 |
"version": "1.0",
|
3 |
+
"truncation": {
|
4 |
+
"direction": "Right",
|
5 |
+
"max_length": 40,
|
6 |
+
"strategy": "LongestFirst",
|
7 |
+
"stride": 0
|
8 |
+
},
|
9 |
"padding": null,
|
10 |
"added_tokens": [
|
11 |
{
|
tokenizer_config.json
CHANGED
@@ -19,7 +19,7 @@
|
|
19 |
},
|
20 |
"errors": "replace",
|
21 |
"model_max_length": 1024,
|
22 |
-
"name_or_path": "
|
23 |
"pad_token": null,
|
24 |
"special_tokens_map_file": null,
|
25 |
"tokenizer_class": "GPT2Tokenizer",
|
|
|
19 |
},
|
20 |
"errors": "replace",
|
21 |
"model_max_length": 1024,
|
22 |
+
"name_or_path": "kmkarakaya/turkishReviews-ds",
|
23 |
"pad_token": null,
|
24 |
"special_tokens_map_file": null,
|
25 |
"tokenizer_class": "GPT2Tokenizer",
|