hoangp111 commited on
Commit
39ae00f
·
verified ·
1 Parent(s): d023638

Delete old runs

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. gemma-3-12b-pt-ipo-sc/step-100/chat_template.jinja +0 -1
  2. gemma-3-12b-pt-ipo-sc/step-100/config.json +0 -93
  3. gemma-3-12b-pt-ipo-sc/step-100/generation_config.json +0 -13
  4. gemma-3-12b-pt-ipo-sc/step-100/model.safetensors +0 -3
  5. gemma-3-12b-pt-ipo-sc/step-100/tokenizer.json +0 -3
  6. gemma-3-12b-pt-ipo-sc/step-100/tokenizer_config.json +0 -25
  7. gemma-3-12b-pt-ipo-sc/step-200/chat_template.jinja +0 -1
  8. gemma-3-12b-pt-ipo-sc/step-200/config.json +0 -93
  9. gemma-3-12b-pt-ipo-sc/step-200/generation_config.json +0 -13
  10. gemma-3-12b-pt-ipo-sc/step-200/model.safetensors +0 -3
  11. gemma-3-12b-pt-ipo-sc/step-200/tokenizer.json +0 -3
  12. gemma-3-12b-pt-ipo-sc/step-200/tokenizer_config.json +0 -25
  13. gemma-3-12b-pt-ipo-sc/step-300/chat_template.jinja +0 -1
  14. gemma-3-12b-pt-ipo-sc/step-300/config.json +0 -93
  15. gemma-3-12b-pt-ipo-sc/step-300/generation_config.json +0 -13
  16. gemma-3-12b-pt-ipo-sc/step-300/model.safetensors +0 -3
  17. gemma-3-12b-pt-ipo-sc/step-300/tokenizer.json +0 -3
  18. gemma-3-12b-pt-ipo-sc/step-300/tokenizer_config.json +0 -25
  19. gemma-3-12b-pt-ipo-sc/step-400/chat_template.jinja +0 -1
  20. gemma-3-12b-pt-ipo-sc/step-400/config.json +0 -93
  21. gemma-3-12b-pt-ipo-sc/step-400/generation_config.json +0 -13
  22. gemma-3-12b-pt-ipo-sc/step-400/model.safetensors +0 -3
  23. gemma-3-12b-pt-ipo-sc/step-400/tokenizer.json +0 -3
  24. gemma-3-12b-pt-ipo-sc/step-400/tokenizer_config.json +0 -25
  25. gemma-3-12b-pt-ipo-sc/step-500/chat_template.jinja +0 -1
  26. gemma-3-12b-pt-ipo-sc/step-500/config.json +0 -93
  27. gemma-3-12b-pt-ipo-sc/step-500/generation_config.json +0 -13
  28. gemma-3-12b-pt-ipo-sc/step-500/model.safetensors +0 -3
  29. gemma-3-12b-pt-ipo-sc/step-500/tokenizer.json +0 -3
  30. gemma-3-12b-pt-ipo-sc/step-500/tokenizer_config.json +0 -25
  31. gemma-3-12b-pt-ipo-sc/step-600/chat_template.jinja +0 -1
  32. gemma-3-12b-pt-ipo-sc/step-600/config.json +0 -93
  33. gemma-3-12b-pt-ipo-sc/step-600/generation_config.json +0 -13
  34. gemma-3-12b-pt-ipo-sc/step-600/model.safetensors +0 -3
  35. gemma-3-12b-pt-ipo-sc/step-600/tokenizer.json +0 -3
  36. gemma-3-12b-pt-ipo-sc/step-600/tokenizer_config.json +0 -25
  37. gemma-3-12b-pt-ipo-sc/step-700/chat_template.jinja +0 -1
  38. gemma-3-12b-pt-ipo-sc/step-700/config.json +0 -93
  39. gemma-3-12b-pt-ipo-sc/step-700/generation_config.json +0 -13
  40. gemma-3-12b-pt-ipo-sc/step-700/model.safetensors +0 -3
  41. gemma-3-12b-pt-ipo-sc/step-700/tokenizer.json +0 -3
  42. gemma-3-12b-pt-ipo-sc/step-700/tokenizer_config.json +0 -25
  43. llama-3.1-8b-instruct-ipo-sc-chat/step-100/chat_template.jinja +0 -109
  44. llama-3.1-8b-instruct-ipo-sc-chat/step-100/config.json +0 -36
  45. llama-3.1-8b-instruct-ipo-sc-chat/step-100/generation_config.json +0 -12
  46. llama-3.1-8b-instruct-ipo-sc-chat/step-100/model.safetensors +0 -3
  47. llama-3.1-8b-instruct-ipo-sc-chat/step-100/tokenizer.json +0 -3
  48. llama-3.1-8b-instruct-ipo-sc-chat/step-100/tokenizer_config.json +0 -15
  49. llama-3.1-8b-instruct-ipo-sc-chat/step-200/chat_template.jinja +0 -109
  50. llama-3.1-8b-instruct-ipo-sc-chat/step-200/config.json +0 -36
