haoanh98 commited on
Commit
693fd35
1 Parent(s): f84c217

Upload model

Browse files
Files changed (3) hide show
  1. README.md +46 -0
  2. config.json +33 -0
  3. tf_model.h5 +3 -0
README.md ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - generated_from_keras_callback
4
+ model-index:
5
+ - name: mGPT_base
6
+ results: []
7
+ ---
8
+
9
+ <!-- This model card has been generated automatically according to the information Keras had access to. You should
10
+ probably proofread and complete it, then remove this comment. -->
11
+
12
+ # mGPT_base
13
+
14
+ This model was trained from scratch on an unknown dataset.
15
+ It achieves the following results on the evaluation set:
16
+
17
+
18
+ ## Model description
19
+
20
+ More information needed
21
+
22
+ ## Intended uses & limitations
23
+
24
+ More information needed
25
+
26
+ ## Training and evaluation data
27
+
28
+ More information needed
29
+
30
+ ## Training procedure
31
+
32
+ ### Training hyperparameters
33
+
34
+ The following hyperparameters were used during training:
35
+ - optimizer: None
36
+ - training_precision: float32
37
+
38
+ ### Training results
39
+
40
+
41
+
42
+ ### Framework versions
43
+
44
+ - Transformers 4.23.1
45
+ - TensorFlow 2.9.2
46
+ - Tokenizers 0.13.1
config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "mGPT-base",
3
+ "afn": "gelu",
4
+ "architectures": [
5
+ "OpenAIGPTModel"
6
+ ],
7
+ "attn_pdrop": 0.1,
8
+ "embd_pdrop": 0.1,
9
+ "initializer_range": 0.02,
10
+ "layer_norm_epsilon": 1e-12,
11
+ "model_type": "openai-gpt",
12
+ "n_ctx": 512,
13
+ "n_embd": 768,
14
+ "n_head": 12,
15
+ "n_layer": 12,
16
+ "n_positions": 512,
17
+ "n_special": 0,
18
+ "predict_special_tokens": true,
19
+ "resid_pdrop": 0.1,
20
+ "summary_activation": null,
21
+ "summary_first_dropout": 0.1,
22
+ "summary_proj_to_labels": true,
23
+ "summary_type": "cls_index",
24
+ "summary_use_proj": true,
25
+ "task_specific_params": {
26
+ "text-generation": {
27
+ "do_sample": true,
28
+ "max_length": 50
29
+ }
30
+ },
31
+ "transformers_version": "4.23.1",
32
+ "vocab_size": 119547
33
+ }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9944360654b0eb5bbbc9aae52305d5c47772db77665fd0f4b8c313bbbb609da6
3
+ size 709213544