astroa7m commited on
Commit
2157911
1 Parent(s): bbe5230
README.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: inceptionai/jais-family-590m-chat
5
+ tags:
6
+ - trl
7
+ - sft
8
+ - generated_from_trainer
9
+ model-index:
10
+ - name: Jais-AOU
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # Jais-AOU
18
+
19
+ This model is a fine-tuned version of [inceptionai/jais-family-590m-chat](https://huggingface.co/inceptionai/jais-family-590m-chat) on an unknown dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.7540
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 2e-05
41
+ - train_batch_size: 8
42
+ - eval_batch_size: 8
43
+ - seed: 42
44
+ - gradient_accumulation_steps: 4
45
+ - total_train_batch_size: 32
46
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
+ - lr_scheduler_type: linear
48
+ - lr_scheduler_warmup_steps: 50
49
+ - num_epochs: 12
50
+ - mixed_precision_training: Native AMP
51
+
52
+ ### Training results
53
+
54
+ | Training Loss | Epoch | Step | Validation Loss |
55
+ |:-------------:|:-------:|:----:|:---------------:|
56
+ | 1.1215 | 1.7699 | 50 | 1.1407 |
57
+ | 0.5782 | 3.5398 | 100 | 0.8883 |
58
+ | 0.3542 | 5.3097 | 150 | 0.7643 |
59
+ | 0.2372 | 7.0796 | 200 | 0.7418 |
60
+ | 0.203 | 8.8496 | 250 | 0.7372 |
61
+ | 0.1891 | 10.6195 | 300 | 0.7540 |
62
+
63
+
64
+ ### Framework versions
65
+
66
+ - Transformers 4.45.2
67
+ - Pytorch 2.4.0
68
+ - Datasets 3.0.1
69
+ - Tokenizers 0.20.0
config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "inceptionai/jais-family-590m-chat",
3
+ "activation_function": "swiglu",
4
+ "alibi_scaling": null,
5
+ "architectures": [
6
+ "JAISLMHeadModel"
7
+ ],
8
+ "attn_pdrop": 0.0,
9
+ "auto_map": {
10
+ "AutoConfig": "inceptionai/jais-family-590m-chat--configuration_jais.JAISConfig",
11
+ "AutoModel": "inceptionai/jais-family-590m-chat--modeling_jais.JAISModel",
12
+ "AutoModelForCausalLM": "inceptionai/jais-family-590m-chat--modeling_jais.JAISLMHeadModel",
13
+ "AutoModelForQuestionAnswering": "inceptionai/jais-family-590m-chat--modeling_jais.JAISForQuestionAnswering",
14
+ "AutoModelForSequenceClassification": "inceptionai/jais-family-590m-chat--modeling_jais.JAISForSequenceClassification",
15
+ "AutoModelForTokenClassification": "inceptionai/jais-family-590m-chat--modeling_jais.JAISForTokenClassification"
16
+ },
17
+ "bos_token_id": 84992,
18
+ "embd_pdrop": 0.0,
19
+ "eos_token_id": 84993,
20
+ "initializer_range": 0.02,
21
+ "layer_norm_epsilon": 1e-05,
22
+ "model_type": "jais",
23
+ "mup_embeddings_scale": 9.1705785388303,
24
+ "mup_output_alpha": 1.09518349815769,
25
+ "mup_scale_qk_dot_by_d": true,
26
+ "mup_width_scale": 0.16666666666666666,
27
+ "n_embd": 1536,
28
+ "n_head": 12,
29
+ "n_inner": 4096,
30
+ "n_layer": 18,
31
+ "n_positions": 2048,
32
+ "pad_token_id": 84993,
33
+ "position_embedding_type": "alibi",
34
+ "reorder_and_upcast_attn": false,
35
+ "resid_pdrop": 0.0,
36
+ "rotary_dim": null,
37
+ "scale_attn_by_inverse_layer_idx": false,
38
+ "scale_attn_weights": true,
39
+ "tie_word_embeddings": false,
40
+ "torch_dtype": "float32",
41
+ "transformers_version": "4.45.2",
42
+ "use_cache": true,
43
+ "vocab_size": 84994
44
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 84992,
4
+ "eos_token_id": 84993,
5
+ "pad_token_id": 84993,
6
+ "transformers_version": "4.45.2"
7
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e5e9e7edbe1f6ff7a92b445b992f766c1dd5d7efc4f87f72a2d80a5aec58e61
3
+ size 3084462464
special_tokens_map.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ {
4
+ "content": "<|im_start|>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false
9
+ },
10
+ {
11
+ "content": "<|im_end|>",
12
+ "lstrip": false,
13
+ "normalized": false,
14
+ "rstrip": false,
15
+ "single_word": false
16
+ }
17
+ ],
18
+ "bos_token": "<|im_start|>",
19
+ "eos_token": "<|im_end|>",
20
+ "pad_token": "<|im_end|>",
21
+ "unk_token": {
22
+ "content": "<|endoftext|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false
27
+ }
28
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<|endoftext|>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "84992": {
12
+ "content": "<|im_start|>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "84993": {
20
+ "content": "<|im_end|>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ }
27
+ },
28
+ "additional_special_tokens": [
29
+ "<|im_start|>",
30
+ "<|im_end|>"
31
+ ],
32
+ "bos_token": "<|im_start|>",
33
+ "chat_template": "{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
34
+ "clean_up_tokenization_spaces": true,
35
+ "eos_token": "<|im_end|>",
36
+ "model_max_length": 2048,
37
+ "pad_token": "<|im_end|>",
38
+ "tokenizer_class": "PreTrainedTokenizerFast",
39
+ "unk_token": "<|endoftext|>"
40
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9aa1c08a635b18c4ce16c2c0e96caa7ff062a7e1a374a4774f55f2e09adf53c4
3
+ size 5432