eantropix commited on
Commit
f455cb9
·
verified ·
1 Parent(s): f9e263a

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. ft-news-full-lr-0.0002-e2/added_tokens.json +3 -0
  2. ft-news-full-lr-0.0002-e2/config.json +64 -0
  3. ft-news-full-lr-0.0002-e2/generation_config.json +13 -0
  4. ft-news-full-lr-0.0002-e2/special_tokens_map.json +33 -0
  5. ft-news-full-lr-0.0002-e2/tokenizer_config.json +0 -0
  6. ft-news-full-lr-0.0002-e2/training_log.txt +9 -0
  7. ft-news-full-lr-0.0002-e3/training_log.txt +1 -0
  8. ft-news-full-lr-0.001-e1/README.md +58 -0
  9. ft-news-full-lr-0.001-e1/added_tokens.json +3 -0
  10. ft-news-full-lr-0.001-e1/config.json +64 -0
  11. ft-news-full-lr-0.001-e1/generation_config.json +13 -0
  12. ft-news-full-lr-0.001-e1/special_tokens_map.json +33 -0
  13. ft-news-full-lr-0.001-e1/tokenizer_config.json +0 -0
  14. ft-news-full-lr-0.001-e1/training_log.txt +11 -0
  15. ft-news-lora-r16-a16-lr-0.0002-e3-d05/README.md +59 -0
  16. ft-news-lora-r16-a16-lr-0.0002-e3-d05/adapter_config.json +37 -0
  17. ft-news-lora-r16-a16-lr-0.0002-e3-d05/added_tokens.json +3 -0
  18. ft-news-lora-r16-a16-lr-0.0002-e3-d05/special_tokens_map.json +33 -0
  19. ft-news-lora-r16-a16-lr-0.0002-e3-d05/tokenizer_config.json +0 -0
  20. ft-news-lora-r16-a16-lr-0.0002-e3-d05/training_log.txt +10 -0
  21. ft-news-lora-r16-a32-lr-0.0002-e2-d05/README.md +59 -0
  22. ft-news-lora-r16-a32-lr-0.0002-e2-d05/adapter_config.json +37 -0
  23. ft-news-lora-r16-a32-lr-0.0002-e2-d05/added_tokens.json +3 -0
  24. ft-news-lora-r16-a32-lr-0.0002-e2-d05/special_tokens_map.json +33 -0
  25. ft-news-lora-r16-a32-lr-0.0002-e2-d05/tokenizer_config.json +0 -0
  26. ft-news-lora-r16-a32-lr-0.0002-e2-d05/training_log.txt +9 -0
  27. ft-news-lora-r16-a32-lr-0.0002-e3-d05/checkpoint-1080/README.md +202 -0
  28. ft-news-lora-r16-a32-lr-0.0002-e3-d05/checkpoint-1080/adapter_config.json +37 -0
  29. ft-news-lora-r16-a32-lr-0.0002-e3-d05/checkpoint-1080/added_tokens.json +3 -0
  30. ft-news-lora-r16-a32-lr-0.0002-e3-d05/checkpoint-1080/special_tokens_map.json +33 -0
  31. ft-news-lora-r16-a32-lr-0.0002-e3-d05/checkpoint-1080/tokenizer_config.json +0 -0
  32. ft-news-lora-r16-a32-lr-0.0002-e3-d05/checkpoint-1080/trainer_state.json +192 -0
  33. ft-news-lora-r16-a32-lr-0.0002-e3-d05/checkpoint-1296/README.md +202 -0
  34. ft-news-lora-r16-a32-lr-0.0002-e3-d05/checkpoint-1296/adapter_config.json +37 -0
  35. ft-news-lora-r16-a32-lr-0.0002-e3-d05/checkpoint-1296/added_tokens.json +3 -0
  36. ft-news-lora-r16-a32-lr-0.0002-e3-d05/checkpoint-1296/special_tokens_map.json +33 -0
  37. ft-news-lora-r16-a32-lr-0.0002-e3-d05/checkpoint-1296/tokenizer_config.json +0 -0
  38. ft-news-lora-r16-a32-lr-0.0002-e3-d05/checkpoint-1296/trainer_state.json +220 -0
  39. ft-news-lora-r16-a32-lr-0.0002-e3-d05/checkpoint-648/README.md +202 -0
  40. ft-news-lora-r16-a32-lr-0.0002-e3-d05/checkpoint-648/adapter_config.json +37 -0
  41. ft-news-lora-r16-a32-lr-0.0002-e3-d05/checkpoint-648/added_tokens.json +3 -0
  42. ft-news-lora-r16-a32-lr-0.0002-e3-d05/checkpoint-648/special_tokens_map.json +33 -0
  43. ft-news-lora-r16-a32-lr-0.0002-e3-d05/checkpoint-648/tokenizer_config.json +0 -0
  44. ft-news-lora-r16-a32-lr-0.0002-e3-d05/checkpoint-648/trainer_state.json +136 -0
  45. ft-news-lora-r16-a32-lr-0.0002-e4-d05/README.md +59 -0
  46. ft-news-lora-r16-a32-lr-0.0002-e4-d05/adapter_config.json +37 -0
  47. ft-news-lora-r16-a32-lr-0.0002-e4-d05/added_tokens.json +3 -0
  48. ft-news-lora-r16-a32-lr-0.0002-e4-d05/special_tokens_map.json +33 -0
  49. ft-news-lora-r16-a32-lr-0.0002-e4-d05/tokenizer_config.json +0 -0
  50. ft-news-lora-r16-a32-lr-0.0002-e4-d05/training_log.txt +6 -0
