sumo43 commited on
Commit
25bd338
1 Parent(s): c1efe65

Model save

Browse files
README.md CHANGED
@@ -1,16 +1,11 @@
1
  ---
2
- license: apache-2.0
3
- base_model: TinyLlama/TinyLlama-1.1B-Chat-v1.0
4
  tags:
5
- - alignment-handbook
6
- - trl
7
- - sft
8
- - generated_from_trainer
9
  - trl
10
  - sft
11
  - generated_from_trainer
12
  datasets:
13
- - HuggingFaceH4/ultrachat_200k
14
  model-index:
15
  - name: zephyr-7b-sft-full
16
  results: []
@@ -21,9 +16,9 @@ should probably proofread and complete it, then remove this comment. -->
21
 
22
  # zephyr-7b-sft-full
23
 
24
- This model is a fine-tuned version of [TinyLlama/TinyLlama-1.1B-Chat-v1.0](https://huggingface.co/TinyLlama/TinyLlama-1.1B-Chat-v1.0) on the HuggingFaceH4/ultrachat_200k dataset.
25
  It achieves the following results on the evaluation set:
26
- - Loss: 4.4883
27
 
28
  ## Model description
29
 
@@ -42,13 +37,12 @@ More information needed
42
  ### Training hyperparameters
43
 
44
  The following hyperparameters were used during training:
45
- - learning_rate: 0.0002
46
  - train_batch_size: 16
47
  - eval_batch_size: 8
48
  - seed: 42
49
- - distributed_type: multi-GPU
50
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
- - lr_scheduler_type: cosine
52
  - lr_scheduler_warmup_ratio: 0.1
53
  - num_epochs: 1
54
 
@@ -56,7 +50,7 @@ The following hyperparameters were used during training:
56
 
57
  | Training Loss | Epoch | Step | Validation Loss |
58
  |:-------------:|:-----:|:----:|:---------------:|
59
- | 4.5336 | 1.0 | 8969 | 4.4883 |
60
 
61
 
62
  ### Framework versions
 
1
  ---
2
+ base_model: lectura/TinyLlama-120M-news
 
3
  tags:
 
 
 
 
4
  - trl
5
  - sft
6
  - generated_from_trainer
7
  datasets:
8
+ - generator
9
  model-index:
10
  - name: zephyr-7b-sft-full
11
  results: []
 
16
 
17
  # zephyr-7b-sft-full
18
 
19
+ This model is a fine-tuned version of [lectura/TinyLlama-120M-news](https://huggingface.co/lectura/TinyLlama-120M-news) on the generator dataset.
20
  It achieves the following results on the evaluation set:
21
+ - Loss: 2.2349
22
 
23
  ## Model description
24
 
 
37
  ### Training hyperparameters
38
 
39
  The following hyperparameters were used during training:
40
+ - learning_rate: 0.001
41
  - train_batch_size: 16
42
  - eval_batch_size: 8
43
  - seed: 42
 
44
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: constant
46
  - lr_scheduler_warmup_ratio: 0.1
47
  - num_epochs: 1
48
 
 
50
 
51
  | Training Loss | Epoch | Step | Validation Loss |
52
  |:-------------:|:-----:|:----:|:---------------:|
53
+ | 2.2279 | 1.0 | 8969 | 2.2349 |
54
 
55
 
56
  ### Framework versions
all_results.json CHANGED
@@ -1,13 +1,8 @@
1
  {
2
  "epoch": 1.0,
3
- "eval_loss": 4.488282680511475,
4
- "eval_runtime": 1697.9395,
5
- "eval_samples": 23109,
6
- "eval_samples_per_second": 9.354,
7
- "eval_steps_per_second": 1.17,
8
- "train_loss": 4.746947802406368,
9
- "train_runtime": 46954.2707,
10
  "train_samples": 207864,
11
- "train_samples_per_second": 3.056,
12
- "train_steps_per_second": 0.191
13
  }
 
1
  {
2
  "epoch": 1.0,
3
+ "train_loss": 2.666482654486044,
4
+ "train_runtime": 30048.5081,
 
 
 
 
 
5
  "train_samples": 207864,
6
+ "train_samples_per_second": 4.775,
7
+ "train_steps_per_second": 0.298
8
  }
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "TinyLlama/TinyLlama-1.1B-Chat-v1.0",
3
  "architectures": [
4
  "BitLlamaForCausalLM"
5
  ],
@@ -9,21 +9,21 @@
9
  "bos_token_id": 1,
10
  "eos_token_id": 2,
11
  "hidden_act": "silu",
12
- "hidden_size": 2048,
13
  "initializer_range": 0.02,
14
- "intermediate_size": 5632,
15
- "max_position_embeddings": 2048,
16
  "model_type": "bit_llama",
17
- "num_attention_heads": 32,
18
- "num_hidden_layers": 22,
19
- "num_key_value_heads": 4,
20
  "pretraining_tp": 1,
21
  "rms_norm_eps": 1e-05,
22
  "rope_scaling": null,
23
  "rope_theta": 10000.0,
24
- "tie_word_embeddings": false,
25
  "torch_dtype": "bfloat16",
26
  "transformers_version": "4.39.0.dev0",
27
  "use_cache": false,
28
- "vocab_size": 32002
29
  }
 
1
  {
2
+ "_name_or_path": "lectura/TinyLlama-120M-news",
3
  "architectures": [
4
  "BitLlamaForCausalLM"
5
  ],
 
9
  "bos_token_id": 1,
10
  "eos_token_id": 2,
11
  "hidden_act": "silu",
12
+ "hidden_size": 768,
13
  "initializer_range": 0.02,
14
+ "intermediate_size": 2048,
15
+ "max_position_embeddings": 1024,
16
  "model_type": "bit_llama",
17
+ "num_attention_heads": 12,
18
+ "num_hidden_layers": 12,
19
+ "num_key_value_heads": 12,
20
  "pretraining_tp": 1,
21
  "rms_norm_eps": 1e-05,
22
  "rope_scaling": null,
23
  "rope_theta": 10000.0,
24
+ "tie_word_embeddings": true,
25
  "torch_dtype": "bfloat16",
26
  "transformers_version": "4.39.0.dev0",
27
  "use_cache": false,
28
+ "vocab_size": 46338
29
  }
generation_config.json CHANGED
@@ -1,8 +1,7 @@
1
  {
 
2
  "bos_token_id": 1,
3
  "eos_token_id": 2,
4
- "max_length": 2048,
5
- "pad_token_id": 0,
6
  "transformers_version": "4.39.0.dev0",
7
  "use_cache": false
8
  }
 
1
  {
2
+ "_from_model_config": true,
3
  "bos_token_id": 1,
4
  "eos_token_id": 2,
 
 
5
  "transformers_version": "4.39.0.dev0",
6
  "use_cache": false
7
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f46cb5af63882895c9a1a0eb69aa5e49a8b31c6fec67537f408060dc78992a7d
3
- size 2201749928
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:82082c0b5de2f82febe83a84ec395efa8ad3d6d19b52c41268d202c52dd39484
3
+ size 241437456
tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json CHANGED
@@ -26,7 +26,47 @@
26
  "single_word": false,
27
  "special": true
28
  },
29
- "32000": {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
  "content": "<|im_start|>",
31
  "lstrip": false,
32
  "normalized": false,
@@ -34,7 +74,7 @@
34
  "single_word": false,
35
  "special": true
36
  },
37
- "32001": {
38
  "content": "<|im_end|>",
39
  "lstrip": false,
40
  "normalized": false,
@@ -54,9 +94,8 @@
54
  "legacy": false,
55
  "model_max_length": 2048,
56
  "pad_token": "<|im_end|>",
57
- "padding_side": "right",
58
  "sp_model_kwargs": {},
59
  "tokenizer_class": "LlamaTokenizer",
60
  "unk_token": "<unk>",
61
- "use_default_system_prompt": false
62
  }
 
26
  "single_word": false,
27
  "special": true
28
  },
