kmkarakaya
commited on
Commit
•
e5d4470
1
Parent(s):
7e4ffa0
Training in progress epoch 0
Browse files- README.md +7 -19
- config.json +1 -1
- special_tokens_map.json +1 -0
- tf_model.h5 +2 -2
- tokenizer.json +6 -1
README.md
CHANGED
@@ -3,30 +3,20 @@ license: mit
|
|
3 |
tags:
|
4 |
- generated_from_keras_callback
|
5 |
model-index:
|
6 |
-
- name: turkishReviews-ds
|
7 |
results: []
|
8 |
-
|
9 |
-
widget:
|
10 |
-
- text: "Aldığım üründe çıkan arıza"
|
11 |
-
example_title: "Örnek 1"
|
12 |
-
- text: "Çağrı merkezini aradım."
|
13 |
-
example_title: "Örnek 2"
|
14 |
-
- text: "Uçak biletini değiştirmek istedim ama"
|
15 |
-
example_title: "Örnek 3"
|
16 |
-
- text: "Ürün değiştirmek için"
|
17 |
-
example_title: "Örnek 4"
|
18 |
---
|
19 |
|
20 |
<!-- This model card has been generated automatically according to the information Keras had access to. You should
|
21 |
probably proofread and complete it, then remove this comment. -->
|
22 |
|
23 |
-
# turkishReviews-ds
|
24 |
|
25 |
This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on an unknown dataset.
|
26 |
It achieves the following results on the evaluation set:
|
27 |
-
- Train Loss:
|
28 |
-
- Validation Loss: 5.
|
29 |
-
- Epoch:
|
30 |
|
31 |
## Model description
|
32 |
|
@@ -45,16 +35,14 @@ More information needed
|
|
45 |
### Training hyperparameters
|
46 |
|
47 |
The following hyperparameters were used during training:
|
48 |
-
- 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':
|
49 |
- training_precision: mixed_float16
|
50 |
|
51 |
### Training results
|
52 |
|
53 |
| Train Loss | Validation Loss | Epoch |
|
54 |
|:----------:|:---------------:|:-----:|
|
55 |
-
|
|
56 |
-
| 5.5525 | 5.5251 | 1 |
|
57 |
-
| 5.5523 | 5.5251 | 2 |
|
58 |
|
59 |
|
60 |
### Framework versions
|
|
|
3 |
tags:
|
4 |
- generated_from_keras_callback
|
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
|
11 |
probably proofread and complete it, then remove this comment. -->
|
12 |
|
13 |
+
# kmkarakaya/turkishReviews-ds
|
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: 6.2366
|
18 |
+
- Validation Loss: 5.4474
|
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': 11443, '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 |
+
| 6.2366 | 5.4474 | 0 |
|
|
|
|
|
46 |
|
47 |
|
48 |
### Framework versions
|
config.json
CHANGED
@@ -34,5 +34,5 @@
|
|
34 |
},
|
35 |
"transformers_version": "4.20.1",
|
36 |
"use_cache": true,
|
37 |
-
"vocab_size":
|
38 |
}
|
|
|
34 |
},
|
35 |
"transformers_version": "4.20.1",
|
36 |
"use_cache": true,
|
37 |
+
"vocab_size": 50258
|
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:7eab76df3cd70e3f8f7a03ea9ecfa21e1b33ed7b0d9c55056d8b025c5fc3b715
|
3 |
+
size 497937992
|
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 |
{
|