ft-news-full-lr-0.0002-e2/added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<image_soft_token>": 262144
3
+ }
ft-news-full-lr-0.0002-e2/config.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_sliding_window_pattern": 6,
3
+ "architectures": [
4
+ "Gemma3ForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "attn_logit_softcapping": null,
9
+ "bos_token_id": 2,
10
+ "cache_implementation": "hybrid",
11
+ "dtype": "bfloat16",
12
+ "eos_token_id": 1,
13
+ "final_logit_softcapping": null,
14
+ "head_dim": 256,
15
+ "hidden_activation": "gelu_pytorch_tanh",
16
+ "hidden_size": 1152,
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 6912,
19
+ "layer_types": [
20
+ "sliding_attention",
21
+ "sliding_attention",
22
+ "sliding_attention",
23
+ "sliding_attention",
24
+ "sliding_attention",
25
+ "full_attention",
26
+ "sliding_attention",
27
+ "sliding_attention",
28
+ "sliding_attention",
29
+ "sliding_attention",
30
+ "sliding_attention",
31
+ "full_attention",
32
+ "sliding_attention",
33
+ "sliding_attention",
34
+ "sliding_attention",
35
+ "sliding_attention",
36
+ "sliding_attention",
37
+ "full_attention",
38
+ "sliding_attention",
39
+ "sliding_attention",
40
+ "sliding_attention",
41
+ "sliding_attention",
42
+ "sliding_attention",
43
+ "full_attention",
44
+ "sliding_attention",
45
+ "sliding_attention"
46
+ ],
47
+ "max_position_embeddings": 32768,
48
+ "model_type": "gemma3_text",
49
+ "num_attention_heads": 4,
50
+ "num_hidden_layers": 26,
51
+ "num_key_value_heads": 1,
52
+ "pad_token_id": 0,
53
+ "query_pre_attn_scalar": 256,
54
+ "rms_norm_eps": 1e-06,
55
+ "rope_local_base_freq": 10000,
56
+ "rope_scaling": null,
57
+ "rope_theta": 1000000,
58
+ "sliding_window": 512,
59
+ "sliding_window_pattern": 6,
60
+ "transformers_version": "4.57.0",
61
+ "use_bidirectional_attention": false,
62
+ "use_cache": true,
63
+ "vocab_size": 262144
64
+ }
ft-news-full-lr-0.0002-e2/generation_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 2,
3
+ "cache_implementation": "hybrid",
4
+ "do_sample": true,
5
+ "eos_token_id": [
6
+ 1,
7
+ 106
8
+ ],
9
+ "pad_token_id": 0,
10
+ "top_k": 64,
11
+ "top_p": 0.95,
12
+ "transformers_version": "4.57.0"
13
+ }
ft-news-full-lr-0.0002-e2/special_tokens_map.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "boi_token": "<start_of_image>",
3
+ "bos_token": {
4
+ "content": "<bos>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false
9
+ },
10
+ "eoi_token": "<end_of_image>",
11
+ "eos_token": {
12
+ "content": "<eos>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false
17
+ },
18
+ "image_token": "<image_soft_token>",
19
+ "pad_token": {
20
+ "content": "<pad>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false
25
+ },
26
+ "unk_token": {
27
+ "content": "<unk>",
28
+ "lstrip": false,
29
+ "normalized": false,
30
+ "rstrip": false,
31
+ "single_word": false
32
+ }
33
+ }
ft-news-full-lr-0.0002-e2/tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff
 
ft-news-full-lr-0.0002-e2/training_log.txt ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ Step Training Loss Validation Loss
2
+ 144 3.1351 3.151618719100952
3
+ 288 3.0851 3.121365547180176
4
+ 432 3.072 3.0553252696990967
5
+ 576 3.0359 3.017803192138672
6
+ 720 3.0219 2.9939191341400146
7
+ 864 2.1964 3.0830442905426025
8
+ 1008 2.2706 3.0507395267486572
9
+ 1152 2.3071 3.0456490516662598
ft-news-full-lr-0.0002-e3/training_log.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Step Training Loss Validation Loss
ft-news-full-lr-0.001-e1/README.md ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: google/gemma-3-1b-pt
3
+ library_name: transformers
4
+ model_name: ft-news-full-lr-0.001-e1
5
+ tags:
6
+ - generated_from_trainer
7
+ - sft
8
+ - trl
9
+ licence: license
10
+ ---
11
+
12
+ # Model Card for ft-news-full-lr-0.001-e1
13
+
14
+ This model is a fine-tuned version of [google/gemma-3-1b-pt](https://huggingface.co/google/gemma-3-1b-pt).
15
+ It has been trained using [TRL](https://github.com/huggingface/trl).
16
+
17
+ ## Quick start
18
+
19
+ ```python
20
+ from transformers import pipeline
21
+
22
+ question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
23
+ generator = pipeline("text-generation", model="None", device="cuda")
24
+ output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
25
+ print(output["generated_text"])
26
+ ```
27
+
28
+ ## Training procedure
29
+
30
+
31
+
32
+
33
+ This model was trained with SFT.
34
+
35
+ ### Framework versions
36
+
37
+ - TRL: 0.21.0
38
+ - Transformers: 4.57.0
39
+ - Pytorch: 2.8.0
40
+ - Datasets: 3.3.2
41
+ - Tokenizers: 0.22.1
42
+
43
+ ## Citations
44
+
45
+
46
+
47
+ Cite TRL as:
48
+
49
+ ```bibtex
50
+ @misc{vonwerra2022trl,
51
+ title = {{TRL: Transformer Reinforcement Learning}},
52
+ author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallou{\'e}dec},
53
+ year = 2020,
54
+ journal = {GitHub repository},
55
+ publisher = {GitHub},
56
+ howpublished = {\url{https://github.com/huggingface/trl}}
57
+ }
58
+ ```
ft-news-full-lr-0.001-e1/added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<image_soft_token>": 262144
3
+ }
ft-news-full-lr-0.001-e1/config.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_sliding_window_pattern": 6,
3
+ "architectures": [
4
+ "Gemma3ForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "attn_logit_softcapping": null,
9
+ "bos_token_id": 2,
10
+ "cache_implementation": "hybrid",
11
+ "dtype": "bfloat16",
12
+ "eos_token_id": 1,
13
+ "final_logit_softcapping": null,
14
+ "head_dim": 256,
15
+ "hidden_activation": "gelu_pytorch_tanh",
16
+ "hidden_size": 1152,
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 6912,
19
+ "layer_types": [
20
+ "sliding_attention",
21
+ "sliding_attention",
22
+ "sliding_attention",
23
+ "sliding_attention",
24
+ "sliding_attention",
25
+ "full_attention",
26
+ "sliding_attention",
27
+ "sliding_attention",
28
+ "sliding_attention",
29
+ "sliding_attention",
30
+ "sliding_attention",
31
+ "full_attention",
32
+ "sliding_attention",
33
+ "sliding_attention",
34
+ "sliding_attention",
35
+ "sliding_attention",
36
+ "sliding_attention",
37
+ "full_attention",
38
+ "sliding_attention",
39
+ "sliding_attention",
40
+ "sliding_attention",
41
+ "sliding_attention",
42
+ "sliding_attention",
43
+ "full_attention",
44
+ "sliding_attention",
45
+ "sliding_attention"
46
+ ],
47
+ "max_position_embeddings": 32768,
48
+ "model_type": "gemma3_text",
49
+ "num_attention_heads": 4,
50
+ "num_hidden_layers": 26,
51
+ "num_key_value_heads": 1,
52
+ "pad_token_id": 0,
53
+ "query_pre_attn_scalar": 256,
54
+ "rms_norm_eps": 1e-06,
55
+ "rope_local_base_freq": 10000,
56
+ "rope_scaling": null,
57
+ "rope_theta": 1000000,
58
+ "sliding_window": 512,
59
+ "sliding_window_pattern": 6,
60
+ "transformers_version": "4.57.0",
61
+ "use_bidirectional_attention": false,
62
+ "use_cache": true,
63
+ "vocab_size": 262144
64
+ }
ft-news-full-lr-0.001-e1/generation_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 2,
3
+ "cache_implementation": "hybrid",
4
+ "do_sample": true,
5
+ "eos_token_id": [
6
+ 1,
7
+ 106
8
+ ],
9
+ "pad_token_id": 0,
10
+ "top_k": 64,
11
+ "top_p": 0.95,
12
+ "transformers_version": "4.57.0"
13
+ }
ft-news-full-lr-0.001-e1/special_tokens_map.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "boi_token": "<start_of_image>",
3
+ "bos_token": {
4
+ "content": "<bos>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false
9
+ },
10
+ "eoi_token": "<end_of_image>",
11
+ "eos_token": {
12
+ "content": "<eos>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false
17
+ },
18
+ "image_token": "<image_soft_token>",
19
+ "pad_token": {
20
+ "content": "<pad>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false
25
+ },
26
+ "unk_token": {
27
+ "content": "<unk>",
28
+ "lstrip": false,
29
+ "normalized": false,
30
+ "rstrip": false,
31
+ "single_word": false
32
+ }
33
+ }
ft-news-full-lr-0.001-e1/tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff
 
