soumya13 commited on
Commit
b4e71bd
1 Parent(s): fab2383

Training in progress epoch 0

Browse files
README.md ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ tags:
4
+ - generated_from_keras_callback
5
+ model-index:
6
+ - name: soumya13/GPT2_CleanDesc_MAKE_v3.0
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
+ # soumya13/GPT2_CleanDesc_MAKE_v3.0
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: 3.0020
18
+ - Validation Loss: 2.0236
19
+ - Train Accuracy: 0.2051
20
+ - Epoch: 0
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': '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': 3040, '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}
40
+ - training_precision: float32
41
+
42
+ ### Training results
43
+
44
+ | Train Loss | Validation Loss | Train Accuracy | Epoch |
45
+ |:----------:|:---------------:|:--------------:|:-----:|
46
+ | 3.0020 | 2.0236 | 0.2051 | 0 |
47
+
48
+
49
+ ### Framework versions
50
+
51
+ - Transformers 4.28.1
52
+ - TensorFlow 2.12.0
53
+ - Datasets 2.12.0
54
+ - Tokenizers 0.13.3
added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "[PAD]": 50257
3
+ }
config.json ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "gpt2",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPT2ForSequenceClassification"
6
+ ],
7
+ "attn_pdrop": 0.1,
8
+ "bos_token_id": 50256,
9
+ "embd_pdrop": 0.1,
10
+ "eos_token_id": 50256,
11
+ "id2label": {
12
+ "0": "autonomous",
13
+ "1": "lexus",
14
+ "2": "lincoln",
15
+ "3": "jaguar",
16
+ "4": "chrysler",
17
+ "5": "cruise",
18
+ "6": "hyundai",
19
+ "7": "toyota",
20
+ "8": "nissan",
21
+ "9": "mercedes-benz",
22
+ "10": "chevrolet",
23
+ "11": "ford"
24
+ },
25
+ "initializer_range": 0.02,
26
+ "label2id": {
27
+ "autonomous": 0,
28
+ "chevrolet": 10,
29
+ "chrysler": 4,
30
+ "cruise": 5,
31
+ "ford": 11,
32
+ "hyundai": 6,
33
+ "jaguar": 3,
34
+ "lexus": 1,
35
+ "lincoln": 2,
36
+ "mercedes-benz": 9,
37
+ "nissan": 8,
38
+ "toyota": 7
39
+ },
40
+ "layer_norm_epsilon": 1e-05,
41
+ "model_type": "gpt2",
42
+ "n_ctx": 1024,
43
+ "n_embd": 768,
44
+ "n_head": 12,
45
+ "n_inner": null,
46
+ "n_layer": 12,
47
+ "n_positions": 1024,
48
+ "pad_token_id": 50256,
49
+ "reorder_and_upcast_attn": false,
50
+ "resid_pdrop": 0.1,
51
+ "scale_attn_by_inverse_layer_idx": false,
52
+ "scale_attn_weights": true,
53
+ "summary_activation": null,
54
+ "summary_first_dropout": 0.1,
55
+ "summary_proj_to_labels": true,
56
+ "summary_type": "cls_index",
57
+ "summary_use_proj": true,
58
+ "task_specific_params": {
59
+ "text-generation": {
60
+ "do_sample": true,
61
+ "max_length": 50
62
+ }
63
+ },
64
+ "transformers_version": "4.28.1",
65
+ "use_cache": true,
66
+ "vocab_size": 50257
67
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
special_tokens_map.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<|endoftext|>",
3
+ "eos_token": "<|endoftext|>",
4
+ "pad_token": "<|endoftext|>",
5
+ "unk_token": "<|endoftext|>"
6
+ }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:20766ba49db9882c0581334e6bc4e344de6ad9b435ab49a2604199e89fa81da9
3
+ size 497983984
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "bos_token": "<|endoftext|>",
4
+ "clean_up_tokenization_spaces": true,
5
+ "eos_token": "<|endoftext|>",
6
+ "model_max_length": 1024,
7
+ "tokenizer_class": "GPT2Tokenizer",
8
+ "unk_token": "<|endoftext|>"
9
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff