qnguyen3 commited on
Commit
8da1704
1 Parent(s): fa5fb1b

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: vilm/VinaLLaMA-2.7B-800b
3
+ tags:
4
+ - generated_from_trainer
5
+ model-index:
6
+ - name: out-vinallama-fft-2.7b
7
+ results: []
8
+ ---
9
+
10
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
11
+ should probably proofread and complete it, then remove this comment. -->
12
+
13
+ [<img src="https://raw.githubusercontent.com/OpenAccess-AI-Collective/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/OpenAccess-AI-Collective/axolotl)
14
+ # out-vinallama-fft-2.7b
15
+
16
+ This model is a fine-tuned version of [vilm/VinaLLaMA-2.7B-800b](https://huggingface.co/vilm/VinaLLaMA-2.7B-800b) on the None dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 1.1028
19
+
20
+ ## Model description
21
+
22
+ More information needed
23
+
24
+ ## Intended uses & limitations
25
+
26
+ More information needed
27
+
28
+ ## Training and evaluation data
29
+
30
+ More information needed
31
+
32
+ ## Training procedure
33
+
34
+ ### Training hyperparameters
35
+
36
+ The following hyperparameters were used during training:
37
+ - learning_rate: 2e-05
38
+ - train_batch_size: 4
39
+ - eval_batch_size: 4
40
+ - seed: 42
41
+ - distributed_type: multi-GPU
42
+ - num_devices: 4
43
+ - gradient_accumulation_steps: 4
44
+ - total_train_batch_size: 64
45
+ - total_eval_batch_size: 16
46
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
+ - lr_scheduler_type: cosine
48
+ - lr_scheduler_warmup_steps: 100
49
+ - num_epochs: 4
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss |
54
+ |:-------------:|:-----:|:----:|:---------------:|
55
+ | 2.1202 | 0.0 | 1 | 2.0400 |
56
+ | 1.3783 | 0.2 | 205 | 1.3514 |
57
+ | 1.2539 | 0.4 | 410 | 1.2604 |
58
+ | 1.2168 | 0.6 | 615 | 1.2119 |
59
+ | 1.1739 | 0.8 | 820 | 1.1790 |
60
+ | 1.1273 | 1.0 | 1025 | 1.1548 |
61
+ | 1.0544 | 1.18 | 1230 | 1.1435 |
62
+ | 1.032 | 1.38 | 1435 | 1.1296 |
63
+ | 1.0114 | 1.58 | 1640 | 1.1182 |
64
+ | 1.0188 | 1.78 | 1845 | 1.1079 |
65
+ | 0.9877 | 1.98 | 2050 | 1.0994 |
66
+ | 0.9981 | 2.16 | 2255 | 1.1081 |
67
+ | 0.9505 | 2.36 | 2460 | 1.1030 |
68
+ | 0.9936 | 2.57 | 2665 | 1.0984 |
69
+ | 0.9076 | 2.77 | 2870 | 1.0924 |
70
+ | 0.8569 | 2.97 | 3075 | 1.0888 |
71
+ | 0.8902 | 3.15 | 3280 | 1.1067 |
72
+ | 0.8285 | 3.35 | 3485 | 1.1041 |
73
+ | 0.8617 | 3.55 | 3690 | 1.1036 |
74
+ | 0.8393 | 3.75 | 3895 | 1.1028 |
75
+
76
+
77
+ ### Framework versions
78
+
79
+ - Transformers 4.34.1
80
+ - Pytorch 2.0.1+cu118
81
+ - Datasets 2.14.6
82
+ - Tokenizers 0.14.1
config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "vilm/VinaLLaMA-2.7B-800b",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "bos_token_id": 1,
8
+ "eos_token_id": 46304,
9
+ "hidden_act": "silu",
10
+ "hidden_size": 2560,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 6912,
13
+ "max_position_embeddings": 4096,
14
+ "model_type": "llama",
15
+ "num_attention_heads": 20,
16
+ "num_hidden_layers": 32,
17
+ "num_key_value_heads": 20,
18
+ "pad_token_id": 0,
19
+ "pretraining_tp": 1,
20
+ "rms_norm_eps": 1e-05,
21
+ "rope_scaling": null,
22
+ "rope_theta": 10000.0,
23
+ "tie_word_embeddings": false,
24
+ "torch_dtype": "bfloat16",
25
+ "transformers_version": "4.34.1",
26
+ "use_cache": false,
27
+ "vocab_size": 46306
28
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "pad_token_id": 0,
6
+ "transformers_version": "4.34.1"
7
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:310e74fec51747a76c298c00f3caa82cc8867dbf6070942490853213655f41b9
3
+ size 5549708865
special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|im_end|>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<pad>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<unk>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<unk>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "<s>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "</s>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "46303": {
28
+ "content": "<pad>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "46304": {
36
+ "content": "<|im_end|>",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": false
42
+ },
43
+ "46305": {
44
+ "content": "<|im_start|>",
45
+ "lstrip": false,
46
+ "normalized": false,
47
+ "rstrip": false,
48
+ "single_word": false,
49
+ "special": false
50
+ }
51
+ },
52
+ "bos_token": "<s>",
53
+ "clean_up_tokenization_spaces": false,
54
+ "eos_token": "<|im_end|>",
55
+ "legacy": false,
56
+ "model_max_length": 1000000000000000019884624838656,
57
+ "pad_token": "<pad>",
58
+ "sp_model_kwargs": {},
59
+ "tokenizer_class": "LlamaTokenizer",
60
+ "unk_token": "<unk>",
61
+ "use_default_system_prompt": true,
62
+ "use_fast": true
63
+ }