Sujithanumala commited on
Commit
fc100e3
·
verified ·
1 Parent(s): b3cd379

Upload model

Browse files
Files changed (4) hide show
  1. README.md +54 -0
  2. config.json +1 -2
  3. generation_config.json +6 -0
  4. tf_model.h5 +3 -0
README.md ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: gpt2
4
+ tags:
5
+ - generated_from_keras_callback
6
+ model-index:
7
+ - name: gpt2-chat
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
+ # gpt2-chat
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: 1.6915
19
+ - Train Accuracy: 0.6941
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': False, 'is_legacy_optimizer': False, 'learning_rate': 0.001, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False}
40
+ - training_precision: float32
41
+
42
+ ### Training results
43
+
44
+ | Train Loss | Train Accuracy | Epoch |
45
+ |:----------:|:--------------:|:-----:|
46
+ | 1.6915 | 0.6941 | 0 |
47
+
48
+
49
+ ### Framework versions
50
+
51
+ - Transformers 4.42.3
52
+ - TensorFlow 2.16.1
53
+ - Datasets 2.20.0
54
+ - Tokenizers 0.19.1
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "Sujithanumala/gpt2-chat",
3
  "activation_function": "gelu_new",
4
  "architectures": [
5
  "GPT2LMHeadModel"
@@ -32,7 +32,6 @@
32
  "max_length": 50
33
  }
34
  },
35
- "torch_dtype": "float32",
36
  "transformers_version": "4.42.3",
37
  "use_cache": true,
38
  "vocab_size": 50257
 
1
  {
2
+ "_name_or_path": "gpt2",
3
  "activation_function": "gelu_new",
4
  "architectures": [
5
  "GPT2LMHeadModel"
 
32
  "max_length": 50
33
  }
34
  },
 
35
  "transformers_version": "4.42.3",
36
  "use_cache": true,
37
  "vocab_size": 50257
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 50256,
4
+ "eos_token_id": 50256,
5
+ "transformers_version": "4.42.3"
6
+ }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:73412285193e3e390b73f1d3630e56a1a2e3416effb5ede9eb930a7a036f7897
3
+ size 497935440