ft-news-full-lr-0.001-e1/training_log.txt ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Step Training Loss Validation Loss
2
+ 72 6.1697 5.803530216217041
3
+ 144 5.3283 5.263600826263428
4
+ 216 5.0059 4.948237895965576
5
+ 288 4.736 4.800357818603516
6
+ 360 4.5706 4.6293463706970215
7
+ 432 4.6117 4.53229284286499
8
+ 504 4.4449 4.439822196960449
9
+ 576 4.3724 4.356940269470215
10
+ 648 4.3485 4.302922248840332
11
+ 720 4.3085 4.256084442138672
ft-news-lora-r16-a16-lr-0.0002-e3-d05/README.md ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: google/gemma-3-1b-pt
3
+ library_name: peft
4
+ model_name: ft-news-lora-r16-a16-lr-0.0002-e3-d05
5
+ tags:
6
+ - generated_from_trainer
7
+ - trl
8
+ - sft
9
+ licence: license
10
+ ---
11
+
12
+ # Model Card for ft-news-lora-r16-a16-lr-0.0002-e3-d05
13
+
14
+ This model is a fine-tuned version of [google/gemma-3-1b-pt](https://huggingface.co/google/gemma-3-1b-pt).
15
+ It has been trained using [TRL](https://github.com/huggingface/trl).
16
+
17
+ ## Quick start
18
+
19
+ ```python
20
+ from transformers import pipeline
21
+
22
+ question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
23
+ generator = pipeline("text-generation", model="None", device="cuda")
24
+ output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
25
+ print(output["generated_text"])
26
+ ```
27
+
28
+ ## Training procedure
29
+
30
+
31
+
32
+
33
+ This model was trained with SFT.
34
+
35
+ ### Framework versions
36
+
37
+ - PEFT 0.14.0
38
+ - TRL: 0.21.0
39
+ - Transformers: 4.57.0
40
+ - Pytorch: 2.8.0
41
+ - Datasets: 3.3.2
42
+ - Tokenizers: 0.22.1
43
+
44
+ ## Citations
45
+
46
+
47
+
48
+ Cite TRL as:
49
+
50
+ ```bibtex
51
+ @misc{vonwerra2022trl,
52
+ title = {{TRL: Transformer Reinforcement Learning}},
53
+ author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallou{\'e}dec},
54
+ year = 2020,
55
+ journal = {GitHub repository},
56
+ publisher = {GitHub},
57
+ howpublished = {\url{https://github.com/huggingface/trl}}
58
+ }
59
+ ```
ft-news-lora-r16-a16-lr-0.0002-e3-d05/adapter_config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "google/gemma-3-1b-pt",
5
+ "bias": "none",
6
+ "eva_config": null,
7
+ "exclude_modules": null,
8
+ "fan_in_fan_out": false,
9
+ "inference_mode": true,
10
+ "init_lora_weights": true,
11
+ "layer_replication": null,
12
+ "layers_pattern": null,
13
+ "layers_to_transform": null,
14
+ "loftq_config": {},
15
+ "lora_alpha": 16,
16
+ "lora_bias": false,
17
+ "lora_dropout": 0.05,
18
+ "megatron_config": null,
19
+ "megatron_core": "megatron.core",
20
+ "modules_to_save": null,
21
+ "peft_type": "LORA",
22
+ "r": 16,
23
+ "rank_pattern": {},
24
+ "revision": null,
25
+ "target_modules": [
26
+ "down_proj",
27
+ "up_proj",
28
+ "k_proj",
29
+ "o_proj",
30
+ "q_proj",
31
+ "gate_proj",
32
+ "v_proj"
33
+ ],
34
+ "task_type": "CAUSAL_LM",
35
+ "use_dora": false,
36
+ "use_rslora": false
37
+ }
ft-news-lora-r16-a16-lr-0.0002-e3-d05/added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<image_soft_token>": 262144
3
+ }
ft-news-lora-r16-a16-lr-0.0002-e3-d05/special_tokens_map.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "boi_token": "<start_of_image>",
3
+ "bos_token": {
4
+ "content": "<bos>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false
9
+ },
10
+ "eoi_token": "<end_of_image>",
11
+ "eos_token": {
12
+ "content": "<eos>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false
17
+ },
18
+ "image_token": "<image_soft_token>",
19
+ "pad_token": {
20
+ "content": "<pad>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false
25
+ },
26
+ "unk_token": {
27
+ "content": "<unk>",
28
+ "lstrip": false,
29
+ "normalized": false,
30
+ "rstrip": false,
31
+ "single_word": false
32
+ }
33
+ }
ft-news-lora-r16-a16-lr-0.0002-e3-d05/tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff
 
