KrisMinchev commited on
Commit
6f76aad
·
verified ·
1 Parent(s): 5da0785

End of training

Browse files
README.md CHANGED
@@ -1,5 +1,4 @@
1
  ---
2
- library_name: transformers
3
  license: gemma
4
  base_model: google/gemma-2-2b
5
  tags:
@@ -18,8 +17,8 @@ should probably proofread and complete it, then remove this comment. -->
18
 
19
  This model is a fine-tuned version of [google/gemma-2-2b](https://huggingface.co/google/gemma-2-2b) on an unknown dataset.
20
  It achieves the following results on the evaluation set:
21
- - Loss: 1.6828
22
- - Num Input Tokens Seen: 5070660
23
 
24
  ## Model description
25
 
@@ -44,21 +43,38 @@ The following hyperparameters were used during training:
44
  - seed: 0
45
  - gradient_accumulation_steps: 16
46
  - total_train_batch_size: 128
47
- - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
48
  - lr_scheduler_type: constant_with_warmup
49
  - lr_scheduler_warmup_ratio: 0.05
50
  - num_epochs: 1
51
 
52
  ### Training results
53
 
54
- | Training Loss | Epoch | Step | Validation Loss | Input Tokens Seen |
55
- |:-------------:|:-----:|:----:|:---------------:|:-----------------:|
56
- | No log | 0 | 0 | 1.3864 | 0 |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
 
58
 
59
  ### Framework versions
60
 
61
- - Transformers 4.57.3
62
- - Pytorch 2.8.0+cu128
63
  - Datasets 2.20.0
64
- - Tokenizers 0.22.2
 
1
  ---
 
2
  license: gemma
3
  base_model: google/gemma-2-2b
4
  tags:
 
17
 
18
  This model is a fine-tuned version of [google/gemma-2-2b](https://huggingface.co/google/gemma-2-2b) on an unknown dataset.
19
  It achieves the following results on the evaluation set:
20
+ - Loss: 1.6314
21
+ - Num Input Tokens Seen: 4852992
22
 
23
  ## Model description
24
 
 
43
  - seed: 0
44
  - gradient_accumulation_steps: 16
45
  - total_train_batch_size: 128
46
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
  - lr_scheduler_type: constant_with_warmup
48
  - lr_scheduler_warmup_ratio: 0.05
49
  - num_epochs: 1
50
 
51
  ### Training results
52
 
53
+ | Training Loss | Epoch | Step | Validation Loss | Input Tokens Seen |
54
+ |:-------------:|:------:|:----:|:---------------:|:-----------------:|
55
+ | No log | 0 | 0 | 1.3911 | 0 |
56
+ | 1.5169 | 0.0579 | 5 | 1.2663 | 285536 |
57
+ | 1.3736 | 0.1158 | 10 | 1.1918 | 567456 |
58
+ | 1.1135 | 0.1737 | 15 | 1.2205 | 844248 |
59
+ | 0.8215 | 0.2315 | 20 | 1.2889 | 1125792 |
60
+ | 0.7 | 0.2894 | 25 | 1.3912 | 1408488 |
61
+ | 0.4534 | 0.3473 | 30 | 1.4630 | 1691120 |
62
+ | 0.4168 | 0.4052 | 35 | 1.5283 | 1974504 |
63
+ | 0.3295 | 0.4631 | 40 | 1.5404 | 2257232 |
64
+ | 0.1989 | 0.5210 | 45 | 1.4892 | 2538768 |
65
+ | 0.2135 | 0.5789 | 50 | 1.5781 | 2821752 |
66
+ | 0.1784 | 0.6368 | 55 | 1.4920 | 3105616 |
67
+ | 0.1314 | 0.6946 | 60 | 1.5251 | 3381944 |
68
+ | 0.1645 | 0.7525 | 65 | 1.5864 | 3666096 |
69
+ | 0.0937 | 0.8104 | 70 | 1.4925 | 3946448 |
70
+ | 0.1406 | 0.8683 | 75 | 1.5310 | 4234720 |
71
+ | 0.1477 | 0.9262 | 80 | 1.5799 | 4512080 |
72
+ | 0.0654 | 0.9841 | 85 | 1.6488 | 4796248 |
73
 
74
 
75
  ### Framework versions
76
 
77
+ - Transformers 4.44.0
78
+ - Pytorch 2.4.0+cu121
79
  - Datasets 2.20.0
80
+ - Tokenizers 0.19.1
config.json CHANGED
@@ -1,4 +1,5 @@
1
  {
 
2
  "architectures": [
3
  "Gemma2ForCausalLM"
4
  ],
@@ -7,7 +8,6 @@
7
  "attn_logit_softcapping": 50.0,
8
  "bos_token_id": 2,
9
  "cache_implementation": "hybrid",
10
- "dtype": "bfloat16",
11
  "eos_token_id": 1,
12
  "final_logit_softcapping": 30.0,
13
  "head_dim": 256,
@@ -16,34 +16,6 @@
16
  "hidden_size": 2304,
17
  "initializer_range": 0.02,
18
  "intermediate_size": 9216,
19
- "layer_types": [
20
- "sliding_attention",
21
- "full_attention",
22
- "sliding_attention",
23
- "full_attention",
24
- "sliding_attention",
25
- "full_attention",
26
- "sliding_attention",
27
- "full_attention",
28
- "sliding_attention",
29
- "full_attention",
30
- "sliding_attention",
31
- "full_attention",
32
- "sliding_attention",
33
- "full_attention",
34
- "sliding_attention",
35
- "full_attention",
36
- "sliding_attention",
37
- "full_attention",
38
- "sliding_attention",
39
- "full_attention",
40
- "sliding_attention",
41
- "full_attention",
42
- "sliding_attention",
43
- "full_attention",
44
- "sliding_attention",
45
- "full_attention"
46
- ],
47
  "max_position_embeddings": 8192,
48
  "model_type": "gemma2",
49
  "num_attention_heads": 8,
@@ -54,7 +26,8 @@
54
  "rms_norm_eps": 1e-06,
55
  "rope_theta": 10000.0,
56
  "sliding_window": 4096,
57
- "transformers_version": "4.57.3",
 
58
  "use_cache": true,
59
  "vocab_size": 256000
60
  }
 
1
  {
2
+ "_name_or_path": "google/gemma-2-2b",
3
  "architectures": [
4
  "Gemma2ForCausalLM"
5
  ],
 
8
  "attn_logit_softcapping": 50.0,
9
  "bos_token_id": 2,
10
  "cache_implementation": "hybrid",
 
11
  "eos_token_id": 1,
12
  "final_logit_softcapping": 30.0,
13
  "head_dim": 256,
 
16
  "hidden_size": 2304,
17
  "initializer_range": 0.02,
18
  "intermediate_size": 9216,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  "max_position_embeddings": 8192,
20
  "model_type": "gemma2",
21
  "num_attention_heads": 8,
 
26
  "rms_norm_eps": 1e-06,
27
  "rope_theta": 10000.0,
28
  "sliding_window": 4096,
29
+ "torch_dtype": "bfloat16",
30
+ "transformers_version": "4.44.0",
31
  "use_cache": true,
32
  "vocab_size": 256000
33
  }
generation_config.json CHANGED
@@ -2,9 +2,7 @@
2
  "_from_model_config": true,
3
  "bos_token_id": 2,
4
  "cache_implementation": "hybrid",
5
- "eos_token_id": [
6
- 1
7
- ],
8
  "pad_token_id": 0,
9
- "transformers_version": "4.57.3"
10
  }
 
2
  "_from_model_config": true,
3
  "bos_token_id": 2,
4
  "cache_implementation": "hybrid",
5
+ "eos_token_id": 1,
 
 
6
  "pad_token_id": 0,
7
+ "transformers_version": "4.44.0"
8
  }
model-00001-of-00002.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3a707b35e51fe72361d4faa2c45c0e3078adea49e94af6fbfdf0af57f4bc431c
3
  size 4988025760
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ebdabc4e2a36de76df046e3f24338397f229eaa5ff99a891004842cfb25b48f
3
  size 4988025760
model-00002-of-00002.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4f9a539be5a716cfee5a5e3f3d2c79d90643158fbb6f538c7f373106b6ed5462
3
  size 240691728
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ce7eef45ce40e6fa759e436b51a5d8a76d238d32fdeba8b7028ddde073c530f
3
  size 240691728
model.safetensors.index.json CHANGED
@@ -1,6 +1,5 @@
1
  {
2
  "metadata": {
3
- "total_parameters": 2614341888,
4
  "total_size": 5228683776
5
  },
6
  "weight_map": {
 
1
  {
2
  "metadata": {
 
3
  "total_size": 5228683776
4
  },
5
  "weight_map": {
tokenizer.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5f7eee611703c5ce5d1eee32d9cdcfe465647b8aff0c1dfb3bed7ad7dbb05060
3
- size 34362873
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f289bc05132635a8bc7aca7aa21255efd5e18f3710f43e3cdb96bcd41be4922
3
+ size 17525357
tokenizer_config.json CHANGED
@@ -2002,7 +2002,6 @@
2002
  "bos_token": "<bos>",
2003
  "clean_up_tokenization_spaces": false,
2004
  "eos_token": "<eos>",
2005
- "extra_special_tokens": {},
2006
  "model_max_length": 1000000000000000019884624838656,
2007
  "pad_token": "<pad>",
2008
  "sp_model_kwargs": {},
 
2002
  "bos_token": "<bos>",
2003
  "clean_up_tokenization_spaces": false,
2004
  "eos_token": "<eos>",
 
2005
  "model_max_length": 1000000000000000019884624838656,
2006
  "pad_token": "<pad>",
2007
  "sp_model_kwargs": {},
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f03556477a2b0b57f743d385d30da7ccea834ad244b2acff4ffde53f3b7b817b
3
- size 6225
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0d3b740889feecfbadcf41816b09816d287b510cc35c4cfa56f63da5a4b06d48
3
+ size 5624