gemma-3-12b-pt-ipo-sc/step-100/chat_template.jinja DELETED
@@ -1 +0,0 @@
1
- {{ bos_token or '' }}{% for m in messages %}{{ m['content'] }}{% endfor %}
 
 
gemma-3-12b-pt-ipo-sc/step-100/config.json DELETED
@@ -1,93 +0,0 @@
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
- "dtype": "bfloat16",
11
- "eos_token_id": 1,
12
- "final_logit_softcapping": null,
13
- "head_dim": 256,
14
- "hidden_activation": "gelu_pytorch_tanh",
15
- "hidden_size": 3840,
16
- "initializer_range": 0.02,
17
- "intermediate_size": 15360,
18
- "layer_types": [
19
- "sliding_attention",
20
- "sliding_attention",
21
- "sliding_attention",
22
- "sliding_attention",
23
- "sliding_attention",
24
- "full_attention",
25
- "sliding_attention",
26
- "sliding_attention",
27
- "sliding_attention",
28
- "sliding_attention",
29
- "sliding_attention",
30
- "full_attention",
31
- "sliding_attention",
32
- "sliding_attention",
33
- "sliding_attention",
34
- "sliding_attention",
35
- "sliding_attention",
36
- "full_attention",
37
- "sliding_attention",
38
- "sliding_attention",
39
- "sliding_attention",
40
- "sliding_attention",
41
- "sliding_attention",
42
- "full_attention",
43
- "sliding_attention",
44
- "sliding_attention",
45
- "sliding_attention",
46
- "sliding_attention",
47
- "sliding_attention",
48
- "full_attention",
49
- "sliding_attention",
50
- "sliding_attention",
51
- "sliding_attention",
52
- "sliding_attention",
53
- "sliding_attention",
54
- "full_attention",
55
- "sliding_attention",
56
- "sliding_attention",
57
- "sliding_attention",
58
- "sliding_attention",
59
- "sliding_attention",
60
- "full_attention",
61
- "sliding_attention",
62
- "sliding_attention",
63
- "sliding_attention",
64
- "sliding_attention",
65
- "sliding_attention",
66
- "full_attention"
67
- ],
68
- "max_position_embeddings": 131072,
69
- "model_type": "gemma3_text",
70
- "num_attention_heads": 16,
71
- "num_hidden_layers": 48,
72
- "num_key_value_heads": 8,
73
- "pad_token_id": 0,
74
- "query_pre_attn_scalar": 256,
75
- "rms_norm_eps": 1e-06,
76
- "rope_parameters": {
77
- "full_attention": {
78
- "factor": 8.0,
79
- "rope_theta": 1000000.0,
80
- "rope_type": "linear"
81
- },
82
- "sliding_attention": {
83
- "rope_theta": 10000.0,
84
- "rope_type": "default"
85
- }
86
- },
87
- "sliding_window": 1024,
88
- "tie_word_embeddings": true,
89
- "transformers_version": "5.19.0",
90
- "use_bidirectional_attention": false,
91
- "use_cache": true,
92
- "vocab_size": 262208
93
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
gemma-3-12b-pt-ipo-sc/step-100/generation_config.json DELETED
@@ -1,13 +0,0 @@
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": "5.19.0"
13
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
gemma-3-12b-pt-ipo-sc/step-100/model.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:1a9efc1e377d7d8655b96c048ba78ff8e3ab339bea36e24d16ceadd42b5cacab
3
- size 23532142208
 
 
 
 
gemma-3-12b-pt-ipo-sc/step-100/tokenizer.json DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:daab2354f8a74e70d70b4d1f804939b68a8c9624dd06cb7858e52dd8970e9726
3
- size 33384567
 
 
 
 
gemma-3-12b-pt-ipo-sc/step-100/tokenizer_config.json DELETED
@@ -1,25 +0,0 @@
1
- {
2
- "backend": "tokenizers",
3
- "boi_token": "<start_of_image>",
4
- "bos_token": "<bos>",
5
- "clean_up_tokenization_spaces": false,
6
- "eoi_token": "<end_of_image>",
7
- "eos_token": "<eos>",
8
- "image_token": "<image_soft_token>",
9
- "is_local": true,
10
- "local_files_only": false,
11
- "mask_token": "<mask>",
12
- "model_max_length": 1000000000000000019884624838656,
13
- "model_specific_special_tokens": {
14
- "boi_token": "<start_of_image>",
15
- "eoi_token": "<end_of_image>",
16
- "image_token": "<image_soft_token>"
17
- },
18
- "pad_token": "<pad>",
19
- "processor_class": "Gemma3Processor",
20
- "sp_model_kwargs": null,
21
- "spaces_between_special_tokens": false,
22
- "tokenizer_class": "GemmaTokenizer",
23
- "unk_token": "<unk>",
24
- "use_default_system_prompt": false
25
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
gemma-3-12b-pt-ipo-sc/step-200/chat_template.jinja DELETED
@@ -1 +0,0 @@
1
- {{ bos_token or '' }}{% for m in messages %}{{ m['content'] }}{% endfor %}
 
 
gemma-3-12b-pt-ipo-sc/step-200/config.json DELETED
@@ -1,93 +0,0 @@
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
- "dtype": "bfloat16",
11
- "eos_token_id": 1,
12
- "final_logit_softcapping": null,
13
- "head_dim": 256,
14
- "hidden_activation": "gelu_pytorch_tanh",
15
- "hidden_size": 3840,
16
- "initializer_range": 0.02,
17
- "intermediate_size": 15360,
18
- "layer_types": [
19
- "sliding_attention",
20
- "sliding_attention",
21
- "sliding_attention",
22
- "sliding_attention",
23
- "sliding_attention",
24
- "full_attention",
25
- "sliding_attention",
26
- "sliding_attention",
27
- "sliding_attention",
28
- "sliding_attention",
29
- "sliding_attention",
30
- "full_attention",
31
- "sliding_attention",
32
- "sliding_attention",
33
- "sliding_attention",
34
- "sliding_attention",
35
- "sliding_attention",
36
- "full_attention",
37
- "sliding_attention",
38
- "sliding_attention",
39
- "sliding_attention",
40
- "sliding_attention",
41
- "sliding_attention",
42
- "full_attention",
43
- "sliding_attention",
44
- "sliding_attention",
45
- "sliding_attention",
46
- "sliding_attention",
47
- "sliding_attention",
48
- "full_attention",
49
- "sliding_attention",
50
- "sliding_attention",
51
- "sliding_attention",
52
- "sliding_attention",
53
- "sliding_attention",
54
- "full_attention",
55
- "sliding_attention",
56
- "sliding_attention",
57
- "sliding_attention",
58
- "sliding_attention",
59
- "sliding_attention",
60
- "full_attention",
61
- "sliding_attention",
62
- "sliding_attention",
63
- "sliding_attention",
64
- "sliding_attention",
65
- "sliding_attention",
66
- "full_attention"
67
- ],
68
- "max_position_embeddings": 131072,
69
- "model_type": "gemma3_text",
70
- "num_attention_heads": 16,
71
- "num_hidden_layers": 48,
72
- "num_key_value_heads": 8,
73
- "pad_token_id": 0,
74
- "query_pre_attn_scalar": 256,
75
- "rms_norm_eps": 1e-06,
76
- "rope_parameters": {
77
- "full_attention": {
78
- "factor": 8.0,
79
- "rope_theta": 1000000.0,
80
- "rope_type": "linear"
81
- },
82
- "sliding_attention": {
83
- "rope_theta": 10000.0,
84
- "rope_type": "default"
85
- }
86
- },
87
- "sliding_window": 1024,
88
- "tie_word_embeddings": true,
89
- "transformers_version": "5.19.0",
90
- "use_bidirectional_attention": false,
91
- "use_cache": true,
92
- "vocab_size": 262208
93
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
gemma-3-12b-pt-ipo-sc/step-200/generation_config.json DELETED
@@ -1,13 +0,0 @@
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": "5.19.0"
13
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
gemma-3-12b-pt-ipo-sc/step-200/model.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:39f0a62f4e1d37c3fbbb76df22a9fa6ed0cce85c82b0b3062ef48a5a1680254c
3
- size 23532142208
 
 
 
 
gemma-3-12b-pt-ipo-sc/step-200/tokenizer.json DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:daab2354f8a74e70d70b4d1f804939b68a8c9624dd06cb7858e52dd8970e9726
3
- size 33384567
 
 
 
 
gemma-3-12b-pt-ipo-sc/step-200/tokenizer_config.json DELETED
@@ -1,25 +0,0 @@
1
- {
2
- "backend": "tokenizers",
3
- "boi_token": "<start_of_image>",
4
- "bos_token": "<bos>",
5
- "clean_up_tokenization_spaces": false,
6
- "eoi_token": "<end_of_image>",
7
- "eos_token": "<eos>",
8
- "image_token": "<image_soft_token>",
9
- "is_local": true,
10
- "local_files_only": false,
11
- "mask_token": "<mask>",
12
- "model_max_length": 1000000000000000019884624838656,
13
- "model_specific_special_tokens": {
14
- "boi_token": "<start_of_image>",
15
- "eoi_token": "<end_of_image>",
16
- "image_token": "<image_soft_token>"
17
- },
18
- "pad_token": "<pad>",
19
- "processor_class": "Gemma3Processor",
20
- "sp_model_kwargs": null,
21
- "spaces_between_special_tokens": false,
22
- "tokenizer_class": "GemmaTokenizer",
23
- "unk_token": "<unk>",
24
- "use_default_system_prompt": false
25
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
gemma-3-12b-pt-ipo-sc/step-300/chat_template.jinja DELETED
@@ -1 +0,0 @@
1
- {{ bos_token or '' }}{% for m in messages %}{{ m['content'] }}{% endfor %}
 
 
gemma-3-12b-pt-ipo-sc/step-300/config.json DELETED
@@ -1,93 +0,0 @@
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
- "dtype": "bfloat16",
11
- "eos_token_id": 1,
12
- "final_logit_softcapping": null,
13
- "head_dim": 256,
14
- "hidden_activation": "gelu_pytorch_tanh",
15
- "hidden_size": 3840,
16
- "initializer_range": 0.02,
17
- "intermediate_size": 15360,
18
- "layer_types": [
19
- "sliding_attention",
20
- "sliding_attention",
21
- "sliding_attention",
22
- "sliding_attention",
23
- "sliding_attention",
24
- "full_attention",
25
- "sliding_attention",
26
- "sliding_attention",
27
- "sliding_attention",
28
- "sliding_attention",
29
- "sliding_attention",
30
- "full_attention",
31
- "sliding_attention",
32
- "sliding_attention",
33
- "sliding_attention",
34
- "sliding_attention",
35
- "sliding_attention",
36
- "full_attention",
37
- "sliding_attention",
38
- "sliding_attention",
39
- "sliding_attention",
40
- "sliding_attention",
41
- "sliding_attention",
42
- "full_attention",
43
- "sliding_attention",
44
- "sliding_attention",
45
- "sliding_attention",
46
- "sliding_attention",
47
- "sliding_attention",
48
- "full_attention",
49
- "sliding_attention",
50
- "sliding_attention",
51
- "sliding_attention",
52
- "sliding_attention",
53
- "sliding_attention",
54
- "full_attention",
55
- "sliding_attention",
56
- "sliding_attention",
57
- "sliding_attention",
58
- "sliding_attention",
59
- "sliding_attention",
60
- "full_attention",
61
- "sliding_attention",
62
- "sliding_attention",
63
- "sliding_attention",
64
- "sliding_attention",
65
- "sliding_attention",
66
- "full_attention"
67
- ],
68
- "max_position_embeddings": 131072,
69
- "model_type": "gemma3_text",
70
- "num_attention_heads": 16,
71
- "num_hidden_layers": 48,
72
- "num_key_value_heads": 8,
73
- "pad_token_id": 0,
74
- "query_pre_attn_scalar": 256,
75
- "rms_norm_eps": 1e-06,
76
- "rope_parameters": {
77
- "full_attention": {
78
- "factor": 8.0,
79
- "rope_theta": 1000000.0,
80
- "rope_type": "linear"
81
- },
82
- "sliding_attention": {
83
- "rope_theta": 10000.0,
84
- "rope_type": "default"
85
- }
86
- },
87
- "sliding_window": 1024,
88
- "tie_word_embeddings": true,
89
- "transformers_version": "5.19.0",
90
- "use_bidirectional_attention": false,
91
- "use_cache": true,
92
- "vocab_size": 262208
93
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
gemma-3-12b-pt-ipo-sc/step-300/generation_config.json DELETED
@@ -1,13 +0,0 @@
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": "5.19.0"
13
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
gemma-3-12b-pt-ipo-sc/step-300/model.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:32d2d04d4b93acbfcf222aaff73bf3d9d5f82260ab8934d17b299618f2ee4957
3
- size 23532142208
 
 
 
 
gemma-3-12b-pt-ipo-sc/step-300/tokenizer.json DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:daab2354f8a74e70d70b4d1f804939b68a8c9624dd06cb7858e52dd8970e9726
3
- size 33384567
 
 
 
 
gemma-3-12b-pt-ipo-sc/step-300/tokenizer_config.json DELETED
@@ -1,25 +0,0 @@
1
- {
2
- "backend": "tokenizers",
3
- "boi_token": "<start_of_image>",
4
- "bos_token": "<bos>",
5
- "clean_up_tokenization_spaces": false,
6
- "eoi_token": "<end_of_image>",
7
- "eos_token": "<eos>",
8
- "image_token": "<image_soft_token>",
9
- "is_local": true,
10
- "local_files_only": false,
11
- "mask_token": "<mask>",
12
- "model_max_length": 1000000000000000019884624838656,
13
- "model_specific_special_tokens": {
14
- "boi_token": "<start_of_image>",
15
- "eoi_token": "<end_of_image>",
16
- "image_token": "<image_soft_token>"
17
- },
18
- "pad_token": "<pad>",
19
- "processor_class": "Gemma3Processor",
20
- "sp_model_kwargs": null,
21
- "spaces_between_special_tokens": false,
22
- "tokenizer_class": "GemmaTokenizer",
23
- "unk_token": "<unk>",
24
- "use_default_system_prompt": false
25
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
gemma-3-12b-pt-ipo-sc/step-400/chat_template.jinja DELETED
@@ -1 +0,0 @@
1
- {{ bos_token or '' }}{% for m in messages %}{{ m['content'] }}{% endfor %}
 
 
gemma-3-12b-pt-ipo-sc/step-400/config.json DELETED
@@ -1,93 +0,0 @@
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
- "dtype": "bfloat16",
11
- "eos_token_id": 1,
12
- "final_logit_softcapping": null,
13
- "head_dim": 256,
14
- "hidden_activation": "gelu_pytorch_tanh",
15
- "hidden_size": 3840,
16
- "initializer_range": 0.02,
17
- "intermediate_size": 15360,
18
- "layer_types": [
19
- "sliding_attention",
20
- "sliding_attention",
21
- "sliding_attention",
22
- "sliding_attention",
23
- "sliding_attention",
24
- "full_attention",
25
- "sliding_attention",
26
- "sliding_attention",
27
- "sliding_attention",
28
- "sliding_attention",
29
- "sliding_attention",
30
- "full_attention",
31
- "sliding_attention",
32
- "sliding_attention",
33
- "sliding_attention",
34
- "sliding_attention",
35
- "sliding_attention",
36
- "full_attention",
37
- "sliding_attention",
38
- "sliding_attention",
39
- "sliding_attention",
40
- "sliding_attention",
41
- "sliding_attention",
42
- "full_attention",
43
- "sliding_attention",
44
- "sliding_attention",
45
- "sliding_attention",
46
- "sliding_attention",
47
- "sliding_attention",
48
- "full_attention",
49
- "sliding_attention",
50
- "sliding_attention",
51
- "sliding_attention",
52
- "sliding_attention",
53
- "sliding_attention",
54
- "full_attention",
55
- "sliding_attention",
56
- "sliding_attention",
57
- "sliding_attention",
58
- "sliding_attention",
59
- "sliding_attention",
60
- "full_attention",
61
- "sliding_attention",
62
- "sliding_attention",
63
- "sliding_attention",
64
- "sliding_attention",
65
- "sliding_attention",
66
- "full_attention"
67
- ],
68
- "max_position_embeddings": 131072,
69
- "model_type": "gemma3_text",
70
- "num_attention_heads": 16,
71
- "num_hidden_layers": 48,
72
- "num_key_value_heads": 8,
73
- "pad_token_id": 0,
74
- "query_pre_attn_scalar": 256,
75
- "rms_norm_eps": 1e-06,
76
- "rope_parameters": {
77
- "full_attention": {
78
- "factor": 8.0,
79
- "rope_theta": 1000000.0,
80
- "rope_type": "linear"
81
- },
82
- "sliding_attention": {
83
- "rope_theta": 10000.0,
84
- "rope_type": "default"
85
- }
86
- },
87
- "sliding_window": 1024,
88
- "tie_word_embeddings": true,
89
- "transformers_version": "5.19.0",
90
- "use_bidirectional_attention": false,
91
- "use_cache": true,
92
- "vocab_size": 262208
93
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
gemma-3-12b-pt-ipo-sc/step-400/generation_config.json DELETED
@@ -1,13 +0,0 @@
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": "5.19.0"
13
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
gemma-3-12b-pt-ipo-sc/step-400/model.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:cacf169a4279cd5cda5b42a1b9be47b3a08b2df9f82e4384307384b3b66dfe47
3
- size 23532142208
 
 
 
 
gemma-3-12b-pt-ipo-sc/step-400/tokenizer.json DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:daab2354f8a74e70d70b4d1f804939b68a8c9624dd06cb7858e52dd8970e9726
3
- size 33384567
 
 
 
 
gemma-3-12b-pt-ipo-sc/step-400/tokenizer_config.json DELETED
@@ -1,25 +0,0 @@
1
- {
2
- "backend": "tokenizers",
3
- "boi_token": "<start_of_image>",
4
- "bos_token": "<bos>",
5
- "clean_up_tokenization_spaces": false,
6
- "eoi_token": "<end_of_image>",
7
- "eos_token": "<eos>",
8
- "image_token": "<image_soft_token>",
9
- "is_local": true,
10
- "local_files_only": false,
11
- "mask_token": "<mask>",
12
- "model_max_length": 1000000000000000019884624838656,
13
- "model_specific_special_tokens": {
14
- "boi_token": "<start_of_image>",
15
- "eoi_token": "<end_of_image>",
16
- "image_token": "<image_soft_token>"
17
- },
18
- "pad_token": "<pad>",
19
- "processor_class": "Gemma3Processor",
20
- "sp_model_kwargs": null,
21
- "spaces_between_special_tokens": false,
22
- "tokenizer_class": "GemmaTokenizer",
23
- "unk_token": "<unk>",
24
- "use_default_system_prompt": false
25
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
gemma-3-12b-pt-ipo-sc/step-500/chat_template.jinja DELETED
@@ -1 +0,0 @@
1
- {{ bos_token or '' }}{% for m in messages %}{{ m['content'] }}{% endfor %}
 
 
gemma-3-12b-pt-ipo-sc/step-500/config.json DELETED
@@ -1,93 +0,0 @@
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
- "dtype": "bfloat16",
11
- "eos_token_id": 1,
12
- "final_logit_softcapping": null,
13
- "head_dim": 256,
14
- "hidden_activation": "gelu_pytorch_tanh",
15
- "hidden_size": 3840,
16
- "initializer_range": 0.02,
17
- "intermediate_size": 15360,
18
- "layer_types": [
19
- "sliding_attention",
20
- "sliding_attention",
21
- "sliding_attention",
22
- "sliding_attention",
23
- "sliding_attention",
24
- "full_attention",
25
- "sliding_attention",
26
- "sliding_attention",
27
- "sliding_attention",
28
- "sliding_attention",
29
- "sliding_attention",
30
- "full_attention",
31
- "sliding_attention",
32
- "sliding_attention",
33
- "sliding_attention",
34
- "sliding_attention",
35
- "sliding_attention",
36
- "full_attention",
37
- "sliding_attention",
38
- "sliding_attention",
39
- "sliding_attention",
40
- "sliding_attention",
41
- "sliding_attention",
42
- "full_attention",
43
- "sliding_attention",
44
- "sliding_attention",
45
- "sliding_attention",
46
- "sliding_attention",
47
- "sliding_attention",
48
- "full_attention",
49
- "sliding_attention",
50
- "sliding_attention",
51
- "sliding_attention",
52
- "sliding_attention",
53
- "sliding_attention",
54
- "full_attention",
55
- "sliding_attention",
56
- "sliding_attention",
57
- "sliding_attention",
58
- "sliding_attention",
59
- "sliding_attention",
60
- "full_attention",
61
- "sliding_attention",
62
- "sliding_attention",
63
- "sliding_attention",
64
- "sliding_attention",
65
- "sliding_attention",
66
- "full_attention"
67
- ],
68
- "max_position_embeddings": 131072,
69
- "model_type": "gemma3_text",
70
- "num_attention_heads": 16,
71
- "num_hidden_layers": 48,
72
- "num_key_value_heads": 8,
73
- "pad_token_id": 0,
74
- "query_pre_attn_scalar": 256,
75
- "rms_norm_eps": 1e-06,
76
- "rope_parameters": {
77
- "full_attention": {
78
- "factor": 8.0,
79
- "rope_theta": 1000000.0,
80
- "rope_type": "linear"
81
- },
82
- "sliding_attention": {
83
- "rope_theta": 10000.0,
84
- "rope_type": "default"
85
- }
86
- },
87
- "sliding_window": 1024,
88
- "tie_word_embeddings": true,
89
- "transformers_version": "5.19.0",
90
- "use_bidirectional_attention": false,
91
- "use_cache": true,
92
- "vocab_size": 262208
93
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
gemma-3-12b-pt-ipo-sc/step-500/generation_config.json DELETED
@@ -1,13 +0,0 @@
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": "5.19.0"
13
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
gemma-3-12b-pt-ipo-sc/step-500/model.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:b2960d21978ab7b5b8a140a728c8f01f1ac0197ad041a6654f49a80a152766ef
3
- size 23532142208
 
 
 
 
gemma-3-12b-pt-ipo-sc/step-500/tokenizer.json DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:daab2354f8a74e70d70b4d1f804939b68a8c9624dd06cb7858e52dd8970e9726
3
- size 33384567
 
 
 
 
gemma-3-12b-pt-ipo-sc/step-500/tokenizer_config.json DELETED
@@ -1,25 +0,0 @@
1
- {
2
- "backend": "tokenizers",
3
- "boi_token": "<start_of_image>",
4
- "bos_token": "<bos>",
5
- "clean_up_tokenization_spaces": false,
6
- "eoi_token": "<end_of_image>",
7
- "eos_token": "<eos>",
8
- "image_token": "<image_soft_token>",
9
- "is_local": true,
10
- "local_files_only": false,
11
- "mask_token": "<mask>",
12
- "model_max_length": 1000000000000000019884624838656,
13
- "model_specific_special_tokens": {
14
- "boi_token": "<start_of_image>",
15
- "eoi_token": "<end_of_image>",
16
- "image_token": "<image_soft_token>"
17
- },
18
- "pad_token": "<pad>",
19
- "processor_class": "Gemma3Processor",
20
- "sp_model_kwargs": null,
21
- "spaces_between_special_tokens": false,
22
- "tokenizer_class": "GemmaTokenizer",
23
- "unk_token": "<unk>",
24
- "use_default_system_prompt": false
25
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
gemma-3-12b-pt-ipo-sc/step-600/chat_template.jinja DELETED
@@ -1 +0,0 @@
1
- {{ bos_token or '' }}{% for m in messages %}{{ m['content'] }}{% endfor %}
 
 
gemma-3-12b-pt-ipo-sc/step-600/config.json DELETED
@@ -1,93 +0,0 @@
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
- "dtype": "bfloat16",
11
- "eos_token_id": 1,
12
- "final_logit_softcapping": null,
13
- "head_dim": 256,
14
- "hidden_activation": "gelu_pytorch_tanh",
15
- "hidden_size": 3840,
16
- "initializer_range": 0.02,
17
- "intermediate_size": 15360,
18
- "layer_types": [
19
- "sliding_attention",
20
- "sliding_attention",
21
- "sliding_attention",
22
- "sliding_attention",
23
- "sliding_attention",
24
- "full_attention",
25
- "sliding_attention",
26
- "sliding_attention",
27
- "sliding_attention",
28
- "sliding_attention",
29
- "sliding_attention",
30
- "full_attention",
31
- "sliding_attention",
32
- "sliding_attention",
33
- "sliding_attention",
34
- "sliding_attention",
35
- "sliding_attention",
36
- "full_attention",
37
- "sliding_attention",
38
- "sliding_attention",
39
- "sliding_attention",
40
- "sliding_attention",
41
- "sliding_attention",
42
- "full_attention",
43
- "sliding_attention",
44
- "sliding_attention",
45
- "sliding_attention",
46
- "sliding_attention",
47
- "sliding_attention",
48
- "full_attention",
49
- "sliding_attention",
50
- "sliding_attention",
51
- "sliding_attention",
52
- "sliding_attention",
53
- "sliding_attention",
54
- "full_attention",
55
- "sliding_attention",
56
- "sliding_attention",
57
- "sliding_attention",
58
- "sliding_attention",
59
- "sliding_attention",
60
- "full_attention",
61
- "sliding_attention",
62
- "sliding_attention",
63
- "sliding_attention",
64
- "sliding_attention",
65
- "sliding_attention",
66
- "full_attention"
67
- ],
68
- "max_position_embeddings": 131072,
69
- "model_type": "gemma3_text",
70
- "num_attention_heads": 16,
71
- "num_hidden_layers": 48,
72
- "num_key_value_heads": 8,
73
- "pad_token_id": 0,
74
- "query_pre_attn_scalar": 256,
75
- "rms_norm_eps": 1e-06,
76
- "rope_parameters": {
77
- "full_attention": {
78
- "factor": 8.0,
79
- "rope_theta": 1000000.0,
80
- "rope_type": "linear"
81
- },
82
- "sliding_attention": {
83
- "rope_theta": 10000.0,
84
- "rope_type": "default"
85
- }
86
- },
87
- "sliding_window": 1024,
88
- "tie_word_embeddings": true,
89
- "transformers_version": "5.19.0",
90
- "use_bidirectional_attention": false,
91
- "use_cache": true,
92
- "vocab_size": 262208
93
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
gemma-3-12b-pt-ipo-sc/step-600/generation_config.json DELETED
@@ -1,13 +0,0 @@
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": "5.19.0"
13
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
gemma-3-12b-pt-ipo-sc/step-600/model.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:1d32e71bd6b6ab9aeb04e25467843f08b57901b607e22d759803f3dfcfb855aa
3
- size 23532142208
 
 
 
 
gemma-3-12b-pt-ipo-sc/step-600/tokenizer.json DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:daab2354f8a74e70d70b4d1f804939b68a8c9624dd06cb7858e52dd8970e9726
3
- size 33384567
 
 
 
 
gemma-3-12b-pt-ipo-sc/step-600/tokenizer_config.json DELETED
@@ -1,25 +0,0 @@
1
- {
2
- "backend": "tokenizers",
3
- "boi_token": "<start_of_image>",
4
- "bos_token": "<bos>",
5
- "clean_up_tokenization_spaces": false,
6
- "eoi_token": "<end_of_image>",
7
- "eos_token": "<eos>",
8
- "image_token": "<image_soft_token>",
9
- "is_local": true,
10
- "local_files_only": false,
11
- "mask_token": "<mask>",
12
- "model_max_length": 1000000000000000019884624838656,
13
- "model_specific_special_tokens": {
14
- "boi_token": "<start_of_image>",
15
- "eoi_token": "<end_of_image>",
16
- "image_token": "<image_soft_token>"
17
- },
18
- "pad_token": "<pad>",
19
- "processor_class": "Gemma3Processor",
20
- "sp_model_kwargs": null,
21
- "spaces_between_special_tokens": false,
22
- "tokenizer_class": "GemmaTokenizer",
23
- "unk_token": "<unk>",
24
- "use_default_system_prompt": false
25
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
gemma-3-12b-pt-ipo-sc/step-700/chat_template.jinja DELETED
@@ -1 +0,0 @@
1
- {{ bos_token or '' }}{% for m in messages %}{{ m['content'] }}{% endfor %}
 
 
gemma-3-12b-pt-ipo-sc/step-700/config.json DELETED
@@ -1,93 +0,0 @@
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
- "dtype": "bfloat16",
11
- "eos_token_id": 1,
12
- "final_logit_softcapping": null,
13
- "head_dim": 256,
14
- "hidden_activation": "gelu_pytorch_tanh",
15
- "hidden_size": 3840,
16
- "initializer_range": 0.02,
17
- "intermediate_size": 15360,
18
- "layer_types": [
19
- "sliding_attention",
20
- "sliding_attention",
21
- "sliding_attention",
22
- "sliding_attention",
23
- "sliding_attention",
24
- "full_attention",
25
- "sliding_attention",
26
- "sliding_attention",
27
- "sliding_attention",
28
- "sliding_attention",
29
- "sliding_attention",
30
- "full_attention",
31
- "sliding_attention",
32
- "sliding_attention",
33
- "sliding_attention",
34
- "sliding_attention",
35
- "sliding_attention",
36
- "full_attention",
37
- "sliding_attention",
38
- "sliding_attention",
39
- "sliding_attention",
40
- "sliding_attention",
41
- "sliding_attention",
42
- "full_attention",
43
- "sliding_attention",
44
- "sliding_attention",
45
- "sliding_attention",
46
- "sliding_attention",
47
- "sliding_attention",
48
- "full_attention",
49
- "sliding_attention",
50
- "sliding_attention",
51
- "sliding_attention",
52
- "sliding_attention",
53
- "sliding_attention",
54
- "full_attention",
55
- "sliding_attention",
56
- "sliding_attention",
57
- "sliding_attention",
58
- "sliding_attention",
59
- "sliding_attention",
60
- "full_attention",
61
- "sliding_attention",
62
- "sliding_attention",
63
- "sliding_attention",
64
- "sliding_attention",
65
- "sliding_attention",
66
- "full_attention"
67
- ],
68
- "max_position_embeddings": 131072,
69
- "model_type": "gemma3_text",
70
- "num_attention_heads": 16,
71
- "num_hidden_layers": 48,
72
- "num_key_value_heads": 8,
73
- "pad_token_id": 0,
74
- "query_pre_attn_scalar": 256,
75
- "rms_norm_eps": 1e-06,
76
- "rope_parameters": {
77
- "full_attention": {
78
- "factor": 8.0,
79
- "rope_theta": 1000000.0,
80
- "rope_type": "linear"
81
- },
82
- "sliding_attention": {
83
- "rope_theta": 10000.0,
84
- "rope_type": "default"
85
- }
86
- },
87
- "sliding_window": 1024,
88
- "tie_word_embeddings": true,
89
- "transformers_version": "5.19.0",
90
- "use_bidirectional_attention": false,
91
- "use_cache": true,
92
- "vocab_size": 262208
93
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
gemma-3-12b-pt-ipo-sc/step-700/generation_config.json DELETED
@@ -1,13 +0,0 @@
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": "5.19.0"
13
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
gemma-3-12b-pt-ipo-sc/step-700/model.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:28126bbb4962563f5267f3b446e9c3b59233c6c4831ed314cb3b8dc24b409838
3
- size 23532142208
 
 
 
 
gemma-3-12b-pt-ipo-sc/step-700/tokenizer.json DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:daab2354f8a74e70d70b4d1f804939b68a8c9624dd06cb7858e52dd8970e9726
3
- size 33384567
 
 
 
 
gemma-3-12b-pt-ipo-sc/step-700/tokenizer_config.json DELETED
@@ -1,25 +0,0 @@
1
- {
2
- "backend": "tokenizers",
3
- "boi_token": "<start_of_image>",
4
- "bos_token": "<bos>",
5
- "clean_up_tokenization_spaces": false,
6
- "eoi_token": "<end_of_image>",
7
- "eos_token": "<eos>",
8
- "image_token": "<image_soft_token>",
9
- "is_local": true,
10
- "local_files_only": false,
11
- "mask_token": "<mask>",
12
- "model_max_length": 1000000000000000019884624838656,
13
- "model_specific_special_tokens": {
14
- "boi_token": "<start_of_image>",
15
- "eoi_token": "<end_of_image>",
16
- "image_token": "<image_soft_token>"
17
- },
18
- "pad_token": "<pad>",
19
- "processor_class": "Gemma3Processor",
20
- "sp_model_kwargs": null,
21
- "spaces_between_special_tokens": false,
22
- "tokenizer_class": "GemmaTokenizer",
23
- "unk_token": "<unk>",
24
- "use_default_system_prompt": false
25
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
llama-3.1-8b-instruct-ipo-sc-chat/step-100/chat_template.jinja DELETED
@@ -1,109 +0,0 @@
1
- {{- bos_token }}
2
- {%- if custom_tools is defined %}
3
- {%- set tools = custom_tools %}
4
- {%- endif %}
5
- {%- if not tools_in_user_message is defined %}
6
- {%- set tools_in_user_message = true %}
7
- {%- endif %}
8
- {%- if not date_string is defined %}
9
- {%- set date_string = "26 Jul 2024" %}
10
- {%- endif %}
11
- {%- if not tools is defined %}
12
- {%- set tools = none %}
13
- {%- endif %}
14
-
15
- {#- This block extracts the system message, so we can slot it into the right place. #}
16
- {%- if messages[0]['role'] == 'system' %}
17
- {%- set system_message = messages[0]['content']|trim %}
18
- {%- set messages = messages[1:] %}
19
- {%- else %}
20
- {%- set system_message = "" %}
21
- {%- endif %}
22
-
23
- {#- System message + builtin tools #}
24
- {{- "<|start_header_id|>system<|end_header_id|>\n\n" }}
25
- {%- if builtin_tools is defined or tools is not none %}
26
- {{- "Environment: ipython\n" }}
27
- {%- endif %}
28
- {%- if builtin_tools is defined %}
29
- {{- "Tools: " + builtin_tools | reject('equalto', 'code_interpreter') | join(", ") + "\n\n"}}
30
- {%- endif %}
31
- {{- "Cutting Knowledge Date: December 2023\n" }}
32
- {{- "Today Date: " + date_string + "\n\n" }}
33
- {%- if tools is not none and not tools_in_user_message %}
34
- {{- "You have access to the following functions. To call a function, please respond with JSON for a function call." }}
35
- {{- 'Respond in the format {"name": function name, "parameters": dictionary of argument name and its value}.' }}
36
- {{- "Do not use variables.\n\n" }}
37
- {%- for t in tools %}
38
- {{- t | tojson(indent=4) }}
39
- {{- "\n\n" }}
40
- {%- endfor %}
41
- {%- endif %}
42
- {{- system_message }}
43
- {{- "<|eot_id|>" }}
44
-
45
- {#- Custom tools are passed in a user message with some extra guidance #}
46
- {%- if tools_in_user_message and not tools is none %}
47
- {#- Extract the first user message so we can plug it in here #}
48
- {%- if messages | length != 0 %}
49
- {%- set first_user_message = messages[0]['content']|trim %}
50
- {%- set messages = messages[1:] %}
51
- {%- else %}
52
- {{- raise_exception("Cannot put tools in the first user message when there's no first user message!") }}
53
- {%- endif %}
54
- {{- '<|start_header_id|>user<|end_header_id|>\n\n' -}}
55
- {{- "Given the following functions, please respond with a JSON for a function call " }}
56
- {{- "with its proper arguments that best answers the given prompt.\n\n" }}
57
- {{- 'Respond in the format {"name": function name, "parameters": dictionary of argument name and its value}.' }}
58
- {{- "Do not use variables.\n\n" }}
59
- {%- for t in tools %}
60
- {{- t | tojson(indent=4) }}
61
- {{- "\n\n" }}
62
- {%- endfor %}
63
- {{- first_user_message + "<|eot_id|>"}}
64
- {%- endif %}
65
-
66
- {%- for message in messages %}
67
- {%- if not (message.role == 'ipython' or message.role == 'tool' or 'tool_calls' in message) %}
68
- {{- '<|start_header_id|>' + message['role'] + '<|end_header_id|>\n\n'+ message['content'] | trim + '<|eot_id|>' }}
69
- {%- elif 'tool_calls' in message %}
70
- {%- if not message.tool_calls|length == 1 %}
71
- {{- raise_exception("This model only supports single tool-calls at once!") }}
72
- {%- endif %}
73
- {%- set tool_call = message.tool_calls[0].function %}
74
- {%- if builtin_tools is defined and tool_call.name in builtin_tools %}
75
- {{- '<|start_header_id|>assistant<|end_header_id|>\n\n' -}}
76
- {{- "<|python_tag|>" + tool_call.name + ".call(" }}
77
- {%- for arg_name, arg_val in tool_call.arguments | items %}
78
- {{- arg_name + '="' + arg_val + '"' }}
79
- {%- if not loop.last %}
80
- {{- ", " }}
81
- {%- endif %}
82
- {%- endfor %}
83
- {{- ")" }}
84
- {%- else %}
85
- {{- '<|start_header_id|>assistant<|end_header_id|>\n\n' -}}
86
- {{- '{"name": "' + tool_call.name + '", ' }}
87
- {{- '"parameters": ' }}
88
- {{- tool_call.arguments | tojson }}
89
- {{- "}" }}
90
- {%- endif %}
91
- {%- if builtin_tools is defined %}
92
- {#- This means we're in ipython mode #}
93
- {{- "<|eom_id|>" }}
94
- {%- else %}
95
- {{- "<|eot_id|>" }}
96
- {%- endif %}
97
- {%- elif message.role == "tool" or message.role == "ipython" %}
98
- {{- "<|start_header_id|>ipython<|end_header_id|>\n\n" }}
99
- {%- if message.content is mapping or message.content is iterable %}
100
- {{- message.content | tojson }}
101
- {%- else %}
102
- {{- message.content }}
103
- {%- endif %}
104
- {{- "<|eot_id|>" }}
105
- {%- endif %}
106
- {%- endfor %}
107
- {%- if add_generation_prompt %}
108
- {{- '<|start_header_id|>assistant<|end_header_id|>\n\n' }}
109
- {%- endif %}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
llama-3.1-8b-instruct-ipo-sc-chat/step-100/config.json DELETED
@@ -1,36 +0,0 @@
1
- {
2
- "architectures": [
3
- "LlamaForCausalLM"
4
- ],
5
- "attention_bias": false,
6
- "attention_dropout": 0.0,
7
- "bos_token_id": 128000,
8
- "dtype": "bfloat16",
9
- "eos_token_id": 128009,
10
- "head_dim": 128,
11
- "hidden_act": "silu",
12
- "hidden_size": 4096,
13
- "initializer_range": 0.02,
14
- "intermediate_size": 14336,
15
- "max_position_embeddings": 131072,
16
- "mlp_bias": false,
17
- "model_type": "llama",
18
- "num_attention_heads": 32,
19
- "num_hidden_layers": 32,
20
- "num_key_value_heads": 8,
21
- "pad_token_id": 128009,
22
- "pretraining_tp": 1,
23
- "rms_norm_eps": 1e-05,
24
- "rope_parameters": {
25
- "factor": 8.0,
26
- "high_freq_factor": 4.0,
27
- "low_freq_factor": 1.0,
28
- "original_max_position_embeddings": 8192,
29
- "rope_theta": 500000.0,
30
- "rope_type": "llama3"
31
- },
32
- "tie_word_embeddings": false,
33
- "transformers_version": "5.19.0",
34
- "use_cache": true,
35
- "vocab_size": 128256
36
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
llama-3.1-8b-instruct-ipo-sc-chat/step-100/generation_config.json DELETED
@@ -1,12 +0,0 @@
1
- {
2
- "bos_token_id": 128000,
3
- "do_sample": true,
4
- "eos_token_id": [
5
- 128001,
6
- 128008,
7
- 128009
8
- ],
9
- "temperature": 0.6,
10
- "top_p": 0.9,
11
- "transformers_version": "5.19.0"
12
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
llama-3.1-8b-instruct-ipo-sc-chat/step-100/model.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:059d110eb716642c74a2933356c259fb88f5d84a5e17a24db6f30e8da929ce14
3
- size 16060556616
 
 
 
 
llama-3.1-8b-instruct-ipo-sc-chat/step-100/tokenizer.json DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b
3
- size 17209920
 
 
 
 
llama-3.1-8b-instruct-ipo-sc-chat/step-100/tokenizer_config.json DELETED
@@ -1,15 +0,0 @@
1
- {
2
- "backend": "tokenizers",
3
- "bos_token": "<|begin_of_text|>",
4
- "clean_up_tokenization_spaces": true,
5
- "eos_token": "<|eot_id|>",
6
- "is_local": true,
7
- "local_files_only": false,
8
- "model_input_names": [
9
- "input_ids",
10
- "attention_mask"
11
- ],
12
- "model_max_length": 131072,
13
- "pad_token": "<|eot_id|>",
14
- "tokenizer_class": "TokenizersBackend"
15
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
llama-3.1-8b-instruct-ipo-sc-chat/step-200/chat_template.jinja DELETED
@@ -1,109 +0,0 @@
1
- {{- bos_token }}
2
- {%- if custom_tools is defined %}
3
- {%- set tools = custom_tools %}
4
- {%- endif %}
5
- {%- if not tools_in_user_message is defined %}
6
- {%- set tools_in_user_message = true %}
7
- {%- endif %}
8
- {%- if not date_string is defined %}
9
- {%- set date_string = "26 Jul 2024" %}
10
- {%- endif %}
11
- {%- if not tools is defined %}
12
- {%- set tools = none %}
13
- {%- endif %}
14
-
15
- {#- This block extracts the system message, so we can slot it into the right place. #}
16
- {%- if messages[0]['role'] == 'system' %}
17
- {%- set system_message = messages[0]['content']|trim %}
18
- {%- set messages = messages[1:] %}
19
- {%- else %}
20
- {%- set system_message = "" %}
21
- {%- endif %}
22
-
23
- {#- System message + builtin tools #}
24
- {{- "<|start_header_id|>system<|end_header_id|>\n\n" }}
25
- {%- if builtin_tools is defined or tools is not none %}
26
- {{- "Environment: ipython\n" }}
27
- {%- endif %}
28
- {%- if builtin_tools is defined %}
29
- {{- "Tools: " + builtin_tools | reject('equalto', 'code_interpreter') | join(", ") + "\n\n"}}
30
- {%- endif %}
31
- {{- "Cutting Knowledge Date: December 2023\n" }}
32
- {{- "Today Date: " + date_string + "\n\n" }}
33
- {%- if tools is not none and not tools_in_user_message %}
34
- {{- "You have access to the following functions. To call a function, please respond with JSON for a function call." }}
35
- {{- 'Respond in the format {"name": function name, "parameters": dictionary of argument name and its value}.' }}
36
- {{- "Do not use variables.\n\n" }}
37
- {%- for t in tools %}
38
- {{- t | tojson(indent=4) }}
39
- {{- "\n\n" }}
40
- {%- endfor %}
41
- {%- endif %}
42
- {{- system_message }}
43
- {{- "<|eot_id|>" }}
44
-
45
- {#- Custom tools are passed in a user message with some extra guidance #}
46
- {%- if tools_in_user_message and not tools is none %}
47
- {#- Extract the first user message so we can plug it in here #}
48
- {%- if messages | length != 0 %}
49
- {%- set first_user_message = messages[0]['content']|trim %}
50
- {%- set messages = messages[1:] %}
51
- {%- else %}
52
- {{- raise_exception("Cannot put tools in the first user message when there's no first user message!") }}
53
- {%- endif %}
54
- {{- '<|start_header_id|>user<|end_header_id|>\n\n' -}}
55
- {{- "Given the following functions, please respond with a JSON for a function call " }}
56
- {{- "with its proper arguments that best answers the given prompt.\n\n" }}
57
- {{- 'Respond in the format {"name": function name, "parameters": dictionary of argument name and its value}.' }}
58
- {{- "Do not use variables.\n\n" }}
59
- {%- for t in tools %}
60
- {{- t | tojson(indent=4) }}
61
- {{- "\n\n" }}
62
- {%- endfor %}
63
- {{- first_user_message + "<|eot_id|>"}}
64
- {%- endif %}
65
-
66
- {%- for message in messages %}
67
- {%- if not (message.role == 'ipython' or message.role == 'tool' or 'tool_calls' in message) %}
68
- {{- '<|start_header_id|>' + message['role'] + '<|end_header_id|>\n\n'+ message['content'] | trim + '<|eot_id|>' }}
69
- {%- elif 'tool_calls' in message %}
70
- {%- if not message.tool_calls|length == 1 %}
71
- {{- raise_exception("This model only supports single tool-calls at once!") }}
72
- {%- endif %}
73
- {%- set tool_call = message.tool_calls[0].function %}
74
- {%- if builtin_tools is defined and tool_call.name in builtin_tools %}
75
- {{- '<|start_header_id|>assistant<|end_header_id|>\n\n' -}}
76
- {{- "<|python_tag|>" + tool_call.name + ".call(" }}
77
- {%- for arg_name, arg_val in tool_call.arguments | items %}
78
- {{- arg_name + '="' + arg_val + '"' }}
79
- {%- if not loop.last %}
80
- {{- ", " }}
81
- {%- endif %}
82
- {%- endfor %}
83
- {{- ")" }}
84
- {%- else %}
85
- {{- '<|start_header_id|>assistant<|end_header_id|>\n\n' -}}
86
- {{- '{"name": "' + tool_call.name + '", ' }}
87
- {{- '"parameters": ' }}
88
- {{- tool_call.arguments | tojson }}
89
- {{- "}" }}
90
- {%- endif %}
91
- {%- if builtin_tools is defined %}
92
- {#- This means we're in ipython mode #}
93
- {{- "<|eom_id|>" }}
94
- {%- else %}
95
- {{- "<|eot_id|>" }}
96
- {%- endif %}
97
- {%- elif message.role == "tool" or message.role == "ipython" %}
98
- {{- "<|start_header_id|>ipython<|end_header_id|>\n\n" }}
99
- {%- if message.content is mapping or message.content is iterable %}
100
- {{- message.content | tojson }}
101
- {%- else %}
102
- {{- message.content }}
103
- {%- endif %}
104
- {{- "<|eot_id|>" }}
105
- {%- endif %}
106
- {%- endfor %}
107
- {%- if add_generation_prompt %}
108
- {{- '<|start_header_id|>assistant<|end_header_id|>\n\n' }}
109
- {%- endif %}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
llama-3.1-8b-instruct-ipo-sc-chat/step-200/config.json DELETED
@@ -1,36 +0,0 @@
1
- {
2
- "architectures": [
3
- "LlamaForCausalLM"
4
- ],
5
- "attention_bias": false,
6
- "attention_dropout": 0.0,
7
- "bos_token_id": 128000,
8
- "dtype": "bfloat16",
9
- "eos_token_id": 128009,
10
- "head_dim": 128,
11
- "hidden_act": "silu",
12
- "hidden_size": 4096,
13
- "initializer_range": 0.02,
14
- "intermediate_size": 14336,
15
- "max_position_embeddings": 131072,
16
- "mlp_bias": false,
17
- "model_type": "llama",
18
- "num_attention_heads": 32,
19
- "num_hidden_layers": 32,
20
- "num_key_value_heads": 8,
21
- "pad_token_id": 128009,
22
- "pretraining_tp": 1,
23
- "rms_norm_eps": 1e-05,
24
- "rope_parameters": {
25
- "factor": 8.0,
26
- "high_freq_factor": 4.0,
27
- "low_freq_factor": 1.0,
28
- "original_max_position_embeddings": 8192,
29
- "rope_theta": 500000.0,
30
- "rope_type": "llama3"
31
- },
32
- "tie_word_embeddings": false,
33
- "transformers_version": "5.19.0",
34
- "use_cache": true,
35
- "vocab_size": 128256
36
- }