ft-news-lora-r16-a16-lr-0.0002-e3-d05/training_log.txt ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ Step Training Loss Validation Loss
2
+ 216 2.3059 2.3071415424346924
3
+ 432 2.2838 2.2913014888763428
4
+ 648 2.2905 2.281015634536743
5
+ 864 2.1717 2.2862744331359863
6
+ 1080 2.1925 2.283698081970215
7
+ 1296 2.1759 2.2802865505218506
8
+ 1512 2.082 2.310197114944458
9
+ 1728 2.0383 2.318718671798706
10
+ 1944 2.0534 2.3145766258239746
ft-news-lora-r16-a32-lr-0.0002-e2-d05/README.md ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: google/gemma-3-1b-pt
3
+ library_name: peft
4
+ model_name: ft-news-lora-r16-a32-lr-0.0002-e2-d05
5
+ tags:
6
+ - generated_from_trainer
7
+ - trl
8
+ - sft
9
+ licence: license
10
+ ---
11
+
12
+ # Model Card for ft-news-lora-r16-a32-lr-0.0002-e2-d05
13
+
14
+ This model is a fine-tuned version of [google/gemma-3-1b-pt](https://huggingface.co/google/gemma-3-1b-pt).
15
+ It has been trained using [TRL](https://github.com/huggingface/trl).
16
+
17
+ ## Quick start
18
+
19
+ ```python
20
+ from transformers import pipeline
21
+
22
+ question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
23
+ generator = pipeline("text-generation", model="None", device="cuda")
24
+ output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
25
+ print(output["generated_text"])
26
+ ```
27
+
28
+ ## Training procedure
29
+
30
+
31
+
32
+
33
+ This model was trained with SFT.
34
+
35
+ ### Framework versions
36
+
37
+ - PEFT 0.14.0
38
+ - TRL: 0.21.0
39
+ - Transformers: 4.57.0
40
+ - Pytorch: 2.8.0
41
+ - Datasets: 3.3.2
42
+ - Tokenizers: 0.22.1
43
+
44
+ ## Citations
45
+
46
+
47
+
48
+ Cite TRL as:
49
+
50
+ ```bibtex
51
+ @misc{vonwerra2022trl,
52
+ title = {{TRL: Transformer Reinforcement Learning}},
53
+ author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallou{\'e}dec},
54
+ year = 2020,
55
+ journal = {GitHub repository},
56
+ publisher = {GitHub},
57
+ howpublished = {\url{https://github.com/huggingface/trl}}
58
+ }
59
+ ```
ft-news-lora-r16-a32-lr-0.0002-e2-d05/adapter_config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "google/gemma-3-1b-pt",
5
+ "bias": "none",
6
+ "eva_config": null,
7
+ "exclude_modules": null,
8
+ "fan_in_fan_out": false,
9
+ "inference_mode": true,
10
+ "init_lora_weights": true,
11
+ "layer_replication": null,
12
+ "layers_pattern": null,
13
+ "layers_to_transform": null,
14
+ "loftq_config": {},
15
+ "lora_alpha": 32,
16
+ "lora_bias": false,
17
+ "lora_dropout": 0.05,
18
+ "megatron_config": null,
19
+ "megatron_core": "megatron.core",
20
+ "modules_to_save": null,
21
+ "peft_type": "LORA",
22
+ "r": 16,
23
+ "rank_pattern": {},
24
+ "revision": null,
25
+ "target_modules": [
26
+ "down_proj",
27
+ "up_proj",
28
+ "k_proj",
29
+ "o_proj",
30
+ "q_proj",
31
+ "gate_proj",
32
+ "v_proj"
33
+ ],
34
+ "task_type": "CAUSAL_LM",
35
+ "use_dora": false,
36
+ "use_rslora": false
37
+ }
ft-news-lora-r16-a32-lr-0.0002-e2-d05/added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<image_soft_token>": 262144
3
+ }
ft-news-lora-r16-a32-lr-0.0002-e2-d05/special_tokens_map.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "boi_token": "<start_of_image>",
3
+ "bos_token": {
4
+ "content": "<bos>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false
9
+ },
10
+ "eoi_token": "<end_of_image>",
11
+ "eos_token": {
12
+ "content": "<eos>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false
17
+ },
18
+ "image_token": "<image_soft_token>",
19
+ "pad_token": {
20
+ "content": "<pad>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false
25
+ },
26
+ "unk_token": {
27
+ "content": "<unk>",
28
+ "lstrip": false,
29
+ "normalized": false,
30
+ "rstrip": false,
31
+ "single_word": false
32
+ }
33
+ }
ft-news-lora-r16-a32-lr-0.0002-e2-d05/tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff
 
ft-news-lora-r16-a32-lr-0.0002-e2-d05/training_log.txt ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ Step Training Loss Validation Loss
2
+ 144 2.3043 2.3135507106781006
3
+ 288 2.2856 2.2977325916290283
4
+ 432 2.2963 2.2879891395568848
5
+ 576 2.2747 2.2817606925964355
6
+ 720 2.2931 2.2758426666259766
7
+ 864 2.1375 2.290009021759033
8
+ 1008 2.1448 2.28938889503479
9
+ 1152 2.1325 2.290745258331299
ft-news-lora-r16-a32-lr-0.0002-e3-d05/checkpoint-1080/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: google/gemma-3-1b-pt
3
+ library_name: peft
4
+ ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+
19
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
200
+ ### Framework versions
201
+
202
+ - PEFT 0.14.0
ft-news-lora-r16-a32-lr-0.0002-e3-d05/checkpoint-1080/adapter_config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "google/gemma-3-1b-pt",
5
+ "bias": "none",
6
+ "eva_config": null,
7
+ "exclude_modules": null,
8
+ "fan_in_fan_out": false,
9
+ "inference_mode": true,
10
+ "init_lora_weights": true,
11
+ "layer_replication": null,
12
+ "layers_pattern": null,
13
+ "layers_to_transform": null,
14
+ "loftq_config": {},
15
+ "lora_alpha": 32,
16
+ "lora_bias": false,
17
+ "lora_dropout": 0.05,
18
+ "megatron_config": null,
19
+ "megatron_core": "megatron.core",
20
+ "modules_to_save": null,
21
+ "peft_type": "LORA",
22
+ "r": 16,
23
+ "rank_pattern": {},
24
+ "revision": null,
25
+ "target_modules": [
26
+ "down_proj",
27
+ "up_proj",
28
+ "k_proj",
29
+ "o_proj",
30
+ "q_proj",
31
+ "gate_proj",
32
+ "v_proj"
33
+ ],
34
+ "task_type": "CAUSAL_LM",
35
+ "use_dora": false,
36
+ "use_rslora": false
37
+ }
ft-news-lora-r16-a32-lr-0.0002-e3-d05/checkpoint-1080/added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<image_soft_token>": 262144
3
+ }
ft-news-lora-r16-a32-lr-0.0002-e3-d05/checkpoint-1080/special_tokens_map.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "boi_token": "<start_of_image>",
3
+ "bos_token": {
4
+ "content": "<bos>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false
9
+ },
10
+ "eoi_token": "<end_of_image>",
11
+ "eos_token": {
12
+ "content": "<eos>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false
17
+ },
18
+ "image_token": "<image_soft_token>",
19
+ "pad_token": {
20
+ "content": "<pad>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false
25
+ },
26
+ "unk_token": {
27
+ "content": "<unk>",
28
+ "lstrip": false,
29
+ "normalized": false,
30
+ "rstrip": false,
31
+ "single_word": false
32
+ }
33
+ }
ft-news-lora-r16-a32-lr-0.0002-e3-d05/checkpoint-1080/tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff
 