29
+ "46331": {
30
+ "content": "<|sep|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "46332": {
38
+ "content": "<|endoftext|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "46333": {
46
+ "content": "<|acc|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "46334": {
54
+ "content": "<|rrn|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "46335": {
62
+ "content": "<|tel|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "46336": {
70
  "content": "<|im_start|>",
71
  "lstrip": false,
72
  "normalized": false,
 
74
  "single_word": false,
75
  "special": true
76
  },
77
+ "46337": {
78
  "content": "<|im_end|>",
79
  "lstrip": false,
80
  "normalized": false,
 
94
  "legacy": false,
95
  "model_max_length": 2048,
96
  "pad_token": "<|im_end|>",
 
97
  "sp_model_kwargs": {},
98
  "tokenizer_class": "LlamaTokenizer",
99
  "unk_token": "<unk>",
100
+ "use_default_system_prompt": true
101
  }
train_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
  "epoch": 1.0,
3
- "train_loss": 4.746947802406368,
4
- "train_runtime": 46954.2707,
5
  "train_samples": 207864,
6
- "train_samples_per_second": 3.056,
7
- "train_steps_per_second": 0.191
8
  }
 
1
  {
2
  "epoch": 1.0,
3
+ "train_loss": 2.666482654486044,
4
+ "train_runtime": 30048.5081,
5
  "train_samples": 207864,
6
+ "train_samples_per_second": 4.775,
7
+ "train_steps_per_second": 0.298
8
  }
trainer_state.json CHANGED
The diff for this file is too large to render. See raw diff
 
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:07cc40c5a6d24066e3c9c9dc23db4ba29b9036550b49d4e3f00420e402d9f406
3
  size 4984
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:835feb71d544b963e5d2bc0c5bc229d8fdfc8cb508e797df572da8dba67d19f9
3
  size 4984