Upload model
Browse files- README.md +15 -7
- config.json +2 -2
- generation_config.json +1 -1
- tf_model.h5 +2 -2
README.md
CHANGED
|
@@ -1,4 +1,6 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
| 2 |
tags:
|
| 3 |
- generated_from_keras_callback
|
| 4 |
model-index:
|
|
@@ -11,9 +13,11 @@ probably proofread and complete it, then remove this comment. -->
|
|
| 11 |
|
| 12 |
# GNePT
|
| 13 |
|
| 14 |
-
This model
|
| 15 |
It achieves the following results on the evaluation set:
|
| 16 |
-
|
|
|
|
|
|
|
| 17 |
|
| 18 |
## Model description
|
| 19 |
|
|
@@ -32,16 +36,20 @@ More information needed
|
|
| 32 |
### Training hyperparameters
|
| 33 |
|
| 34 |
The following hyperparameters were used during training:
|
| 35 |
-
- optimizer: None
|
| 36 |
-
- training_precision:
|
| 37 |
|
| 38 |
### Training results
|
| 39 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
|
| 41 |
|
| 42 |
### Framework versions
|
| 43 |
|
| 44 |
-
- Transformers 4.
|
| 45 |
-
- TensorFlow 2.
|
| 46 |
-
- Datasets 2.
|
| 47 |
- Tokenizers 0.13.3
|
|
|
|
| 1 |
---
|
| 2 |
+
license: mit
|
| 3 |
+
base_model: gpt2
|
| 4 |
tags:
|
| 5 |
- generated_from_keras_callback
|
| 6 |
model-index:
|
|
|
|
| 13 |
|
| 14 |
# GNePT
|
| 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.4032
|
| 19 |
+
- Validation Loss: 4.2706
|
| 20 |
+
- Epoch: 1
|
| 21 |
|
| 22 |
## Model description
|
| 23 |
|
|
|
|
| 36 |
### Training hyperparameters
|
| 37 |
|
| 38 |
The following hyperparameters were used during training:
|
| 39 |
+
- optimizer: {'name': 'AdamWeightDecay', 'learning_rate': {'class_name': 'WarmUp', 'config': {'initial_learning_rate': 2e-05, 'decay_schedule_fn': {'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 2e-05, 'decay_steps': 42322, '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.035}
|
| 40 |
+
- training_precision: mixed_bfloat16
|
| 41 |
|
| 42 |
### Training results
|
| 43 |
|
| 44 |
+
| Train Loss | Validation Loss | Epoch |
|
| 45 |
+
|:----------:|:---------------:|:-----:|
|
| 46 |
+
| 5.0136 | 4.2706 | 0 |
|
| 47 |
+
| 4.4032 | 4.2706 | 1 |
|
| 48 |
|
| 49 |
|
| 50 |
### Framework versions
|
| 51 |
|
| 52 |
+
- Transformers 4.32.0
|
| 53 |
+
- TensorFlow 2.12.0
|
| 54 |
+
- Datasets 2.14.4
|
| 55 |
- Tokenizers 0.13.3
|
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
"activation_function": "gelu_new",
|
| 4 |
"architectures": [
|
| 5 |
"GPT2LMHeadModel"
|
|
@@ -33,7 +33,7 @@
|
|
| 33 |
"max_length": 50
|
| 34 |
}
|
| 35 |
},
|
| 36 |
-
"transformers_version": "4.
|
| 37 |
"use_cache": true,
|
| 38 |
"vocab_size": 50000
|
| 39 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "gpt2",
|
| 3 |
"activation_function": "gelu_new",
|
| 4 |
"architectures": [
|
| 5 |
"GPT2LMHeadModel"
|
|
|
|
| 33 |
"max_length": 50
|
| 34 |
}
|
| 35 |
},
|
| 36 |
+
"transformers_version": "4.32.0",
|
| 37 |
"use_cache": true,
|
| 38 |
"vocab_size": 50000
|
| 39 |
}
|
generation_config.json
CHANGED
|
@@ -3,5 +3,5 @@
|
|
| 3 |
"bos_token_id": 1,
|
| 4 |
"eos_token_id": 2,
|
| 5 |
"pad_token_id": 3,
|
| 6 |
-
"transformers_version": "4.
|
| 7 |
}
|
|
|
|
| 3 |
"bos_token_id": 1,
|
| 4 |
"eos_token_id": 2,
|
| 5 |
"pad_token_id": 3,
|
| 6 |
+
"transformers_version": "4.32.0"
|
| 7 |
}
|
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:3a22b54615c808ef4b3d501b17e8b3a84f10ce1a983c02e05f671576517c5861
|
| 3 |
+
size 497146048
|