ft-news-lora-r16-a32-lr-0.0002-e3-d05/checkpoint-1080/trainer_state.json ADDED
@@ -0,0 +1,192 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 648,
3
+ "best_metric": 2.2783515453338623,
4
+ "best_model_checkpoint": "ft-news/ft-news-lora-r16-a32-lr-0.0002-e3-d05/checkpoint-648",
5
+ "epoch": 1.5,
6
+ "eval_steps": 216,
7
+ "global_step": 1080,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.001388888888888889,
14
+ "grad_norm": 0.6133517026901245,
15
+ "learning_rate": 0.0002,
16
+ "loss": 2.5435,
17
+ "mean_token_accuracy": 0.4590926468372345,
18
+ "num_tokens": 4081.0,
19
+ "step": 1
20
+ },
21
+ {
22
+ "epoch": 0.15,
23
+ "grad_norm": 0.46193480491638184,
24
+ "learning_rate": 0.0002,
25
+ "loss": 2.3434,
26
+ "mean_token_accuracy": 0.48313813545157974,
27
+ "num_tokens": 438495.0,
28
+ "step": 108
29
+ },
30
+ {
31
+ "epoch": 0.3,
32
+ "grad_norm": 0.4896698296070099,
33
+ "learning_rate": 0.0002,
34
+ "loss": 2.3013,
35
+ "mean_token_accuracy": 0.4893193711285238,
36
+ "num_tokens": 875620.0,
37
+ "step": 216
38
+ },
39
+ {
40
+ "epoch": 0.3,
41
+ "eval_loss": 2.303950071334839,
42
+ "eval_mean_token_accuracy": 0.4888709216462002,
43
+ "eval_num_tokens": 875620.0,
44
+ "eval_runtime": 197.1794,
45
+ "eval_samples_per_second": 7.308,
46
+ "eval_steps_per_second": 7.308,
47
+ "step": 216
48
+ },
49
+ {
50
+ "epoch": 0.45,
51
+ "grad_norm": 0.48019546270370483,
52
+ "learning_rate": 0.0002,
53
+ "loss": 2.284,
54
+ "mean_token_accuracy": 0.4909865791323008,
55
+ "num_tokens": 1314078.0,
56
+ "step": 324
57
+ },
58
+ {
59
+ "epoch": 0.6,
60
+ "grad_norm": 0.5380330681800842,
61
+ "learning_rate": 0.0002,
62
+ "loss": 2.281,
63
+ "mean_token_accuracy": 0.49227224400749914,
64
+ "num_tokens": 1752098.0,
65
+ "step": 432
66
+ },
67
+ {
68
+ "epoch": 0.6,
69
+ "eval_loss": 2.2883965969085693,
70
+ "eval_mean_token_accuracy": 0.49104933458264716,
71
+ "eval_num_tokens": 1752098.0,
72
+ "eval_runtime": 196.4675,
73
+ "eval_samples_per_second": 7.335,
74
+ "eval_steps_per_second": 7.335,
75
+ "step": 432
76
+ },
77
+ {
78
+ "epoch": 0.75,
79
+ "grad_norm": 0.5464029312133789,
80
+ "learning_rate": 0.0002,
81
+ "loss": 2.2717,
82
+ "mean_token_accuracy": 0.49533394455081886,
83
+ "num_tokens": 2189869.0,
84
+ "step": 540
85
+ },
86
+ {
87
+ "epoch": 0.9,
88
+ "grad_norm": 0.5053594708442688,
89
+ "learning_rate": 0.0002,
90
+ "loss": 2.2891,
91
+ "mean_token_accuracy": 0.49087702696798025,
92
+ "num_tokens": 2627097.0,
93
+ "step": 648
94
+ },
95
+ {
96
+ "epoch": 0.9,
97
+ "eval_loss": 2.2783515453338623,
98
+ "eval_mean_token_accuracy": 0.4926762466501809,
99
+ "eval_num_tokens": 2627097.0,
100
+ "eval_runtime": 196.5365,
101
+ "eval_samples_per_second": 7.332,
102
+ "eval_steps_per_second": 7.332,
103
+ "step": 648
104
+ },
105
+ {
106
+ "epoch": 1.05,
107
+ "grad_norm": 0.5897691249847412,
108
+ "learning_rate": 0.0002,
109
+ "loss": 2.2442,
110
+ "mean_token_accuracy": 0.49817485541657164,
111
+ "num_tokens": 3064985.0,
112
+ "step": 756
113
+ },
114
+ {
115
+ "epoch": 1.2,
116
+ "grad_norm": 0.6253899335861206,
117
+ "learning_rate": 0.0002,
118
+ "loss": 2.127,
119
+ "mean_token_accuracy": 0.5171227583454715,
120
+ "num_tokens": 3502181.0,
121
+ "step": 864
122
+ },
123
+ {
124
+ "epoch": 1.2,
125
+ "eval_loss": 2.2900490760803223,
126
+ "eval_mean_token_accuracy": 0.4917532605152011,
127
+ "eval_num_tokens": 3502181.0,
128
+ "eval_runtime": 196.5208,
129
+ "eval_samples_per_second": 7.333,
130
+ "eval_steps_per_second": 7.333,
131
+ "step": 864
132
+ },
133
+ {
134
+ "epoch": 1.35,
135
+ "grad_norm": 0.7397264838218689,
136
+ "learning_rate": 0.0002,
137
+ "loss": 2.1327,
138
+ "mean_token_accuracy": 0.51345559257876,
139
+ "num_tokens": 3940625.0,
140
+ "step": 972
141
+ },
142
+ {
143
+ "epoch": 1.5,
144
+ "grad_norm": 0.7690116763114929,
145
+ "learning_rate": 0.0002,
146
+ "loss": 2.1503,
147
+ "mean_token_accuracy": 0.5115880646087505,
148
+ "num_tokens": 4377821.0,
149
+ "step": 1080
150
+ },
151
+ {
152
+ "epoch": 1.5,
153
+ "eval_loss": 2.29190993309021,
154
+ "eval_mean_token_accuracy": 0.4918374139389009,
155
+ "eval_num_tokens": 4377821.0,
156
+ "eval_runtime": 196.5261,
157
+ "eval_samples_per_second": 7.332,
158
+ "eval_steps_per_second": 7.332,
159
+ "step": 1080
160
+ }
161
+ ],
162
+ "logging_steps": 108,
163
+ "max_steps": 2160,
164
+ "num_input_tokens_seen": 0,
165
+ "num_train_epochs": 3,
166
+ "save_steps": 216,
167
+ "stateful_callbacks": {
168
+ "EarlyStoppingCallback": {
169
+ "args": {
170
+ "early_stopping_patience": 3,
171
+ "early_stopping_threshold": 0.0
172
+ },
173
+ "attributes": {
174
+ "early_stopping_patience_counter": 2
175
+ }
176
+ },
177
+ "TrainerControl": {
178
+ "args": {
179
+ "should_epoch_stop": false,
180
+ "should_evaluate": false,
181
+ "should_log": false,
182
+ "should_save": true,
183
+ "should_training_stop": false
184
+ },
185
+ "attributes": {}
186
+ }
187
+ },
188
+ "total_flos": 1.8674256281313024e+16,
189
+ "train_batch_size": 1,
190
+ "trial_name": null,
191
+ "trial_params": null
192
+ }
ft-news-lora-r16-a32-lr-0.0002-e3-d05/checkpoint-1296/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: google/gemma-3-1b-pt
3
+ library_name: peft
4
+ ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+
19
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
200
+ ### Framework versions
201
+
202
+ - PEFT 0.14.0
ft-news-lora-r16-a32-lr-0.0002-e3-d05/checkpoint-1296/adapter_config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "google/gemma-3-1b-pt",
5
+ "bias": "none",
6
+ "eva_config": null,
7
+ "exclude_modules": null,
8
+ "fan_in_fan_out": false,
9
+ "inference_mode": true,
10
+ "init_lora_weights": true,
11
+ "layer_replication": null,
12
+ "layers_pattern": null,
13
+ "layers_to_transform": null,
14
+ "loftq_config": {},
15
+ "lora_alpha": 32,
16
+ "lora_bias": false,
17
+ "lora_dropout": 0.05,
18
+ "megatron_config": null,
19
+ "megatron_core": "megatron.core",
20
+ "modules_to_save": null,
21
+ "peft_type": "LORA",
22
+ "r": 16,
23
+ "rank_pattern": {},
24
+ "revision": null,
25
+ "target_modules": [
26
+ "down_proj",
27
+ "up_proj",
28
+ "k_proj",
29
+ "o_proj",
30
+ "q_proj",
31
+ "gate_proj",
32
+ "v_proj"
33
+ ],
34
+ "task_type": "CAUSAL_LM",
35
+ "use_dora": false,
36
+ "use_rslora": false
37
+ }
ft-news-lora-r16-a32-lr-0.0002-e3-d05/checkpoint-1296/added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<image_soft_token>": 262144
3
+ }
ft-news-lora-r16-a32-lr-0.0002-e3-d05/checkpoint-1296/special_tokens_map.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "boi_token": "<start_of_image>",
3
+ "bos_token": {
4
+ "content": "<bos>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false
9
+ },
10
+ "eoi_token": "<end_of_image>",
11
+ "eos_token": {
12
+ "content": "<eos>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false
17
+ },
18
+ "image_token": "<image_soft_token>",
19
+ "pad_token": {
20
+ "content": "<pad>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false
25
+ },
26
+ "unk_token": {
27
+ "content": "<unk>",
28
+ "lstrip": false,
29
+ "normalized": false,
30
+ "rstrip": false,
31
+ "single_word": false
32
+ }
33
+ }
ft-news-lora-r16-a32-lr-0.0002-e3-d05/checkpoint-1296/tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff
 
ft-news-lora-r16-a32-lr-0.0002-e3-d05/checkpoint-1296/trainer_state.json ADDED
@@ -0,0 +1,220 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 648,
3
+ "best_metric": 2.2783515453338623,
4
+ "best_model_checkpoint": "ft-news/ft-news-lora-r16-a32-lr-0.0002-e3-d05/checkpoint-648",
5
+ "epoch": 1.8,
6
+ "eval_steps": 216,
7
+ "global_step": 1296,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.001388888888888889,
14
+ "grad_norm": 0.6133517026901245,
15
+ "learning_rate": 0.0002,
16
+ "loss": 2.5435,
17
+ "mean_token_accuracy": 0.4590926468372345,
18
+ "num_tokens": 4081.0,
19
+ "step": 1
20
+ },
21
+ {
22
+ "epoch": 0.15,
23
+ "grad_norm": 0.46193480491638184,
24
+ "learning_rate": 0.0002,
25
+ "loss": 2.3434,
26
+ "mean_token_accuracy": 0.48313813545157974,
27
+ "num_tokens": 438495.0,
28
+ "step": 108
29
+ },
30
+ {
31
+ "epoch": 0.3,
32
+ "grad_norm": 0.4896698296070099,
33
+ "learning_rate": 0.0002,
34
+ "loss": 2.3013,
35
+ "mean_token_accuracy": 0.4893193711285238,
36
+ "num_tokens": 875620.0,
37
+ "step": 216
38
+ },
39
+ {
40
+ "epoch": 0.3,
41
+ "eval_loss": 2.303950071334839,
42
+ "eval_mean_token_accuracy": 0.4888709216462002,
43
+ "eval_num_tokens": 875620.0,
44
+ "eval_runtime": 197.1794,
45
+ "eval_samples_per_second": 7.308,
46
+ "eval_steps_per_second": 7.308,
47
+ "step": 216
48
+ },
49
+ {
50
+ "epoch": 0.45,
51
+ "grad_norm": 0.48019546270370483,
52
+ "learning_rate": 0.0002,
53
+ "loss": 2.284,
54
+ "mean_token_accuracy": 0.4909865791323008,
55
+ "num_tokens": 1314078.0,
56
+ "step": 324
57
+ },
58
+ {
59
+ "epoch": 0.6,
60
+ "grad_norm": 0.5380330681800842,
61
+ "learning_rate": 0.0002,
62
+ "loss": 2.281,
63
+ "mean_token_accuracy": 0.49227224400749914,
64
+ "num_tokens": 1752098.0,
65
+ "step": 432
66
+ },
67
+ {
68
+ "epoch": 0.6,
69
+ "eval_loss": 2.2883965969085693,
70
+ "eval_mean_token_accuracy": 0.49104933458264716,
71
+ "eval_num_tokens": 1752098.0,
72
+ "eval_runtime": 196.4675,
73
+ "eval_samples_per_second": 7.335,
74
+ "eval_steps_per_second": 7.335,
75
+ "step": 432
76
+ },
77
+ {
78
+ "epoch": 0.75,
79
+ "grad_norm": 0.5464029312133789,
80
+ "learning_rate": 0.0002,
81
+ "loss": 2.2717,
82
+ "mean_token_accuracy": 0.49533394455081886,
83
+ "num_tokens": 2189869.0,
84
+ "step": 540
85
+ },
86
+ {
87
+ "epoch": 0.9,
88
+ "grad_norm": 0.5053594708442688,
89
+ "learning_rate": 0.0002,
90
+ "loss": 2.2891,
91
+ "mean_token_accuracy": 0.49087702696798025,
92
+ "num_tokens": 2627097.0,
93
+ "step": 648
94
+ },
95
+ {
96
+ "epoch": 0.9,
97
+ "eval_loss": 2.2783515453338623,
98
+ "eval_mean_token_accuracy": 0.4926762466501809,
99
+ "eval_num_tokens": 2627097.0,
100
+ "eval_runtime": 196.5365,
101
+ "eval_samples_per_second": 7.332,
102
+ "eval_steps_per_second": 7.332,
103
+ "step": 648
104
+ },
105
+ {
106
+ "epoch": 1.05,
107
+ "grad_norm": 0.5897691249847412,
108
+ "learning_rate": 0.0002,
109
+ "loss": 2.2442,
110
+ "mean_token_accuracy": 0.49817485541657164,
111
+ "num_tokens": 3064985.0,
112
+ "step": 756
113
+ },
114
+ {
115
+ "epoch": 1.2,
116
+ "grad_norm": 0.6253899335861206,
117
+ "learning_rate": 0.0002,
118
+ "loss": 2.127,
119
+ "mean_token_accuracy": 0.5171227583454715,
120
+ "num_tokens": 3502181.0,
121
+ "step": 864
122
+ },
123
+ {
124
+ "epoch": 1.2,
125
+ "eval_loss": 2.2900490760803223,
126
+ "eval_mean_token_accuracy": 0.4917532605152011,
127
+ "eval_num_tokens": 3502181.0,
128
+ "eval_runtime": 196.5208,
129
+ "eval_samples_per_second": 7.333,
130
+ "eval_steps_per_second": 7.333,
131
+ "step": 864
132
+ },
133
+ {
134
+ "epoch": 1.35,
135
+ "grad_norm": 0.7397264838218689,
136
+ "learning_rate": 0.0002,
137
+ "loss": 2.1327,
138
+ "mean_token_accuracy": 0.51345559257876,
139
+ "num_tokens": 3940625.0,
140
+ "step": 972
141
+ },
142
+ {
143
+ "epoch": 1.5,
144
+ "grad_norm": 0.7690116763114929,
145
+ "learning_rate": 0.0002,
146
+ "loss": 2.1503,
147
+ "mean_token_accuracy": 0.5115880646087505,
148
+ "num_tokens": 4377821.0,
149
+ "step": 1080
150
+ },
151
+ {
152
+ "epoch": 1.5,
153
+ "eval_loss": 2.29190993309021,
154
+ "eval_mean_token_accuracy": 0.4918374139389009,
155
+ "eval_num_tokens": 4377821.0,
156
+ "eval_runtime": 196.5261,
157
+ "eval_samples_per_second": 7.332,
158
+ "eval_steps_per_second": 7.332,
159
+ "step": 1080
160
+ },
161
+ {
162
+ "epoch": 1.65,
163
+ "grad_norm": 0.7437329888343811,
164
+ "learning_rate": 0.0002,
165
+ "loss": 2.1317,
166
+ "mean_token_accuracy": 0.5137413809834807,
167
+ "num_tokens": 4816043.0,
168
+ "step": 1188
169
+ },
170
+ {
171
+ "epoch": 1.8,
172
+ "grad_norm": 0.7758866548538208,
173
+ "learning_rate": 0.0002,
174
+ "loss": 2.1376,
175
+ "mean_token_accuracy": 0.5137929111305211,
176
+ "num_tokens": 5254760.0,
177
+ "step": 1296
178
+ },
179
+ {
180
+ "epoch": 1.8,
181
+ "eval_loss": 2.2896957397460938,
182
+ "eval_mean_token_accuracy": 0.4921409494962897,
183
+ "eval_num_tokens": 5254760.0,
184
+ "eval_runtime": 196.8119,
185
+ "eval_samples_per_second": 7.322,
186
+ "eval_steps_per_second": 7.322,
187
+ "step": 1296
188
+ }
189
+ ],
190
+ "logging_steps": 108,
191
+ "max_steps": 2160,
192
+ "num_input_tokens_seen": 0,
193
+ "num_train_epochs": 3,
194
+ "save_steps": 216,
195
+ "stateful_callbacks": {
196
+ "EarlyStoppingCallback": {
197
+ "args": {
198
+ "early_stopping_patience": 3,
199
+ "early_stopping_threshold": 0.0
200
+ },
201
+ "attributes": {
202
+ "early_stopping_patience_counter": 3
203
+ }
204
+ },
205
+ "TrainerControl": {
206
+ "args": {
207
+ "should_epoch_stop": false,
208
+ "should_evaluate": false,
209
+ "should_log": false,
210
+ "should_save": true,
211
+ "should_training_stop": true
212
+ },
213
+ "attributes": {}
214
+ }
215
+ },
216
+ "total_flos": 2.241497195449344e+16,
217
+ "train_batch_size": 1,
218
+ "trial_name": null,
219
+ "trial_params": null
220
+ }
ft-news-lora-r16-a32-lr-0.0002-e3-d05/checkpoint-648/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: google/gemma-3-1b-pt
3
+ library_name: peft
4
+ ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+
19
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
200
+ ### Framework versions
201
+
202
+ - PEFT 0.14.0
ft-news-lora-r16-a32-lr-0.0002-e3-d05/checkpoint-648/adapter_config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "google/gemma-3-1b-pt",
5
+ "bias": "none",
6
+ "eva_config": null,
7
+ "exclude_modules": null,
8
+ "fan_in_fan_out": false,
9
+ "inference_mode": true,
10
+ "init_lora_weights": true,
11
+ "layer_replication": null,
12
+ "layers_pattern": null,
13
+ "layers_to_transform": null,
14
+ "loftq_config": {},
15
+ "lora_alpha": 32,
16
+ "lora_bias": false,
17
+ "lora_dropout": 0.05,
18
+ "megatron_config": null,
19
+ "megatron_core": "megatron.core",
20
+ "modules_to_save": null,
21
+ "peft_type": "LORA",
22
+ "r": 16,
23
+ "rank_pattern": {},
24
+ "revision": null,
25
+ "target_modules": [
26
+ "down_proj",
27
+ "up_proj",
28
+ "k_proj",
29
+ "o_proj",
30
+ "q_proj",
31
+ "gate_proj",
32
+ "v_proj"
33
+ ],
34
+ "task_type": "CAUSAL_LM",
35
+ "use_dora": false,
36
+ "use_rslora": false
37
+ }
ft-news-lora-r16-a32-lr-0.0002-e3-d05/checkpoint-648/added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<image_soft_token>": 262144
3
+ }
ft-news-lora-r16-a32-lr-0.0002-e3-d05/checkpoint-648/special_tokens_map.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "boi_token": "<start_of_image>",
3
+ "bos_token": {
4
+ "content": "<bos>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false
9
+ },
10
+ "eoi_token": "<end_of_image>",
11
+ "eos_token": {
12
+ "content": "<eos>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false
17
+ },
18
+ "image_token": "<image_soft_token>",
19
+ "pad_token": {
20
+ "content": "<pad>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false
25
+ },
26
+ "unk_token": {
27
+ "content": "<unk>",
28
+ "lstrip": false,
29
+ "normalized": false,
30
+ "rstrip": false,
31
+ "single_word": false
32
+ }
33
+ }
ft-news-lora-r16-a32-lr-0.0002-e3-d05/checkpoint-648/tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff
 
ft-news-lora-r16-a32-lr-0.0002-e3-d05/checkpoint-648/trainer_state.json ADDED
@@ -0,0 +1,136 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 648,
3
+ "best_metric": 2.2783515453338623,
4
+ "best_model_checkpoint": "ft-news/ft-news-lora-r16-a32-lr-0.0002-e3-d05/checkpoint-648",
5
+ "epoch": 0.9,
6
+ "eval_steps": 216,
7
+ "global_step": 648,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.001388888888888889,
14
+ "grad_norm": 0.6133517026901245,
15
+ "learning_rate": 0.0002,
16
+ "loss": 2.5435,
17
+ "mean_token_accuracy": 0.4590926468372345,
18
+ "num_tokens": 4081.0,
19
+ "step": 1
20
+ },
21
+ {
22
+ "epoch": 0.15,
23
+ "grad_norm": 0.46193480491638184,
24
+ "learning_rate": 0.0002,
25
+ "loss": 2.3434,
26
+ "mean_token_accuracy": 0.48313813545157974,
27
+ "num_tokens": 438495.0,
28
+ "step": 108
29
+ },
30
+ {
31
+ "epoch": 0.3,
32
+ "grad_norm": 0.4896698296070099,
33
+ "learning_rate": 0.0002,
34
+ "loss": 2.3013,
35
+ "mean_token_accuracy": 0.4893193711285238,
36
+ "num_tokens": 875620.0,
37
+ "step": 216
38
+ },
39
+ {
40
+ "epoch": 0.3,
41
+ "eval_loss": 2.303950071334839,
42
+ "eval_mean_token_accuracy": 0.4888709216462002,
43
+ "eval_num_tokens": 875620.0,
44
+ "eval_runtime": 197.1794,
45
+ "eval_samples_per_second": 7.308,
46
+ "eval_steps_per_second": 7.308,
47
+ "step": 216
48
+ },
49
+ {
50
+ "epoch": 0.45,
51
+ "grad_norm": 0.48019546270370483,
52
+ "learning_rate": 0.0002,
53
+ "loss": 2.284,
54
+ "mean_token_accuracy": 0.4909865791323008,
55
+ "num_tokens": 1314078.0,
56
+ "step": 324
57
+ },
58
+ {
59
+ "epoch": 0.6,
60
+ "grad_norm": 0.5380330681800842,
61
+ "learning_rate": 0.0002,
62
+ "loss": 2.281,
63
+ "mean_token_accuracy": 0.49227224400749914,
64
+ "num_tokens": 1752098.0,
65
+ "step": 432
66
+ },
67
+ {
68
+ "epoch": 0.6,
69
+ "eval_loss": 2.2883965969085693,
70
+ "eval_mean_token_accuracy": 0.49104933458264716,
71
+ "eval_num_tokens": 1752098.0,
72
+ "eval_runtime": 196.4675,
73
+ "eval_samples_per_second": 7.335,
74
+ "eval_steps_per_second": 7.335,
75
+ "step": 432
76
+ },
77
+ {
78
+ "epoch": 0.75,
79
+ "grad_norm": 0.5464029312133789,
80
+ "learning_rate": 0.0002,
81
+ "loss": 2.2717,
82
+ "mean_token_accuracy": 0.49533394455081886,
83
+ "num_tokens": 2189869.0,
84
+ "step": 540
85
+ },
86
+ {
87
+ "epoch": 0.9,
88
+ "grad_norm": 0.5053594708442688,
89
+ "learning_rate": 0.0002,
90
+ "loss": 2.2891,
91
+ "mean_token_accuracy": 0.49087702696798025,
92
+ "num_tokens": 2627097.0,
93
+ "step": 648
94
+ },
95
+ {
96
+ "epoch": 0.9,
97
+ "eval_loss": 2.2783515453338623,
98
+ "eval_mean_token_accuracy": 0.4926762466501809,
99
+ "eval_num_tokens": 2627097.0,
100
+ "eval_runtime": 196.5365,
101
+ "eval_samples_per_second": 7.332,
102
+ "eval_steps_per_second": 7.332,
103
+ "step": 648
104
+ }
105
+ ],
106
+ "logging_steps": 108,
107
+ "max_steps": 2160,
108
+ "num_input_tokens_seen": 0,
109
+ "num_train_epochs": 3,
110
+ "save_steps": 216,
111
+ "stateful_callbacks": {
112
+ "EarlyStoppingCallback": {
113
+ "args": {
114
+ "early_stopping_patience": 3,
115
+ "early_stopping_threshold": 0.0
116
+ },
117
+ "attributes": {
118
+ "early_stopping_patience_counter": 0
119
+ }
120
+ },
121
+ "TrainerControl": {
122
+ "args": {
123
+ "should_epoch_stop": false,
124
+ "should_evaluate": false,
125
+ "should_log": false,
126
+ "should_save": true,
127
+ "should_training_stop": false
128
+ },
129
+ "attributes": {}
130
+ }
131
+ },
132
+ "total_flos": 1.1206278798029568e+16,
133
+ "train_batch_size": 1,
134
+ "trial_name": null,
135
+ "trial_params": null
136
+ }
ft-news-lora-r16-a32-lr-0.0002-e4-d05/README.md ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: google/gemma-3-1b-pt
3
+ library_name: peft
4
+ model_name: ft-news-lora-r16-a32-lr-0.0002-e4-d05
5
+ tags:
6
+ - generated_from_trainer
7
+ - trl
8
+ - sft
9
+ licence: license
10
+ ---
11
+
12
+ # Model Card for ft-news-lora-r16-a32-lr-0.0002-e4-d05
13
+
14
+ This model is a fine-tuned version of [google/gemma-3-1b-pt](https://huggingface.co/google/gemma-3-1b-pt).
15
+ It has been trained using [TRL](https://github.com/huggingface/trl).
16
+
17
+ ## Quick start
18
+
19
+ ```python
20
+ from transformers import pipeline
21
+
22
+ question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
23
+ generator = pipeline("text-generation", model="None", device="cuda")
24
+ output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
25
+ print(output["generated_text"])
26
+ ```
27
+
28
+ ## Training procedure
29
+
30
+
31
+
32
+
33
+ This model was trained with SFT.
34
+
35
+ ### Framework versions
36
+
37
+ - PEFT 0.14.0
38
+ - TRL: 0.21.0
39
+ - Transformers: 4.57.0
40
+ - Pytorch: 2.8.0
41
+ - Datasets: 3.3.2
42
+ - Tokenizers: 0.22.1
43
+
44
+ ## Citations
45
+
46
+
47
+
48
+ Cite TRL as:
49
+
50
+ ```bibtex
51
+ @misc{vonwerra2022trl,
52
+ title = {{TRL: Transformer Reinforcement Learning}},
53
+ author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallou{\'e}dec},
54
+ year = 2020,
55
+ journal = {GitHub repository},
56
+ publisher = {GitHub},
57
+ howpublished = {\url{https://github.com/huggingface/trl}}
58
+ }
59
+ ```
ft-news-lora-r16-a32-lr-0.0002-e4-d05/adapter_config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "google/gemma-3-1b-pt",
5
+ "bias": "none",
6
+ "eva_config": null,
7
+ "exclude_modules": null,
8
+ "fan_in_fan_out": false,
9
+ "inference_mode": true,
10
+ "init_lora_weights": true,
11
+ "layer_replication": null,
12
+ "layers_pattern": null,
13
+ "layers_to_transform": null,
14
+ "loftq_config": {},
15
+ "lora_alpha": 32,
16
+ "lora_bias": false,
17
+ "lora_dropout": 0.05,
18
+ "megatron_config": null,
19
+ "megatron_core": "megatron.core",
20
+ "modules_to_save": null,
21
+ "peft_type": "LORA",
22
+ "r": 16,
23
+ "rank_pattern": {},
24
+ "revision": null,
25
+ "target_modules": [
26
+ "down_proj",
27
+ "up_proj",
28
+ "k_proj",
29
+ "o_proj",
30
+ "q_proj",
31
+ "gate_proj",
32
+ "v_proj"
33
+ ],
34
+ "task_type": "CAUSAL_LM",
35
+ "use_dora": false,
36
+ "use_rslora": false
37
+ }
ft-news-lora-r16-a32-lr-0.0002-e4-d05/added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<image_soft_token>": 262144
3
+ }
ft-news-lora-r16-a32-lr-0.0002-e4-d05/special_tokens_map.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "boi_token": "<start_of_image>",
3
+ "bos_token": {
4
+ "content": "<bos>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false
9
+ },
10
+ "eoi_token": "<end_of_image>",
11
+ "eos_token": {
12
+ "content": "<eos>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false
17
+ },
18
+ "image_token": "<image_soft_token>",
19
+ "pad_token": {
20
+ "content": "<pad>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false
25
+ },
26
+ "unk_token": {
27
+ "content": "<unk>",
28
+ "lstrip": false,
29
+ "normalized": false,
30
+ "rstrip": false,
31
+ "single_word": false
32
+ }
33
+ }
ft-news-lora-r16-a32-lr-0.0002-e4-d05/tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff
 
ft-news-lora-r16-a32-lr-0.0002-e4-d05/training_log.txt ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ Step Training Loss Validation Loss
2
+ 288 2.2957 2.297689199447632
3
+ 576 2.2665 2.2815115451812744
4
+ 864 2.1325 2.2902841567993164
5
+ 1152 2.1383 2.289466142654419
6
+ 1440 2.1387 2.28780198097229