diff --git a/gemma-3-12b-pt-ipo-sc/step-100/chat_template.jinja b/gemma-3-12b-pt-ipo-sc/step-100/chat_template.jinja deleted file mode 100644 index 3393a712d604ac21c6dae36d5a70b267e048d709..0000000000000000000000000000000000000000 --- a/gemma-3-12b-pt-ipo-sc/step-100/chat_template.jinja +++ /dev/null @@ -1 +0,0 @@ -{{ bos_token or '' }}{% for m in messages %}{{ m['content'] }}{% endfor %} \ No newline at end of file diff --git a/gemma-3-12b-pt-ipo-sc/step-100/config.json b/gemma-3-12b-pt-ipo-sc/step-100/config.json deleted file mode 100644 index 423c2177f64c27a3cdc642495af344d37e96d06a..0000000000000000000000000000000000000000 --- a/gemma-3-12b-pt-ipo-sc/step-100/config.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "_sliding_window_pattern": 6, - "architectures": [ - "Gemma3ForCausalLM" - ], - "attention_bias": false, - "attention_dropout": 0.0, - "attn_logit_softcapping": null, - "bos_token_id": 2, - "dtype": "bfloat16", - "eos_token_id": 1, - "final_logit_softcapping": null, - "head_dim": 256, - "hidden_activation": "gelu_pytorch_tanh", - "hidden_size": 3840, - "initializer_range": 0.02, - "intermediate_size": 15360, - "layer_types": [ - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention" - ], - "max_position_embeddings": 131072, - "model_type": "gemma3_text", - "num_attention_heads": 16, - "num_hidden_layers": 48, - "num_key_value_heads": 8, - "pad_token_id": 0, - "query_pre_attn_scalar": 256, - "rms_norm_eps": 1e-06, - "rope_parameters": { - "full_attention": { - "factor": 8.0, - "rope_theta": 1000000.0, - "rope_type": "linear" - }, - "sliding_attention": { - "rope_theta": 10000.0, - "rope_type": "default" - } - }, - "sliding_window": 1024, - "tie_word_embeddings": true, - "transformers_version": "5.19.0", - "use_bidirectional_attention": false, - "use_cache": true, - "vocab_size": 262208 -} diff --git a/gemma-3-12b-pt-ipo-sc/step-100/generation_config.json b/gemma-3-12b-pt-ipo-sc/step-100/generation_config.json deleted file mode 100644 index 62cdecc9e38274dc2058a9df1290c452a78afdf8..0000000000000000000000000000000000000000 --- a/gemma-3-12b-pt-ipo-sc/step-100/generation_config.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "bos_token_id": 2, - "cache_implementation": "hybrid", - "do_sample": true, - "eos_token_id": [ - 1, - 106 - ], - "pad_token_id": 0, - "top_k": 64, - "top_p": 0.95, - "transformers_version": "5.19.0" -} diff --git a/gemma-3-12b-pt-ipo-sc/step-100/model.safetensors b/gemma-3-12b-pt-ipo-sc/step-100/model.safetensors deleted file mode 100644 index bb847604be9197bc49378429a2f74bd2e0c46e87..0000000000000000000000000000000000000000 --- a/gemma-3-12b-pt-ipo-sc/step-100/model.safetensors +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1a9efc1e377d7d8655b96c048ba78ff8e3ab339bea36e24d16ceadd42b5cacab -size 23532142208 diff --git a/gemma-3-12b-pt-ipo-sc/step-100/tokenizer.json b/gemma-3-12b-pt-ipo-sc/step-100/tokenizer.json deleted file mode 100644 index f74d183147799f3fd56768db82b27473f0e09a1d..0000000000000000000000000000000000000000 --- a/gemma-3-12b-pt-ipo-sc/step-100/tokenizer.json +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:daab2354f8a74e70d70b4d1f804939b68a8c9624dd06cb7858e52dd8970e9726 -size 33384567 diff --git a/gemma-3-12b-pt-ipo-sc/step-100/tokenizer_config.json b/gemma-3-12b-pt-ipo-sc/step-100/tokenizer_config.json deleted file mode 100644 index bddb9cbedd089851549fd4b701ea155671c9f84a..0000000000000000000000000000000000000000 --- a/gemma-3-12b-pt-ipo-sc/step-100/tokenizer_config.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "backend": "tokenizers", - "boi_token": "", - "bos_token": "", - "clean_up_tokenization_spaces": false, - "eoi_token": "", - "eos_token": "", - "image_token": "", - "is_local": true, - "local_files_only": false, - "mask_token": "", - "model_max_length": 1000000000000000019884624838656, - "model_specific_special_tokens": { - "boi_token": "", - "eoi_token": "", - "image_token": "" - }, - "pad_token": "", - "processor_class": "Gemma3Processor", - "sp_model_kwargs": null, - "spaces_between_special_tokens": false, - "tokenizer_class": "GemmaTokenizer", - "unk_token": "", - "use_default_system_prompt": false -} diff --git a/gemma-3-12b-pt-ipo-sc/step-200/chat_template.jinja b/gemma-3-12b-pt-ipo-sc/step-200/chat_template.jinja deleted file mode 100644 index 3393a712d604ac21c6dae36d5a70b267e048d709..0000000000000000000000000000000000000000 --- a/gemma-3-12b-pt-ipo-sc/step-200/chat_template.jinja +++ /dev/null @@ -1 +0,0 @@ -{{ bos_token or '' }}{% for m in messages %}{{ m['content'] }}{% endfor %} \ No newline at end of file diff --git a/gemma-3-12b-pt-ipo-sc/step-200/config.json b/gemma-3-12b-pt-ipo-sc/step-200/config.json deleted file mode 100644 index 423c2177f64c27a3cdc642495af344d37e96d06a..0000000000000000000000000000000000000000 --- a/gemma-3-12b-pt-ipo-sc/step-200/config.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "_sliding_window_pattern": 6, - "architectures": [ - "Gemma3ForCausalLM" - ], - "attention_bias": false, - "attention_dropout": 0.0, - "attn_logit_softcapping": null, - "bos_token_id": 2, - "dtype": "bfloat16", - "eos_token_id": 1, - "final_logit_softcapping": null, - "head_dim": 256, - "hidden_activation": "gelu_pytorch_tanh", - "hidden_size": 3840, - "initializer_range": 0.02, - "intermediate_size": 15360, - "layer_types": [ - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention" - ], - "max_position_embeddings": 131072, - "model_type": "gemma3_text", - "num_attention_heads": 16, - "num_hidden_layers": 48, - "num_key_value_heads": 8, - "pad_token_id": 0, - "query_pre_attn_scalar": 256, - "rms_norm_eps": 1e-06, - "rope_parameters": { - "full_attention": { - "factor": 8.0, - "rope_theta": 1000000.0, - "rope_type": "linear" - }, - "sliding_attention": { - "rope_theta": 10000.0, - "rope_type": "default" - } - }, - "sliding_window": 1024, - "tie_word_embeddings": true, - "transformers_version": "5.19.0", - "use_bidirectional_attention": false, - "use_cache": true, - "vocab_size": 262208 -} diff --git a/gemma-3-12b-pt-ipo-sc/step-200/generation_config.json b/gemma-3-12b-pt-ipo-sc/step-200/generation_config.json deleted file mode 100644 index 62cdecc9e38274dc2058a9df1290c452a78afdf8..0000000000000000000000000000000000000000 --- a/gemma-3-12b-pt-ipo-sc/step-200/generation_config.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "bos_token_id": 2, - "cache_implementation": "hybrid", - "do_sample": true, - "eos_token_id": [ - 1, - 106 - ], - "pad_token_id": 0, - "top_k": 64, - "top_p": 0.95, - "transformers_version": "5.19.0" -} diff --git a/gemma-3-12b-pt-ipo-sc/step-200/model.safetensors b/gemma-3-12b-pt-ipo-sc/step-200/model.safetensors deleted file mode 100644 index 346761eac1b5fe9ee129cddcfbad7a65088d41ff..0000000000000000000000000000000000000000 --- a/gemma-3-12b-pt-ipo-sc/step-200/model.safetensors +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:39f0a62f4e1d37c3fbbb76df22a9fa6ed0cce85c82b0b3062ef48a5a1680254c -size 23532142208 diff --git a/gemma-3-12b-pt-ipo-sc/step-200/tokenizer.json b/gemma-3-12b-pt-ipo-sc/step-200/tokenizer.json deleted file mode 100644 index f74d183147799f3fd56768db82b27473f0e09a1d..0000000000000000000000000000000000000000 --- a/gemma-3-12b-pt-ipo-sc/step-200/tokenizer.json +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:daab2354f8a74e70d70b4d1f804939b68a8c9624dd06cb7858e52dd8970e9726 -size 33384567 diff --git a/gemma-3-12b-pt-ipo-sc/step-200/tokenizer_config.json b/gemma-3-12b-pt-ipo-sc/step-200/tokenizer_config.json deleted file mode 100644 index bddb9cbedd089851549fd4b701ea155671c9f84a..0000000000000000000000000000000000000000 --- a/gemma-3-12b-pt-ipo-sc/step-200/tokenizer_config.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "backend": "tokenizers", - "boi_token": "", - "bos_token": "", - "clean_up_tokenization_spaces": false, - "eoi_token": "", - "eos_token": "", - "image_token": "", - "is_local": true, - "local_files_only": false, - "mask_token": "", - "model_max_length": 1000000000000000019884624838656, - "model_specific_special_tokens": { - "boi_token": "", - "eoi_token": "", - "image_token": "" - }, - "pad_token": "", - "processor_class": "Gemma3Processor", - "sp_model_kwargs": null, - "spaces_between_special_tokens": false, - "tokenizer_class": "GemmaTokenizer", - "unk_token": "", - "use_default_system_prompt": false -} diff --git a/gemma-3-12b-pt-ipo-sc/step-300/chat_template.jinja b/gemma-3-12b-pt-ipo-sc/step-300/chat_template.jinja deleted file mode 100644 index 3393a712d604ac21c6dae36d5a70b267e048d709..0000000000000000000000000000000000000000 --- a/gemma-3-12b-pt-ipo-sc/step-300/chat_template.jinja +++ /dev/null @@ -1 +0,0 @@ -{{ bos_token or '' }}{% for m in messages %}{{ m['content'] }}{% endfor %} \ No newline at end of file diff --git a/gemma-3-12b-pt-ipo-sc/step-300/config.json b/gemma-3-12b-pt-ipo-sc/step-300/config.json deleted file mode 100644 index 423c2177f64c27a3cdc642495af344d37e96d06a..0000000000000000000000000000000000000000 --- a/gemma-3-12b-pt-ipo-sc/step-300/config.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "_sliding_window_pattern": 6, - "architectures": [ - "Gemma3ForCausalLM" - ], - "attention_bias": false, - "attention_dropout": 0.0, - "attn_logit_softcapping": null, - "bos_token_id": 2, - "dtype": "bfloat16", - "eos_token_id": 1, - "final_logit_softcapping": null, - "head_dim": 256, - "hidden_activation": "gelu_pytorch_tanh", - "hidden_size": 3840, - "initializer_range": 0.02, - "intermediate_size": 15360, - "layer_types": [ - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention" - ], - "max_position_embeddings": 131072, - "model_type": "gemma3_text", - "num_attention_heads": 16, - "num_hidden_layers": 48, - "num_key_value_heads": 8, - "pad_token_id": 0, - "query_pre_attn_scalar": 256, - "rms_norm_eps": 1e-06, - "rope_parameters": { - "full_attention": { - "factor": 8.0, - "rope_theta": 1000000.0, - "rope_type": "linear" - }, - "sliding_attention": { - "rope_theta": 10000.0, - "rope_type": "default" - } - }, - "sliding_window": 1024, - "tie_word_embeddings": true, - "transformers_version": "5.19.0", - "use_bidirectional_attention": false, - "use_cache": true, - "vocab_size": 262208 -} diff --git a/gemma-3-12b-pt-ipo-sc/step-300/generation_config.json b/gemma-3-12b-pt-ipo-sc/step-300/generation_config.json deleted file mode 100644 index 62cdecc9e38274dc2058a9df1290c452a78afdf8..0000000000000000000000000000000000000000 --- a/gemma-3-12b-pt-ipo-sc/step-300/generation_config.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "bos_token_id": 2, - "cache_implementation": "hybrid", - "do_sample": true, - "eos_token_id": [ - 1, - 106 - ], - "pad_token_id": 0, - "top_k": 64, - "top_p": 0.95, - "transformers_version": "5.19.0" -} diff --git a/gemma-3-12b-pt-ipo-sc/step-300/model.safetensors b/gemma-3-12b-pt-ipo-sc/step-300/model.safetensors deleted file mode 100644 index a300bb89f7c4de579912a3b59b249e3e8d31afdb..0000000000000000000000000000000000000000 --- a/gemma-3-12b-pt-ipo-sc/step-300/model.safetensors +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:32d2d04d4b93acbfcf222aaff73bf3d9d5f82260ab8934d17b299618f2ee4957 -size 23532142208 diff --git a/gemma-3-12b-pt-ipo-sc/step-300/tokenizer.json b/gemma-3-12b-pt-ipo-sc/step-300/tokenizer.json deleted file mode 100644 index f74d183147799f3fd56768db82b27473f0e09a1d..0000000000000000000000000000000000000000 --- a/gemma-3-12b-pt-ipo-sc/step-300/tokenizer.json +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:daab2354f8a74e70d70b4d1f804939b68a8c9624dd06cb7858e52dd8970e9726 -size 33384567 diff --git a/gemma-3-12b-pt-ipo-sc/step-300/tokenizer_config.json b/gemma-3-12b-pt-ipo-sc/step-300/tokenizer_config.json deleted file mode 100644 index bddb9cbedd089851549fd4b701ea155671c9f84a..0000000000000000000000000000000000000000 --- a/gemma-3-12b-pt-ipo-sc/step-300/tokenizer_config.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "backend": "tokenizers", - "boi_token": "", - "bos_token": "", - "clean_up_tokenization_spaces": false, - "eoi_token": "", - "eos_token": "", - "image_token": "", - "is_local": true, - "local_files_only": false, - "mask_token": "", - "model_max_length": 1000000000000000019884624838656, - "model_specific_special_tokens": { - "boi_token": "", - "eoi_token": "", - "image_token": "" - }, - "pad_token": "", - "processor_class": "Gemma3Processor", - "sp_model_kwargs": null, - "spaces_between_special_tokens": false, - "tokenizer_class": "GemmaTokenizer", - "unk_token": "", - "use_default_system_prompt": false -} diff --git a/gemma-3-12b-pt-ipo-sc/step-400/chat_template.jinja b/gemma-3-12b-pt-ipo-sc/step-400/chat_template.jinja deleted file mode 100644 index 3393a712d604ac21c6dae36d5a70b267e048d709..0000000000000000000000000000000000000000 --- a/gemma-3-12b-pt-ipo-sc/step-400/chat_template.jinja +++ /dev/null @@ -1 +0,0 @@ -{{ bos_token or '' }}{% for m in messages %}{{ m['content'] }}{% endfor %} \ No newline at end of file diff --git a/gemma-3-12b-pt-ipo-sc/step-400/config.json b/gemma-3-12b-pt-ipo-sc/step-400/config.json deleted file mode 100644 index 423c2177f64c27a3cdc642495af344d37e96d06a..0000000000000000000000000000000000000000 --- a/gemma-3-12b-pt-ipo-sc/step-400/config.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "_sliding_window_pattern": 6, - "architectures": [ - "Gemma3ForCausalLM" - ], - "attention_bias": false, - "attention_dropout": 0.0, - "attn_logit_softcapping": null, - "bos_token_id": 2, - "dtype": "bfloat16", - "eos_token_id": 1, - "final_logit_softcapping": null, - "head_dim": 256, - "hidden_activation": "gelu_pytorch_tanh", - "hidden_size": 3840, - "initializer_range": 0.02, - "intermediate_size": 15360, - "layer_types": [ - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention" - ], - "max_position_embeddings": 131072, - "model_type": "gemma3_text", - "num_attention_heads": 16, - "num_hidden_layers": 48, - "num_key_value_heads": 8, - "pad_token_id": 0, - "query_pre_attn_scalar": 256, - "rms_norm_eps": 1e-06, - "rope_parameters": { - "full_attention": { - "factor": 8.0, - "rope_theta": 1000000.0, - "rope_type": "linear" - }, - "sliding_attention": { - "rope_theta": 10000.0, - "rope_type": "default" - } - }, - "sliding_window": 1024, - "tie_word_embeddings": true, - "transformers_version": "5.19.0", - "use_bidirectional_attention": false, - "use_cache": true, - "vocab_size": 262208 -} diff --git a/gemma-3-12b-pt-ipo-sc/step-400/generation_config.json b/gemma-3-12b-pt-ipo-sc/step-400/generation_config.json deleted file mode 100644 index 62cdecc9e38274dc2058a9df1290c452a78afdf8..0000000000000000000000000000000000000000 --- a/gemma-3-12b-pt-ipo-sc/step-400/generation_config.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "bos_token_id": 2, - "cache_implementation": "hybrid", - "do_sample": true, - "eos_token_id": [ - 1, - 106 - ], - "pad_token_id": 0, - "top_k": 64, - "top_p": 0.95, - "transformers_version": "5.19.0" -} diff --git a/gemma-3-12b-pt-ipo-sc/step-400/model.safetensors b/gemma-3-12b-pt-ipo-sc/step-400/model.safetensors deleted file mode 100644 index e180644f867248784c508b4e66b777b689d4e675..0000000000000000000000000000000000000000 --- a/gemma-3-12b-pt-ipo-sc/step-400/model.safetensors +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cacf169a4279cd5cda5b42a1b9be47b3a08b2df9f82e4384307384b3b66dfe47 -size 23532142208 diff --git a/gemma-3-12b-pt-ipo-sc/step-400/tokenizer.json b/gemma-3-12b-pt-ipo-sc/step-400/tokenizer.json deleted file mode 100644 index f74d183147799f3fd56768db82b27473f0e09a1d..0000000000000000000000000000000000000000 --- a/gemma-3-12b-pt-ipo-sc/step-400/tokenizer.json +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:daab2354f8a74e70d70b4d1f804939b68a8c9624dd06cb7858e52dd8970e9726 -size 33384567 diff --git a/gemma-3-12b-pt-ipo-sc/step-400/tokenizer_config.json b/gemma-3-12b-pt-ipo-sc/step-400/tokenizer_config.json deleted file mode 100644 index bddb9cbedd089851549fd4b701ea155671c9f84a..0000000000000000000000000000000000000000 --- a/gemma-3-12b-pt-ipo-sc/step-400/tokenizer_config.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "backend": "tokenizers", - "boi_token": "", - "bos_token": "", - "clean_up_tokenization_spaces": false, - "eoi_token": "", - "eos_token": "", - "image_token": "", - "is_local": true, - "local_files_only": false, - "mask_token": "", - "model_max_length": 1000000000000000019884624838656, - "model_specific_special_tokens": { - "boi_token": "", - "eoi_token": "", - "image_token": "" - }, - "pad_token": "", - "processor_class": "Gemma3Processor", - "sp_model_kwargs": null, - "spaces_between_special_tokens": false, - "tokenizer_class": "GemmaTokenizer", - "unk_token": "", - "use_default_system_prompt": false -} diff --git a/gemma-3-12b-pt-ipo-sc/step-500/chat_template.jinja b/gemma-3-12b-pt-ipo-sc/step-500/chat_template.jinja deleted file mode 100644 index 3393a712d604ac21c6dae36d5a70b267e048d709..0000000000000000000000000000000000000000 --- a/gemma-3-12b-pt-ipo-sc/step-500/chat_template.jinja +++ /dev/null @@ -1 +0,0 @@ -{{ bos_token or '' }}{% for m in messages %}{{ m['content'] }}{% endfor %} \ No newline at end of file diff --git a/gemma-3-12b-pt-ipo-sc/step-500/config.json b/gemma-3-12b-pt-ipo-sc/step-500/config.json deleted file mode 100644 index 423c2177f64c27a3cdc642495af344d37e96d06a..0000000000000000000000000000000000000000 --- a/gemma-3-12b-pt-ipo-sc/step-500/config.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "_sliding_window_pattern": 6, - "architectures": [ - "Gemma3ForCausalLM" - ], - "attention_bias": false, - "attention_dropout": 0.0, - "attn_logit_softcapping": null, - "bos_token_id": 2, - "dtype": "bfloat16", - "eos_token_id": 1, - "final_logit_softcapping": null, - "head_dim": 256, - "hidden_activation": "gelu_pytorch_tanh", - "hidden_size": 3840, - "initializer_range": 0.02, - "intermediate_size": 15360, - "layer_types": [ - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention" - ], - "max_position_embeddings": 131072, - "model_type": "gemma3_text", - "num_attention_heads": 16, - "num_hidden_layers": 48, - "num_key_value_heads": 8, - "pad_token_id": 0, - "query_pre_attn_scalar": 256, - "rms_norm_eps": 1e-06, - "rope_parameters": { - "full_attention": { - "factor": 8.0, - "rope_theta": 1000000.0, - "rope_type": "linear" - }, - "sliding_attention": { - "rope_theta": 10000.0, - "rope_type": "default" - } - }, - "sliding_window": 1024, - "tie_word_embeddings": true, - "transformers_version": "5.19.0", - "use_bidirectional_attention": false, - "use_cache": true, - "vocab_size": 262208 -} diff --git a/gemma-3-12b-pt-ipo-sc/step-500/generation_config.json b/gemma-3-12b-pt-ipo-sc/step-500/generation_config.json deleted file mode 100644 index 62cdecc9e38274dc2058a9df1290c452a78afdf8..0000000000000000000000000000000000000000 --- a/gemma-3-12b-pt-ipo-sc/step-500/generation_config.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "bos_token_id": 2, - "cache_implementation": "hybrid", - "do_sample": true, - "eos_token_id": [ - 1, - 106 - ], - "pad_token_id": 0, - "top_k": 64, - "top_p": 0.95, - "transformers_version": "5.19.0" -} diff --git a/gemma-3-12b-pt-ipo-sc/step-500/model.safetensors b/gemma-3-12b-pt-ipo-sc/step-500/model.safetensors deleted file mode 100644 index 67a67a469235a75e021405ba1de68aa08bf8277d..0000000000000000000000000000000000000000 --- a/gemma-3-12b-pt-ipo-sc/step-500/model.safetensors +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b2960d21978ab7b5b8a140a728c8f01f1ac0197ad041a6654f49a80a152766ef -size 23532142208 diff --git a/gemma-3-12b-pt-ipo-sc/step-500/tokenizer.json b/gemma-3-12b-pt-ipo-sc/step-500/tokenizer.json deleted file mode 100644 index f74d183147799f3fd56768db82b27473f0e09a1d..0000000000000000000000000000000000000000 --- a/gemma-3-12b-pt-ipo-sc/step-500/tokenizer.json +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:daab2354f8a74e70d70b4d1f804939b68a8c9624dd06cb7858e52dd8970e9726 -size 33384567 diff --git a/gemma-3-12b-pt-ipo-sc/step-500/tokenizer_config.json b/gemma-3-12b-pt-ipo-sc/step-500/tokenizer_config.json deleted file mode 100644 index bddb9cbedd089851549fd4b701ea155671c9f84a..0000000000000000000000000000000000000000 --- a/gemma-3-12b-pt-ipo-sc/step-500/tokenizer_config.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "backend": "tokenizers", - "boi_token": "", - "bos_token": "", - "clean_up_tokenization_spaces": false, - "eoi_token": "", - "eos_token": "", - "image_token": "", - "is_local": true, - "local_files_only": false, - "mask_token": "", - "model_max_length": 1000000000000000019884624838656, - "model_specific_special_tokens": { - "boi_token": "", - "eoi_token": "", - "image_token": "" - }, - "pad_token": "", - "processor_class": "Gemma3Processor", - "sp_model_kwargs": null, - "spaces_between_special_tokens": false, - "tokenizer_class": "GemmaTokenizer", - "unk_token": "", - "use_default_system_prompt": false -} diff --git a/gemma-3-12b-pt-ipo-sc/step-600/chat_template.jinja b/gemma-3-12b-pt-ipo-sc/step-600/chat_template.jinja deleted file mode 100644 index 3393a712d604ac21c6dae36d5a70b267e048d709..0000000000000000000000000000000000000000 --- a/gemma-3-12b-pt-ipo-sc/step-600/chat_template.jinja +++ /dev/null @@ -1 +0,0 @@ -{{ bos_token or '' }}{% for m in messages %}{{ m['content'] }}{% endfor %} \ No newline at end of file diff --git a/gemma-3-12b-pt-ipo-sc/step-600/config.json b/gemma-3-12b-pt-ipo-sc/step-600/config.json deleted file mode 100644 index 423c2177f64c27a3cdc642495af344d37e96d06a..0000000000000000000000000000000000000000 --- a/gemma-3-12b-pt-ipo-sc/step-600/config.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "_sliding_window_pattern": 6, - "architectures": [ - "Gemma3ForCausalLM" - ], - "attention_bias": false, - "attention_dropout": 0.0, - "attn_logit_softcapping": null, - "bos_token_id": 2, - "dtype": "bfloat16", - "eos_token_id": 1, - "final_logit_softcapping": null, - "head_dim": 256, - "hidden_activation": "gelu_pytorch_tanh", - "hidden_size": 3840, - "initializer_range": 0.02, - "intermediate_size": 15360, - "layer_types": [ - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention" - ], - "max_position_embeddings": 131072, - "model_type": "gemma3_text", - "num_attention_heads": 16, - "num_hidden_layers": 48, - "num_key_value_heads": 8, - "pad_token_id": 0, - "query_pre_attn_scalar": 256, - "rms_norm_eps": 1e-06, - "rope_parameters": { - "full_attention": { - "factor": 8.0, - "rope_theta": 1000000.0, - "rope_type": "linear" - }, - "sliding_attention": { - "rope_theta": 10000.0, - "rope_type": "default" - } - }, - "sliding_window": 1024, - "tie_word_embeddings": true, - "transformers_version": "5.19.0", - "use_bidirectional_attention": false, - "use_cache": true, - "vocab_size": 262208 -} diff --git a/gemma-3-12b-pt-ipo-sc/step-600/generation_config.json b/gemma-3-12b-pt-ipo-sc/step-600/generation_config.json deleted file mode 100644 index 62cdecc9e38274dc2058a9df1290c452a78afdf8..0000000000000000000000000000000000000000 --- a/gemma-3-12b-pt-ipo-sc/step-600/generation_config.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "bos_token_id": 2, - "cache_implementation": "hybrid", - "do_sample": true, - "eos_token_id": [ - 1, - 106 - ], - "pad_token_id": 0, - "top_k": 64, - "top_p": 0.95, - "transformers_version": "5.19.0" -} diff --git a/gemma-3-12b-pt-ipo-sc/step-600/model.safetensors b/gemma-3-12b-pt-ipo-sc/step-600/model.safetensors deleted file mode 100644 index ea98629b01a3599f57d90addbb53e5449edc54f8..0000000000000000000000000000000000000000 --- a/gemma-3-12b-pt-ipo-sc/step-600/model.safetensors +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1d32e71bd6b6ab9aeb04e25467843f08b57901b607e22d759803f3dfcfb855aa -size 23532142208 diff --git a/gemma-3-12b-pt-ipo-sc/step-600/tokenizer.json b/gemma-3-12b-pt-ipo-sc/step-600/tokenizer.json deleted file mode 100644 index f74d183147799f3fd56768db82b27473f0e09a1d..0000000000000000000000000000000000000000 --- a/gemma-3-12b-pt-ipo-sc/step-600/tokenizer.json +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:daab2354f8a74e70d70b4d1f804939b68a8c9624dd06cb7858e52dd8970e9726 -size 33384567 diff --git a/gemma-3-12b-pt-ipo-sc/step-600/tokenizer_config.json b/gemma-3-12b-pt-ipo-sc/step-600/tokenizer_config.json deleted file mode 100644 index bddb9cbedd089851549fd4b701ea155671c9f84a..0000000000000000000000000000000000000000 --- a/gemma-3-12b-pt-ipo-sc/step-600/tokenizer_config.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "backend": "tokenizers", - "boi_token": "", - "bos_token": "", - "clean_up_tokenization_spaces": false, - "eoi_token": "", - "eos_token": "", - "image_token": "", - "is_local": true, - "local_files_only": false, - "mask_token": "", - "model_max_length": 1000000000000000019884624838656, - "model_specific_special_tokens": { - "boi_token": "", - "eoi_token": "", - "image_token": "" - }, - "pad_token": "", - "processor_class": "Gemma3Processor", - "sp_model_kwargs": null, - "spaces_between_special_tokens": false, - "tokenizer_class": "GemmaTokenizer", - "unk_token": "", - "use_default_system_prompt": false -} diff --git a/gemma-3-12b-pt-ipo-sc/step-700/chat_template.jinja b/gemma-3-12b-pt-ipo-sc/step-700/chat_template.jinja deleted file mode 100644 index 3393a712d604ac21c6dae36d5a70b267e048d709..0000000000000000000000000000000000000000 --- a/gemma-3-12b-pt-ipo-sc/step-700/chat_template.jinja +++ /dev/null @@ -1 +0,0 @@ -{{ bos_token or '' }}{% for m in messages %}{{ m['content'] }}{% endfor %} \ No newline at end of file diff --git a/gemma-3-12b-pt-ipo-sc/step-700/config.json b/gemma-3-12b-pt-ipo-sc/step-700/config.json deleted file mode 100644 index 423c2177f64c27a3cdc642495af344d37e96d06a..0000000000000000000000000000000000000000 --- a/gemma-3-12b-pt-ipo-sc/step-700/config.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "_sliding_window_pattern": 6, - "architectures": [ - "Gemma3ForCausalLM" - ], - "attention_bias": false, - "attention_dropout": 0.0, - "attn_logit_softcapping": null, - "bos_token_id": 2, - "dtype": "bfloat16", - "eos_token_id": 1, - "final_logit_softcapping": null, - "head_dim": 256, - "hidden_activation": "gelu_pytorch_tanh", - "hidden_size": 3840, - "initializer_range": 0.02, - "intermediate_size": 15360, - "layer_types": [ - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "sliding_attention", - "full_attention" - ], - "max_position_embeddings": 131072, - "model_type": "gemma3_text", - "num_attention_heads": 16, - "num_hidden_layers": 48, - "num_key_value_heads": 8, - "pad_token_id": 0, - "query_pre_attn_scalar": 256, - "rms_norm_eps": 1e-06, - "rope_parameters": { - "full_attention": { - "factor": 8.0, - "rope_theta": 1000000.0, - "rope_type": "linear" - }, - "sliding_attention": { - "rope_theta": 10000.0, - "rope_type": "default" - } - }, - "sliding_window": 1024, - "tie_word_embeddings": true, - "transformers_version": "5.19.0", - "use_bidirectional_attention": false, - "use_cache": true, - "vocab_size": 262208 -} diff --git a/gemma-3-12b-pt-ipo-sc/step-700/generation_config.json b/gemma-3-12b-pt-ipo-sc/step-700/generation_config.json deleted file mode 100644 index 62cdecc9e38274dc2058a9df1290c452a78afdf8..0000000000000000000000000000000000000000 --- a/gemma-3-12b-pt-ipo-sc/step-700/generation_config.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "bos_token_id": 2, - "cache_implementation": "hybrid", - "do_sample": true, - "eos_token_id": [ - 1, - 106 - ], - "pad_token_id": 0, - "top_k": 64, - "top_p": 0.95, - "transformers_version": "5.19.0" -} diff --git a/gemma-3-12b-pt-ipo-sc/step-700/model.safetensors b/gemma-3-12b-pt-ipo-sc/step-700/model.safetensors deleted file mode 100644 index 2d6bab1fb90627d7dc5bd207c4d82e17b120e38d..0000000000000000000000000000000000000000 --- a/gemma-3-12b-pt-ipo-sc/step-700/model.safetensors +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:28126bbb4962563f5267f3b446e9c3b59233c6c4831ed314cb3b8dc24b409838 -size 23532142208 diff --git a/gemma-3-12b-pt-ipo-sc/step-700/tokenizer.json b/gemma-3-12b-pt-ipo-sc/step-700/tokenizer.json deleted file mode 100644 index f74d183147799f3fd56768db82b27473f0e09a1d..0000000000000000000000000000000000000000 --- a/gemma-3-12b-pt-ipo-sc/step-700/tokenizer.json +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:daab2354f8a74e70d70b4d1f804939b68a8c9624dd06cb7858e52dd8970e9726 -size 33384567 diff --git a/gemma-3-12b-pt-ipo-sc/step-700/tokenizer_config.json b/gemma-3-12b-pt-ipo-sc/step-700/tokenizer_config.json deleted file mode 100644 index bddb9cbedd089851549fd4b701ea155671c9f84a..0000000000000000000000000000000000000000 --- a/gemma-3-12b-pt-ipo-sc/step-700/tokenizer_config.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "backend": "tokenizers", - "boi_token": "", - "bos_token": "", - "clean_up_tokenization_spaces": false, - "eoi_token": "", - "eos_token": "", - "image_token": "", - "is_local": true, - "local_files_only": false, - "mask_token": "", - "model_max_length": 1000000000000000019884624838656, - "model_specific_special_tokens": { - "boi_token": "", - "eoi_token": "", - "image_token": "" - }, - "pad_token": "", - "processor_class": "Gemma3Processor", - "sp_model_kwargs": null, - "spaces_between_special_tokens": false, - "tokenizer_class": "GemmaTokenizer", - "unk_token": "", - "use_default_system_prompt": false -} diff --git a/llama-3.1-8b-instruct-ipo-sc-chat/step-100/chat_template.jinja b/llama-3.1-8b-instruct-ipo-sc-chat/step-100/chat_template.jinja deleted file mode 100644 index 33089ace1be88f22a10fe861ad49718d5d886090..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-instruct-ipo-sc-chat/step-100/chat_template.jinja +++ /dev/null @@ -1,109 +0,0 @@ -{{- bos_token }} -{%- if custom_tools is defined %} - {%- set tools = custom_tools %} -{%- endif %} -{%- if not tools_in_user_message is defined %} - {%- set tools_in_user_message = true %} -{%- endif %} -{%- if not date_string is defined %} - {%- set date_string = "26 Jul 2024" %} -{%- endif %} -{%- if not tools is defined %} - {%- set tools = none %} -{%- endif %} - -{#- This block extracts the system message, so we can slot it into the right place. #} -{%- if messages[0]['role'] == 'system' %} - {%- set system_message = messages[0]['content']|trim %} - {%- set messages = messages[1:] %} -{%- else %} - {%- set system_message = "" %} -{%- endif %} - -{#- System message + builtin tools #} -{{- "<|start_header_id|>system<|end_header_id|>\n\n" }} -{%- if builtin_tools is defined or tools is not none %} - {{- "Environment: ipython\n" }} -{%- endif %} -{%- if builtin_tools is defined %} - {{- "Tools: " + builtin_tools | reject('equalto', 'code_interpreter') | join(", ") + "\n\n"}} -{%- endif %} -{{- "Cutting Knowledge Date: December 2023\n" }} -{{- "Today Date: " + date_string + "\n\n" }} -{%- if tools is not none and not tools_in_user_message %} - {{- "You have access to the following functions. To call a function, please respond with JSON for a function call." }} - {{- 'Respond in the format {"name": function name, "parameters": dictionary of argument name and its value}.' }} - {{- "Do not use variables.\n\n" }} - {%- for t in tools %} - {{- t | tojson(indent=4) }} - {{- "\n\n" }} - {%- endfor %} -{%- endif %} -{{- system_message }} -{{- "<|eot_id|>" }} - -{#- Custom tools are passed in a user message with some extra guidance #} -{%- if tools_in_user_message and not tools is none %} - {#- Extract the first user message so we can plug it in here #} - {%- if messages | length != 0 %} - {%- set first_user_message = messages[0]['content']|trim %} - {%- set messages = messages[1:] %} - {%- else %} - {{- raise_exception("Cannot put tools in the first user message when there's no first user message!") }} -{%- endif %} - {{- '<|start_header_id|>user<|end_header_id|>\n\n' -}} - {{- "Given the following functions, please respond with a JSON for a function call " }} - {{- "with its proper arguments that best answers the given prompt.\n\n" }} - {{- 'Respond in the format {"name": function name, "parameters": dictionary of argument name and its value}.' }} - {{- "Do not use variables.\n\n" }} - {%- for t in tools %} - {{- t | tojson(indent=4) }} - {{- "\n\n" }} - {%- endfor %} - {{- first_user_message + "<|eot_id|>"}} -{%- endif %} - -{%- for message in messages %} - {%- if not (message.role == 'ipython' or message.role == 'tool' or 'tool_calls' in message) %} - {{- '<|start_header_id|>' + message['role'] + '<|end_header_id|>\n\n'+ message['content'] | trim + '<|eot_id|>' }} - {%- elif 'tool_calls' in message %} - {%- if not message.tool_calls|length == 1 %} - {{- raise_exception("This model only supports single tool-calls at once!") }} - {%- endif %} - {%- set tool_call = message.tool_calls[0].function %} - {%- if builtin_tools is defined and tool_call.name in builtin_tools %} - {{- '<|start_header_id|>assistant<|end_header_id|>\n\n' -}} - {{- "<|python_tag|>" + tool_call.name + ".call(" }} - {%- for arg_name, arg_val in tool_call.arguments | items %} - {{- arg_name + '="' + arg_val + '"' }} - {%- if not loop.last %} - {{- ", " }} - {%- endif %} - {%- endfor %} - {{- ")" }} - {%- else %} - {{- '<|start_header_id|>assistant<|end_header_id|>\n\n' -}} - {{- '{"name": "' + tool_call.name + '", ' }} - {{- '"parameters": ' }} - {{- tool_call.arguments | tojson }} - {{- "}" }} - {%- endif %} - {%- if builtin_tools is defined %} - {#- This means we're in ipython mode #} - {{- "<|eom_id|>" }} - {%- else %} - {{- "<|eot_id|>" }} - {%- endif %} - {%- elif message.role == "tool" or message.role == "ipython" %} - {{- "<|start_header_id|>ipython<|end_header_id|>\n\n" }} - {%- if message.content is mapping or message.content is iterable %} - {{- message.content | tojson }} - {%- else %} - {{- message.content }} - {%- endif %} - {{- "<|eot_id|>" }} - {%- endif %} -{%- endfor %} -{%- if add_generation_prompt %} - {{- '<|start_header_id|>assistant<|end_header_id|>\n\n' }} -{%- endif %} diff --git a/llama-3.1-8b-instruct-ipo-sc-chat/step-100/config.json b/llama-3.1-8b-instruct-ipo-sc-chat/step-100/config.json deleted file mode 100644 index e66dd8ff2fca3402ecaa39fbd7f6e351afd61b93..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-instruct-ipo-sc-chat/step-100/config.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "architectures": [ - "LlamaForCausalLM" - ], - "attention_bias": false, - "attention_dropout": 0.0, - "bos_token_id": 128000, - "dtype": "bfloat16", - "eos_token_id": 128009, - "head_dim": 128, - "hidden_act": "silu", - "hidden_size": 4096, - "initializer_range": 0.02, - "intermediate_size": 14336, - "max_position_embeddings": 131072, - "mlp_bias": false, - "model_type": "llama", - "num_attention_heads": 32, - "num_hidden_layers": 32, - "num_key_value_heads": 8, - "pad_token_id": 128009, - "pretraining_tp": 1, - "rms_norm_eps": 1e-05, - "rope_parameters": { - "factor": 8.0, - "high_freq_factor": 4.0, - "low_freq_factor": 1.0, - "original_max_position_embeddings": 8192, - "rope_theta": 500000.0, - "rope_type": "llama3" - }, - "tie_word_embeddings": false, - "transformers_version": "5.19.0", - "use_cache": true, - "vocab_size": 128256 -} diff --git a/llama-3.1-8b-instruct-ipo-sc-chat/step-100/generation_config.json b/llama-3.1-8b-instruct-ipo-sc-chat/step-100/generation_config.json deleted file mode 100644 index 6fe800e309868d108899cb3ae4122fbe4e7cc466..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-instruct-ipo-sc-chat/step-100/generation_config.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "bos_token_id": 128000, - "do_sample": true, - "eos_token_id": [ - 128001, - 128008, - 128009 - ], - "temperature": 0.6, - "top_p": 0.9, - "transformers_version": "5.19.0" -} diff --git a/llama-3.1-8b-instruct-ipo-sc-chat/step-100/model.safetensors b/llama-3.1-8b-instruct-ipo-sc-chat/step-100/model.safetensors deleted file mode 100644 index 5143857dbb3324ed60cfdd967f559952c39195bf..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-instruct-ipo-sc-chat/step-100/model.safetensors +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:059d110eb716642c74a2933356c259fb88f5d84a5e17a24db6f30e8da929ce14 -size 16060556616 diff --git a/llama-3.1-8b-instruct-ipo-sc-chat/step-100/tokenizer.json b/llama-3.1-8b-instruct-ipo-sc-chat/step-100/tokenizer.json deleted file mode 100644 index 1c1d8d5c9024994f1d3b00f9662b8dd89ca13cf2..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-instruct-ipo-sc-chat/step-100/tokenizer.json +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b -size 17209920 diff --git a/llama-3.1-8b-instruct-ipo-sc-chat/step-100/tokenizer_config.json b/llama-3.1-8b-instruct-ipo-sc-chat/step-100/tokenizer_config.json deleted file mode 100644 index 9981e7e8eee4645815899e27078d6b2a49fadc10..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-instruct-ipo-sc-chat/step-100/tokenizer_config.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "backend": "tokenizers", - "bos_token": "<|begin_of_text|>", - "clean_up_tokenization_spaces": true, - "eos_token": "<|eot_id|>", - "is_local": true, - "local_files_only": false, - "model_input_names": [ - "input_ids", - "attention_mask" - ], - "model_max_length": 131072, - "pad_token": "<|eot_id|>", - "tokenizer_class": "TokenizersBackend" -} diff --git a/llama-3.1-8b-instruct-ipo-sc-chat/step-200/chat_template.jinja b/llama-3.1-8b-instruct-ipo-sc-chat/step-200/chat_template.jinja deleted file mode 100644 index 33089ace1be88f22a10fe861ad49718d5d886090..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-instruct-ipo-sc-chat/step-200/chat_template.jinja +++ /dev/null @@ -1,109 +0,0 @@ -{{- bos_token }} -{%- if custom_tools is defined %} - {%- set tools = custom_tools %} -{%- endif %} -{%- if not tools_in_user_message is defined %} - {%- set tools_in_user_message = true %} -{%- endif %} -{%- if not date_string is defined %} - {%- set date_string = "26 Jul 2024" %} -{%- endif %} -{%- if not tools is defined %} - {%- set tools = none %} -{%- endif %} - -{#- This block extracts the system message, so we can slot it into the right place. #} -{%- if messages[0]['role'] == 'system' %} - {%- set system_message = messages[0]['content']|trim %} - {%- set messages = messages[1:] %} -{%- else %} - {%- set system_message = "" %} -{%- endif %} - -{#- System message + builtin tools #} -{{- "<|start_header_id|>system<|end_header_id|>\n\n" }} -{%- if builtin_tools is defined or tools is not none %} - {{- "Environment: ipython\n" }} -{%- endif %} -{%- if builtin_tools is defined %} - {{- "Tools: " + builtin_tools | reject('equalto', 'code_interpreter') | join(", ") + "\n\n"}} -{%- endif %} -{{- "Cutting Knowledge Date: December 2023\n" }} -{{- "Today Date: " + date_string + "\n\n" }} -{%- if tools is not none and not tools_in_user_message %} - {{- "You have access to the following functions. To call a function, please respond with JSON for a function call." }} - {{- 'Respond in the format {"name": function name, "parameters": dictionary of argument name and its value}.' }} - {{- "Do not use variables.\n\n" }} - {%- for t in tools %} - {{- t | tojson(indent=4) }} - {{- "\n\n" }} - {%- endfor %} -{%- endif %} -{{- system_message }} -{{- "<|eot_id|>" }} - -{#- Custom tools are passed in a user message with some extra guidance #} -{%- if tools_in_user_message and not tools is none %} - {#- Extract the first user message so we can plug it in here #} - {%- if messages | length != 0 %} - {%- set first_user_message = messages[0]['content']|trim %} - {%- set messages = messages[1:] %} - {%- else %} - {{- raise_exception("Cannot put tools in the first user message when there's no first user message!") }} -{%- endif %} - {{- '<|start_header_id|>user<|end_header_id|>\n\n' -}} - {{- "Given the following functions, please respond with a JSON for a function call " }} - {{- "with its proper arguments that best answers the given prompt.\n\n" }} - {{- 'Respond in the format {"name": function name, "parameters": dictionary of argument name and its value}.' }} - {{- "Do not use variables.\n\n" }} - {%- for t in tools %} - {{- t | tojson(indent=4) }} - {{- "\n\n" }} - {%- endfor %} - {{- first_user_message + "<|eot_id|>"}} -{%- endif %} - -{%- for message in messages %} - {%- if not (message.role == 'ipython' or message.role == 'tool' or 'tool_calls' in message) %} - {{- '<|start_header_id|>' + message['role'] + '<|end_header_id|>\n\n'+ message['content'] | trim + '<|eot_id|>' }} - {%- elif 'tool_calls' in message %} - {%- if not message.tool_calls|length == 1 %} - {{- raise_exception("This model only supports single tool-calls at once!") }} - {%- endif %} - {%- set tool_call = message.tool_calls[0].function %} - {%- if builtin_tools is defined and tool_call.name in builtin_tools %} - {{- '<|start_header_id|>assistant<|end_header_id|>\n\n' -}} - {{- "<|python_tag|>" + tool_call.name + ".call(" }} - {%- for arg_name, arg_val in tool_call.arguments | items %} - {{- arg_name + '="' + arg_val + '"' }} - {%- if not loop.last %} - {{- ", " }} - {%- endif %} - {%- endfor %} - {{- ")" }} - {%- else %} - {{- '<|start_header_id|>assistant<|end_header_id|>\n\n' -}} - {{- '{"name": "' + tool_call.name + '", ' }} - {{- '"parameters": ' }} - {{- tool_call.arguments | tojson }} - {{- "}" }} - {%- endif %} - {%- if builtin_tools is defined %} - {#- This means we're in ipython mode #} - {{- "<|eom_id|>" }} - {%- else %} - {{- "<|eot_id|>" }} - {%- endif %} - {%- elif message.role == "tool" or message.role == "ipython" %} - {{- "<|start_header_id|>ipython<|end_header_id|>\n\n" }} - {%- if message.content is mapping or message.content is iterable %} - {{- message.content | tojson }} - {%- else %} - {{- message.content }} - {%- endif %} - {{- "<|eot_id|>" }} - {%- endif %} -{%- endfor %} -{%- if add_generation_prompt %} - {{- '<|start_header_id|>assistant<|end_header_id|>\n\n' }} -{%- endif %} diff --git a/llama-3.1-8b-instruct-ipo-sc-chat/step-200/config.json b/llama-3.1-8b-instruct-ipo-sc-chat/step-200/config.json deleted file mode 100644 index e66dd8ff2fca3402ecaa39fbd7f6e351afd61b93..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-instruct-ipo-sc-chat/step-200/config.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "architectures": [ - "LlamaForCausalLM" - ], - "attention_bias": false, - "attention_dropout": 0.0, - "bos_token_id": 128000, - "dtype": "bfloat16", - "eos_token_id": 128009, - "head_dim": 128, - "hidden_act": "silu", - "hidden_size": 4096, - "initializer_range": 0.02, - "intermediate_size": 14336, - "max_position_embeddings": 131072, - "mlp_bias": false, - "model_type": "llama", - "num_attention_heads": 32, - "num_hidden_layers": 32, - "num_key_value_heads": 8, - "pad_token_id": 128009, - "pretraining_tp": 1, - "rms_norm_eps": 1e-05, - "rope_parameters": { - "factor": 8.0, - "high_freq_factor": 4.0, - "low_freq_factor": 1.0, - "original_max_position_embeddings": 8192, - "rope_theta": 500000.0, - "rope_type": "llama3" - }, - "tie_word_embeddings": false, - "transformers_version": "5.19.0", - "use_cache": true, - "vocab_size": 128256 -} diff --git a/llama-3.1-8b-instruct-ipo-sc-chat/step-200/generation_config.json b/llama-3.1-8b-instruct-ipo-sc-chat/step-200/generation_config.json deleted file mode 100644 index 6fe800e309868d108899cb3ae4122fbe4e7cc466..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-instruct-ipo-sc-chat/step-200/generation_config.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "bos_token_id": 128000, - "do_sample": true, - "eos_token_id": [ - 128001, - 128008, - 128009 - ], - "temperature": 0.6, - "top_p": 0.9, - "transformers_version": "5.19.0" -} diff --git a/llama-3.1-8b-instruct-ipo-sc-chat/step-200/model.safetensors b/llama-3.1-8b-instruct-ipo-sc-chat/step-200/model.safetensors deleted file mode 100644 index 606a3575df6fd146626ad8eb5d7d380c064320bb..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-instruct-ipo-sc-chat/step-200/model.safetensors +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e163407a9063f9c083b044e3612ca7236a1e5792f453de93651868ca6e4dd59d -size 16060556616 diff --git a/llama-3.1-8b-instruct-ipo-sc-chat/step-200/tokenizer.json b/llama-3.1-8b-instruct-ipo-sc-chat/step-200/tokenizer.json deleted file mode 100644 index 1c1d8d5c9024994f1d3b00f9662b8dd89ca13cf2..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-instruct-ipo-sc-chat/step-200/tokenizer.json +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b -size 17209920 diff --git a/llama-3.1-8b-instruct-ipo-sc-chat/step-200/tokenizer_config.json b/llama-3.1-8b-instruct-ipo-sc-chat/step-200/tokenizer_config.json deleted file mode 100644 index 9981e7e8eee4645815899e27078d6b2a49fadc10..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-instruct-ipo-sc-chat/step-200/tokenizer_config.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "backend": "tokenizers", - "bos_token": "<|begin_of_text|>", - "clean_up_tokenization_spaces": true, - "eos_token": "<|eot_id|>", - "is_local": true, - "local_files_only": false, - "model_input_names": [ - "input_ids", - "attention_mask" - ], - "model_max_length": 131072, - "pad_token": "<|eot_id|>", - "tokenizer_class": "TokenizersBackend" -} diff --git a/llama-3.1-8b-ipo-sc/step-100/chat_template.jinja b/llama-3.1-8b-ipo-sc/step-100/chat_template.jinja deleted file mode 100644 index 3393a712d604ac21c6dae36d5a70b267e048d709..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-100/chat_template.jinja +++ /dev/null @@ -1 +0,0 @@ -{{ bos_token or '' }}{% for m in messages %}{{ m['content'] }}{% endfor %} \ No newline at end of file diff --git a/llama-3.1-8b-ipo-sc/step-100/config.json b/llama-3.1-8b-ipo-sc/step-100/config.json deleted file mode 100644 index 31c14ed60b53e4acd82a6ffd527a8ce846fd8d08..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-100/config.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "architectures": [ - "LlamaForCausalLM" - ], - "attention_bias": false, - "attention_dropout": 0.0, - "bos_token_id": 128000, - "dtype": "bfloat16", - "eos_token_id": 128001, - "head_dim": 128, - "hidden_act": "silu", - "hidden_size": 4096, - "initializer_range": 0.02, - "intermediate_size": 14336, - "max_position_embeddings": 131072, - "mlp_bias": false, - "model_type": "llama", - "num_attention_heads": 32, - "num_hidden_layers": 32, - "num_key_value_heads": 8, - "pad_token_id": 128001, - "pretraining_tp": 1, - "rms_norm_eps": 1e-05, - "rope_parameters": { - "factor": 8.0, - "high_freq_factor": 4.0, - "low_freq_factor": 1.0, - "original_max_position_embeddings": 8192, - "rope_theta": 500000.0, - "rope_type": "llama3" - }, - "tie_word_embeddings": false, - "transformers_version": "5.19.0", - "use_cache": true, - "vocab_size": 128256 -} diff --git a/llama-3.1-8b-ipo-sc/step-100/generation_config.json b/llama-3.1-8b-ipo-sc/step-100/generation_config.json deleted file mode 100644 index 8a4c0058f5416bf93817bc74d8993fb42b5ea8e2..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-100/generation_config.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "_from_model_config": true, - "bos_token_id": 128000, - "do_sample": true, - "eos_token_id": 128001, - "temperature": 0.6, - "top_p": 0.9, - "transformers_version": "5.19.0" -} diff --git a/llama-3.1-8b-ipo-sc/step-100/model.safetensors b/llama-3.1-8b-ipo-sc/step-100/model.safetensors deleted file mode 100644 index fe9fc0aeba7e3859082d88ee8d9fe79fa10f0282..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-100/model.safetensors +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1d38e994246223c1acc22f4925620143ddeaa0d70f9b852de84d9d50f3fce263 -size 16060556616 diff --git a/llama-3.1-8b-ipo-sc/step-100/tokenizer.json b/llama-3.1-8b-ipo-sc/step-100/tokenizer.json deleted file mode 100644 index 1c1d8d5c9024994f1d3b00f9662b8dd89ca13cf2..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-100/tokenizer.json +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b -size 17209920 diff --git a/llama-3.1-8b-ipo-sc/step-100/tokenizer_config.json b/llama-3.1-8b-ipo-sc/step-100/tokenizer_config.json deleted file mode 100644 index 317f802f346524017fb0c37dc646beb3dd6a09f8..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-100/tokenizer_config.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "backend": "tokenizers", - "bos_token": "<|begin_of_text|>", - "clean_up_tokenization_spaces": true, - "eos_token": "<|end_of_text|>", - "is_local": true, - "local_files_only": false, - "model_input_names": [ - "input_ids", - "attention_mask" - ], - "model_max_length": 131072, - "pad_token": "<|end_of_text|>", - "tokenizer_class": "TokenizersBackend" -} diff --git a/llama-3.1-8b-ipo-sc/step-1000/chat_template.jinja b/llama-3.1-8b-ipo-sc/step-1000/chat_template.jinja deleted file mode 100644 index 3393a712d604ac21c6dae36d5a70b267e048d709..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-1000/chat_template.jinja +++ /dev/null @@ -1 +0,0 @@ -{{ bos_token or '' }}{% for m in messages %}{{ m['content'] }}{% endfor %} \ No newline at end of file diff --git a/llama-3.1-8b-ipo-sc/step-1000/config.json b/llama-3.1-8b-ipo-sc/step-1000/config.json deleted file mode 100644 index 31c14ed60b53e4acd82a6ffd527a8ce846fd8d08..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-1000/config.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "architectures": [ - "LlamaForCausalLM" - ], - "attention_bias": false, - "attention_dropout": 0.0, - "bos_token_id": 128000, - "dtype": "bfloat16", - "eos_token_id": 128001, - "head_dim": 128, - "hidden_act": "silu", - "hidden_size": 4096, - "initializer_range": 0.02, - "intermediate_size": 14336, - "max_position_embeddings": 131072, - "mlp_bias": false, - "model_type": "llama", - "num_attention_heads": 32, - "num_hidden_layers": 32, - "num_key_value_heads": 8, - "pad_token_id": 128001, - "pretraining_tp": 1, - "rms_norm_eps": 1e-05, - "rope_parameters": { - "factor": 8.0, - "high_freq_factor": 4.0, - "low_freq_factor": 1.0, - "original_max_position_embeddings": 8192, - "rope_theta": 500000.0, - "rope_type": "llama3" - }, - "tie_word_embeddings": false, - "transformers_version": "5.19.0", - "use_cache": true, - "vocab_size": 128256 -} diff --git a/llama-3.1-8b-ipo-sc/step-1000/generation_config.json b/llama-3.1-8b-ipo-sc/step-1000/generation_config.json deleted file mode 100644 index 8a4c0058f5416bf93817bc74d8993fb42b5ea8e2..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-1000/generation_config.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "_from_model_config": true, - "bos_token_id": 128000, - "do_sample": true, - "eos_token_id": 128001, - "temperature": 0.6, - "top_p": 0.9, - "transformers_version": "5.19.0" -} diff --git a/llama-3.1-8b-ipo-sc/step-1000/model.safetensors b/llama-3.1-8b-ipo-sc/step-1000/model.safetensors deleted file mode 100644 index 6e28b17cc896ef2338421ae34ed78ead17624268..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-1000/model.safetensors +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e6a8c7cfcdac11806fc8e301224df7269c4d34f740c6131c54fe02cbe351a5b9 -size 16060556616 diff --git a/llama-3.1-8b-ipo-sc/step-1000/tokenizer.json b/llama-3.1-8b-ipo-sc/step-1000/tokenizer.json deleted file mode 100644 index 1c1d8d5c9024994f1d3b00f9662b8dd89ca13cf2..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-1000/tokenizer.json +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b -size 17209920 diff --git a/llama-3.1-8b-ipo-sc/step-1000/tokenizer_config.json b/llama-3.1-8b-ipo-sc/step-1000/tokenizer_config.json deleted file mode 100644 index 317f802f346524017fb0c37dc646beb3dd6a09f8..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-1000/tokenizer_config.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "backend": "tokenizers", - "bos_token": "<|begin_of_text|>", - "clean_up_tokenization_spaces": true, - "eos_token": "<|end_of_text|>", - "is_local": true, - "local_files_only": false, - "model_input_names": [ - "input_ids", - "attention_mask" - ], - "model_max_length": 131072, - "pad_token": "<|end_of_text|>", - "tokenizer_class": "TokenizersBackend" -} diff --git a/llama-3.1-8b-ipo-sc/step-200/chat_template.jinja b/llama-3.1-8b-ipo-sc/step-200/chat_template.jinja deleted file mode 100644 index 3393a712d604ac21c6dae36d5a70b267e048d709..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-200/chat_template.jinja +++ /dev/null @@ -1 +0,0 @@ -{{ bos_token or '' }}{% for m in messages %}{{ m['content'] }}{% endfor %} \ No newline at end of file diff --git a/llama-3.1-8b-ipo-sc/step-200/config.json b/llama-3.1-8b-ipo-sc/step-200/config.json deleted file mode 100644 index 31c14ed60b53e4acd82a6ffd527a8ce846fd8d08..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-200/config.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "architectures": [ - "LlamaForCausalLM" - ], - "attention_bias": false, - "attention_dropout": 0.0, - "bos_token_id": 128000, - "dtype": "bfloat16", - "eos_token_id": 128001, - "head_dim": 128, - "hidden_act": "silu", - "hidden_size": 4096, - "initializer_range": 0.02, - "intermediate_size": 14336, - "max_position_embeddings": 131072, - "mlp_bias": false, - "model_type": "llama", - "num_attention_heads": 32, - "num_hidden_layers": 32, - "num_key_value_heads": 8, - "pad_token_id": 128001, - "pretraining_tp": 1, - "rms_norm_eps": 1e-05, - "rope_parameters": { - "factor": 8.0, - "high_freq_factor": 4.0, - "low_freq_factor": 1.0, - "original_max_position_embeddings": 8192, - "rope_theta": 500000.0, - "rope_type": "llama3" - }, - "tie_word_embeddings": false, - "transformers_version": "5.19.0", - "use_cache": true, - "vocab_size": 128256 -} diff --git a/llama-3.1-8b-ipo-sc/step-200/generation_config.json b/llama-3.1-8b-ipo-sc/step-200/generation_config.json deleted file mode 100644 index 8a4c0058f5416bf93817bc74d8993fb42b5ea8e2..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-200/generation_config.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "_from_model_config": true, - "bos_token_id": 128000, - "do_sample": true, - "eos_token_id": 128001, - "temperature": 0.6, - "top_p": 0.9, - "transformers_version": "5.19.0" -} diff --git a/llama-3.1-8b-ipo-sc/step-200/model.safetensors b/llama-3.1-8b-ipo-sc/step-200/model.safetensors deleted file mode 100644 index 15dc70cbf2ca84fffaf7b6d6de85b78f0b6342d2..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-200/model.safetensors +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:54854c30bfb67768d3f4be8bdef8283a67fc4d0536d6a2e50ec0a5e52fb28da4 -size 16060556616 diff --git a/llama-3.1-8b-ipo-sc/step-200/tokenizer.json b/llama-3.1-8b-ipo-sc/step-200/tokenizer.json deleted file mode 100644 index 1c1d8d5c9024994f1d3b00f9662b8dd89ca13cf2..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-200/tokenizer.json +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b -size 17209920 diff --git a/llama-3.1-8b-ipo-sc/step-200/tokenizer_config.json b/llama-3.1-8b-ipo-sc/step-200/tokenizer_config.json deleted file mode 100644 index 317f802f346524017fb0c37dc646beb3dd6a09f8..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-200/tokenizer_config.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "backend": "tokenizers", - "bos_token": "<|begin_of_text|>", - "clean_up_tokenization_spaces": true, - "eos_token": "<|end_of_text|>", - "is_local": true, - "local_files_only": false, - "model_input_names": [ - "input_ids", - "attention_mask" - ], - "model_max_length": 131072, - "pad_token": "<|end_of_text|>", - "tokenizer_class": "TokenizersBackend" -} diff --git a/llama-3.1-8b-ipo-sc/step-300/chat_template.jinja b/llama-3.1-8b-ipo-sc/step-300/chat_template.jinja deleted file mode 100644 index 3393a712d604ac21c6dae36d5a70b267e048d709..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-300/chat_template.jinja +++ /dev/null @@ -1 +0,0 @@ -{{ bos_token or '' }}{% for m in messages %}{{ m['content'] }}{% endfor %} \ No newline at end of file diff --git a/llama-3.1-8b-ipo-sc/step-300/config.json b/llama-3.1-8b-ipo-sc/step-300/config.json deleted file mode 100644 index 31c14ed60b53e4acd82a6ffd527a8ce846fd8d08..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-300/config.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "architectures": [ - "LlamaForCausalLM" - ], - "attention_bias": false, - "attention_dropout": 0.0, - "bos_token_id": 128000, - "dtype": "bfloat16", - "eos_token_id": 128001, - "head_dim": 128, - "hidden_act": "silu", - "hidden_size": 4096, - "initializer_range": 0.02, - "intermediate_size": 14336, - "max_position_embeddings": 131072, - "mlp_bias": false, - "model_type": "llama", - "num_attention_heads": 32, - "num_hidden_layers": 32, - "num_key_value_heads": 8, - "pad_token_id": 128001, - "pretraining_tp": 1, - "rms_norm_eps": 1e-05, - "rope_parameters": { - "factor": 8.0, - "high_freq_factor": 4.0, - "low_freq_factor": 1.0, - "original_max_position_embeddings": 8192, - "rope_theta": 500000.0, - "rope_type": "llama3" - }, - "tie_word_embeddings": false, - "transformers_version": "5.19.0", - "use_cache": true, - "vocab_size": 128256 -} diff --git a/llama-3.1-8b-ipo-sc/step-300/generation_config.json b/llama-3.1-8b-ipo-sc/step-300/generation_config.json deleted file mode 100644 index 8a4c0058f5416bf93817bc74d8993fb42b5ea8e2..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-300/generation_config.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "_from_model_config": true, - "bos_token_id": 128000, - "do_sample": true, - "eos_token_id": 128001, - "temperature": 0.6, - "top_p": 0.9, - "transformers_version": "5.19.0" -} diff --git a/llama-3.1-8b-ipo-sc/step-300/model.safetensors b/llama-3.1-8b-ipo-sc/step-300/model.safetensors deleted file mode 100644 index 95d6b39b15394ad91c950eba4454c260a42a5dad..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-300/model.safetensors +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:102c2f6a4c4f1381bc1928705bdaf01eb9c5d66b9cd8a3be3fae891c0aa9a0d6 -size 16060556616 diff --git a/llama-3.1-8b-ipo-sc/step-300/tokenizer.json b/llama-3.1-8b-ipo-sc/step-300/tokenizer.json deleted file mode 100644 index 1c1d8d5c9024994f1d3b00f9662b8dd89ca13cf2..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-300/tokenizer.json +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b -size 17209920 diff --git a/llama-3.1-8b-ipo-sc/step-300/tokenizer_config.json b/llama-3.1-8b-ipo-sc/step-300/tokenizer_config.json deleted file mode 100644 index 317f802f346524017fb0c37dc646beb3dd6a09f8..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-300/tokenizer_config.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "backend": "tokenizers", - "bos_token": "<|begin_of_text|>", - "clean_up_tokenization_spaces": true, - "eos_token": "<|end_of_text|>", - "is_local": true, - "local_files_only": false, - "model_input_names": [ - "input_ids", - "attention_mask" - ], - "model_max_length": 131072, - "pad_token": "<|end_of_text|>", - "tokenizer_class": "TokenizersBackend" -} diff --git a/llama-3.1-8b-ipo-sc/step-400/chat_template.jinja b/llama-3.1-8b-ipo-sc/step-400/chat_template.jinja deleted file mode 100644 index 3393a712d604ac21c6dae36d5a70b267e048d709..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-400/chat_template.jinja +++ /dev/null @@ -1 +0,0 @@ -{{ bos_token or '' }}{% for m in messages %}{{ m['content'] }}{% endfor %} \ No newline at end of file diff --git a/llama-3.1-8b-ipo-sc/step-400/config.json b/llama-3.1-8b-ipo-sc/step-400/config.json deleted file mode 100644 index 31c14ed60b53e4acd82a6ffd527a8ce846fd8d08..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-400/config.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "architectures": [ - "LlamaForCausalLM" - ], - "attention_bias": false, - "attention_dropout": 0.0, - "bos_token_id": 128000, - "dtype": "bfloat16", - "eos_token_id": 128001, - "head_dim": 128, - "hidden_act": "silu", - "hidden_size": 4096, - "initializer_range": 0.02, - "intermediate_size": 14336, - "max_position_embeddings": 131072, - "mlp_bias": false, - "model_type": "llama", - "num_attention_heads": 32, - "num_hidden_layers": 32, - "num_key_value_heads": 8, - "pad_token_id": 128001, - "pretraining_tp": 1, - "rms_norm_eps": 1e-05, - "rope_parameters": { - "factor": 8.0, - "high_freq_factor": 4.0, - "low_freq_factor": 1.0, - "original_max_position_embeddings": 8192, - "rope_theta": 500000.0, - "rope_type": "llama3" - }, - "tie_word_embeddings": false, - "transformers_version": "5.19.0", - "use_cache": true, - "vocab_size": 128256 -} diff --git a/llama-3.1-8b-ipo-sc/step-400/generation_config.json b/llama-3.1-8b-ipo-sc/step-400/generation_config.json deleted file mode 100644 index 8a4c0058f5416bf93817bc74d8993fb42b5ea8e2..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-400/generation_config.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "_from_model_config": true, - "bos_token_id": 128000, - "do_sample": true, - "eos_token_id": 128001, - "temperature": 0.6, - "top_p": 0.9, - "transformers_version": "5.19.0" -} diff --git a/llama-3.1-8b-ipo-sc/step-400/model.safetensors b/llama-3.1-8b-ipo-sc/step-400/model.safetensors deleted file mode 100644 index 1e646dfff33b4b467bdd62b2d714ed9cc52363fd..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-400/model.safetensors +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e73e91461aae2469ad3f381ed7033d32e3e22bb6e0983e38d7605511c87a4980 -size 16060556616 diff --git a/llama-3.1-8b-ipo-sc/step-400/tokenizer.json b/llama-3.1-8b-ipo-sc/step-400/tokenizer.json deleted file mode 100644 index 1c1d8d5c9024994f1d3b00f9662b8dd89ca13cf2..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-400/tokenizer.json +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b -size 17209920 diff --git a/llama-3.1-8b-ipo-sc/step-400/tokenizer_config.json b/llama-3.1-8b-ipo-sc/step-400/tokenizer_config.json deleted file mode 100644 index 317f802f346524017fb0c37dc646beb3dd6a09f8..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-400/tokenizer_config.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "backend": "tokenizers", - "bos_token": "<|begin_of_text|>", - "clean_up_tokenization_spaces": true, - "eos_token": "<|end_of_text|>", - "is_local": true, - "local_files_only": false, - "model_input_names": [ - "input_ids", - "attention_mask" - ], - "model_max_length": 131072, - "pad_token": "<|end_of_text|>", - "tokenizer_class": "TokenizersBackend" -} diff --git a/llama-3.1-8b-ipo-sc/step-500/chat_template.jinja b/llama-3.1-8b-ipo-sc/step-500/chat_template.jinja deleted file mode 100644 index 3393a712d604ac21c6dae36d5a70b267e048d709..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-500/chat_template.jinja +++ /dev/null @@ -1 +0,0 @@ -{{ bos_token or '' }}{% for m in messages %}{{ m['content'] }}{% endfor %} \ No newline at end of file diff --git a/llama-3.1-8b-ipo-sc/step-500/config.json b/llama-3.1-8b-ipo-sc/step-500/config.json deleted file mode 100644 index 31c14ed60b53e4acd82a6ffd527a8ce846fd8d08..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-500/config.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "architectures": [ - "LlamaForCausalLM" - ], - "attention_bias": false, - "attention_dropout": 0.0, - "bos_token_id": 128000, - "dtype": "bfloat16", - "eos_token_id": 128001, - "head_dim": 128, - "hidden_act": "silu", - "hidden_size": 4096, - "initializer_range": 0.02, - "intermediate_size": 14336, - "max_position_embeddings": 131072, - "mlp_bias": false, - "model_type": "llama", - "num_attention_heads": 32, - "num_hidden_layers": 32, - "num_key_value_heads": 8, - "pad_token_id": 128001, - "pretraining_tp": 1, - "rms_norm_eps": 1e-05, - "rope_parameters": { - "factor": 8.0, - "high_freq_factor": 4.0, - "low_freq_factor": 1.0, - "original_max_position_embeddings": 8192, - "rope_theta": 500000.0, - "rope_type": "llama3" - }, - "tie_word_embeddings": false, - "transformers_version": "5.19.0", - "use_cache": true, - "vocab_size": 128256 -} diff --git a/llama-3.1-8b-ipo-sc/step-500/generation_config.json b/llama-3.1-8b-ipo-sc/step-500/generation_config.json deleted file mode 100644 index 8a4c0058f5416bf93817bc74d8993fb42b5ea8e2..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-500/generation_config.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "_from_model_config": true, - "bos_token_id": 128000, - "do_sample": true, - "eos_token_id": 128001, - "temperature": 0.6, - "top_p": 0.9, - "transformers_version": "5.19.0" -} diff --git a/llama-3.1-8b-ipo-sc/step-500/model.safetensors b/llama-3.1-8b-ipo-sc/step-500/model.safetensors deleted file mode 100644 index 625147b0752c5775afabcee5ed4c98aa3dcadc59..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-500/model.safetensors +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:616c7c80c5d32991ad69b534ef01b71b7703a138c04dfe3e1774ba6f46842d44 -size 16060556616 diff --git a/llama-3.1-8b-ipo-sc/step-500/tokenizer.json b/llama-3.1-8b-ipo-sc/step-500/tokenizer.json deleted file mode 100644 index 1c1d8d5c9024994f1d3b00f9662b8dd89ca13cf2..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-500/tokenizer.json +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b -size 17209920 diff --git a/llama-3.1-8b-ipo-sc/step-500/tokenizer_config.json b/llama-3.1-8b-ipo-sc/step-500/tokenizer_config.json deleted file mode 100644 index 317f802f346524017fb0c37dc646beb3dd6a09f8..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-500/tokenizer_config.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "backend": "tokenizers", - "bos_token": "<|begin_of_text|>", - "clean_up_tokenization_spaces": true, - "eos_token": "<|end_of_text|>", - "is_local": true, - "local_files_only": false, - "model_input_names": [ - "input_ids", - "attention_mask" - ], - "model_max_length": 131072, - "pad_token": "<|end_of_text|>", - "tokenizer_class": "TokenizersBackend" -} diff --git a/llama-3.1-8b-ipo-sc/step-600/chat_template.jinja b/llama-3.1-8b-ipo-sc/step-600/chat_template.jinja deleted file mode 100644 index 3393a712d604ac21c6dae36d5a70b267e048d709..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-600/chat_template.jinja +++ /dev/null @@ -1 +0,0 @@ -{{ bos_token or '' }}{% for m in messages %}{{ m['content'] }}{% endfor %} \ No newline at end of file diff --git a/llama-3.1-8b-ipo-sc/step-600/config.json b/llama-3.1-8b-ipo-sc/step-600/config.json deleted file mode 100644 index 31c14ed60b53e4acd82a6ffd527a8ce846fd8d08..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-600/config.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "architectures": [ - "LlamaForCausalLM" - ], - "attention_bias": false, - "attention_dropout": 0.0, - "bos_token_id": 128000, - "dtype": "bfloat16", - "eos_token_id": 128001, - "head_dim": 128, - "hidden_act": "silu", - "hidden_size": 4096, - "initializer_range": 0.02, - "intermediate_size": 14336, - "max_position_embeddings": 131072, - "mlp_bias": false, - "model_type": "llama", - "num_attention_heads": 32, - "num_hidden_layers": 32, - "num_key_value_heads": 8, - "pad_token_id": 128001, - "pretraining_tp": 1, - "rms_norm_eps": 1e-05, - "rope_parameters": { - "factor": 8.0, - "high_freq_factor": 4.0, - "low_freq_factor": 1.0, - "original_max_position_embeddings": 8192, - "rope_theta": 500000.0, - "rope_type": "llama3" - }, - "tie_word_embeddings": false, - "transformers_version": "5.19.0", - "use_cache": true, - "vocab_size": 128256 -} diff --git a/llama-3.1-8b-ipo-sc/step-600/generation_config.json b/llama-3.1-8b-ipo-sc/step-600/generation_config.json deleted file mode 100644 index 8a4c0058f5416bf93817bc74d8993fb42b5ea8e2..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-600/generation_config.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "_from_model_config": true, - "bos_token_id": 128000, - "do_sample": true, - "eos_token_id": 128001, - "temperature": 0.6, - "top_p": 0.9, - "transformers_version": "5.19.0" -} diff --git a/llama-3.1-8b-ipo-sc/step-600/model.safetensors b/llama-3.1-8b-ipo-sc/step-600/model.safetensors deleted file mode 100644 index 7acca75e7bfa26fe35e5fdd9ab86b9a337519398..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-600/model.safetensors +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:769f9a48774fb10492e16ae2e30492136c2de9e10062a6c1dd394e474fc24daa -size 16060556616 diff --git a/llama-3.1-8b-ipo-sc/step-600/tokenizer.json b/llama-3.1-8b-ipo-sc/step-600/tokenizer.json deleted file mode 100644 index 1c1d8d5c9024994f1d3b00f9662b8dd89ca13cf2..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-600/tokenizer.json +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b -size 17209920 diff --git a/llama-3.1-8b-ipo-sc/step-600/tokenizer_config.json b/llama-3.1-8b-ipo-sc/step-600/tokenizer_config.json deleted file mode 100644 index 317f802f346524017fb0c37dc646beb3dd6a09f8..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-600/tokenizer_config.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "backend": "tokenizers", - "bos_token": "<|begin_of_text|>", - "clean_up_tokenization_spaces": true, - "eos_token": "<|end_of_text|>", - "is_local": true, - "local_files_only": false, - "model_input_names": [ - "input_ids", - "attention_mask" - ], - "model_max_length": 131072, - "pad_token": "<|end_of_text|>", - "tokenizer_class": "TokenizersBackend" -} diff --git a/llama-3.1-8b-ipo-sc/step-700/chat_template.jinja b/llama-3.1-8b-ipo-sc/step-700/chat_template.jinja deleted file mode 100644 index 3393a712d604ac21c6dae36d5a70b267e048d709..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-700/chat_template.jinja +++ /dev/null @@ -1 +0,0 @@ -{{ bos_token or '' }}{% for m in messages %}{{ m['content'] }}{% endfor %} \ No newline at end of file diff --git a/llama-3.1-8b-ipo-sc/step-700/config.json b/llama-3.1-8b-ipo-sc/step-700/config.json deleted file mode 100644 index 31c14ed60b53e4acd82a6ffd527a8ce846fd8d08..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-700/config.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "architectures": [ - "LlamaForCausalLM" - ], - "attention_bias": false, - "attention_dropout": 0.0, - "bos_token_id": 128000, - "dtype": "bfloat16", - "eos_token_id": 128001, - "head_dim": 128, - "hidden_act": "silu", - "hidden_size": 4096, - "initializer_range": 0.02, - "intermediate_size": 14336, - "max_position_embeddings": 131072, - "mlp_bias": false, - "model_type": "llama", - "num_attention_heads": 32, - "num_hidden_layers": 32, - "num_key_value_heads": 8, - "pad_token_id": 128001, - "pretraining_tp": 1, - "rms_norm_eps": 1e-05, - "rope_parameters": { - "factor": 8.0, - "high_freq_factor": 4.0, - "low_freq_factor": 1.0, - "original_max_position_embeddings": 8192, - "rope_theta": 500000.0, - "rope_type": "llama3" - }, - "tie_word_embeddings": false, - "transformers_version": "5.19.0", - "use_cache": true, - "vocab_size": 128256 -} diff --git a/llama-3.1-8b-ipo-sc/step-700/generation_config.json b/llama-3.1-8b-ipo-sc/step-700/generation_config.json deleted file mode 100644 index 8a4c0058f5416bf93817bc74d8993fb42b5ea8e2..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-700/generation_config.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "_from_model_config": true, - "bos_token_id": 128000, - "do_sample": true, - "eos_token_id": 128001, - "temperature": 0.6, - "top_p": 0.9, - "transformers_version": "5.19.0" -} diff --git a/llama-3.1-8b-ipo-sc/step-700/model.safetensors b/llama-3.1-8b-ipo-sc/step-700/model.safetensors deleted file mode 100644 index 9a1f1609f71b47e8e840c49615870d48aa6801c4..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-700/model.safetensors +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0d57cfb165a5cb1c0d36f80fa4ed70746bed8b9a34779fc677021266bc65162a -size 16060556616 diff --git a/llama-3.1-8b-ipo-sc/step-700/tokenizer.json b/llama-3.1-8b-ipo-sc/step-700/tokenizer.json deleted file mode 100644 index 1c1d8d5c9024994f1d3b00f9662b8dd89ca13cf2..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-700/tokenizer.json +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b -size 17209920 diff --git a/llama-3.1-8b-ipo-sc/step-700/tokenizer_config.json b/llama-3.1-8b-ipo-sc/step-700/tokenizer_config.json deleted file mode 100644 index 317f802f346524017fb0c37dc646beb3dd6a09f8..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-700/tokenizer_config.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "backend": "tokenizers", - "bos_token": "<|begin_of_text|>", - "clean_up_tokenization_spaces": true, - "eos_token": "<|end_of_text|>", - "is_local": true, - "local_files_only": false, - "model_input_names": [ - "input_ids", - "attention_mask" - ], - "model_max_length": 131072, - "pad_token": "<|end_of_text|>", - "tokenizer_class": "TokenizersBackend" -} diff --git a/llama-3.1-8b-ipo-sc/step-800/chat_template.jinja b/llama-3.1-8b-ipo-sc/step-800/chat_template.jinja deleted file mode 100644 index 3393a712d604ac21c6dae36d5a70b267e048d709..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-800/chat_template.jinja +++ /dev/null @@ -1 +0,0 @@ -{{ bos_token or '' }}{% for m in messages %}{{ m['content'] }}{% endfor %} \ No newline at end of file diff --git a/llama-3.1-8b-ipo-sc/step-800/config.json b/llama-3.1-8b-ipo-sc/step-800/config.json deleted file mode 100644 index 31c14ed60b53e4acd82a6ffd527a8ce846fd8d08..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-800/config.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "architectures": [ - "LlamaForCausalLM" - ], - "attention_bias": false, - "attention_dropout": 0.0, - "bos_token_id": 128000, - "dtype": "bfloat16", - "eos_token_id": 128001, - "head_dim": 128, - "hidden_act": "silu", - "hidden_size": 4096, - "initializer_range": 0.02, - "intermediate_size": 14336, - "max_position_embeddings": 131072, - "mlp_bias": false, - "model_type": "llama", - "num_attention_heads": 32, - "num_hidden_layers": 32, - "num_key_value_heads": 8, - "pad_token_id": 128001, - "pretraining_tp": 1, - "rms_norm_eps": 1e-05, - "rope_parameters": { - "factor": 8.0, - "high_freq_factor": 4.0, - "low_freq_factor": 1.0, - "original_max_position_embeddings": 8192, - "rope_theta": 500000.0, - "rope_type": "llama3" - }, - "tie_word_embeddings": false, - "transformers_version": "5.19.0", - "use_cache": true, - "vocab_size": 128256 -} diff --git a/llama-3.1-8b-ipo-sc/step-800/generation_config.json b/llama-3.1-8b-ipo-sc/step-800/generation_config.json deleted file mode 100644 index 8a4c0058f5416bf93817bc74d8993fb42b5ea8e2..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-800/generation_config.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "_from_model_config": true, - "bos_token_id": 128000, - "do_sample": true, - "eos_token_id": 128001, - "temperature": 0.6, - "top_p": 0.9, - "transformers_version": "5.19.0" -} diff --git a/llama-3.1-8b-ipo-sc/step-800/model.safetensors b/llama-3.1-8b-ipo-sc/step-800/model.safetensors deleted file mode 100644 index b0a38ef8ef2e981f59d690e7cc618413a1a89c42..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-800/model.safetensors +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0a4b91e039fef86d4577846b892f7872ea34f036a9f554a7a2a533a2d15ee304 -size 16060556616 diff --git a/llama-3.1-8b-ipo-sc/step-800/tokenizer.json b/llama-3.1-8b-ipo-sc/step-800/tokenizer.json deleted file mode 100644 index 1c1d8d5c9024994f1d3b00f9662b8dd89ca13cf2..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-800/tokenizer.json +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b -size 17209920 diff --git a/llama-3.1-8b-ipo-sc/step-800/tokenizer_config.json b/llama-3.1-8b-ipo-sc/step-800/tokenizer_config.json deleted file mode 100644 index 317f802f346524017fb0c37dc646beb3dd6a09f8..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-800/tokenizer_config.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "backend": "tokenizers", - "bos_token": "<|begin_of_text|>", - "clean_up_tokenization_spaces": true, - "eos_token": "<|end_of_text|>", - "is_local": true, - "local_files_only": false, - "model_input_names": [ - "input_ids", - "attention_mask" - ], - "model_max_length": 131072, - "pad_token": "<|end_of_text|>", - "tokenizer_class": "TokenizersBackend" -} diff --git a/llama-3.1-8b-ipo-sc/step-900/chat_template.jinja b/llama-3.1-8b-ipo-sc/step-900/chat_template.jinja deleted file mode 100644 index 3393a712d604ac21c6dae36d5a70b267e048d709..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-900/chat_template.jinja +++ /dev/null @@ -1 +0,0 @@ -{{ bos_token or '' }}{% for m in messages %}{{ m['content'] }}{% endfor %} \ No newline at end of file diff --git a/llama-3.1-8b-ipo-sc/step-900/config.json b/llama-3.1-8b-ipo-sc/step-900/config.json deleted file mode 100644 index 31c14ed60b53e4acd82a6ffd527a8ce846fd8d08..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-900/config.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "architectures": [ - "LlamaForCausalLM" - ], - "attention_bias": false, - "attention_dropout": 0.0, - "bos_token_id": 128000, - "dtype": "bfloat16", - "eos_token_id": 128001, - "head_dim": 128, - "hidden_act": "silu", - "hidden_size": 4096, - "initializer_range": 0.02, - "intermediate_size": 14336, - "max_position_embeddings": 131072, - "mlp_bias": false, - "model_type": "llama", - "num_attention_heads": 32, - "num_hidden_layers": 32, - "num_key_value_heads": 8, - "pad_token_id": 128001, - "pretraining_tp": 1, - "rms_norm_eps": 1e-05, - "rope_parameters": { - "factor": 8.0, - "high_freq_factor": 4.0, - "low_freq_factor": 1.0, - "original_max_position_embeddings": 8192, - "rope_theta": 500000.0, - "rope_type": "llama3" - }, - "tie_word_embeddings": false, - "transformers_version": "5.19.0", - "use_cache": true, - "vocab_size": 128256 -} diff --git a/llama-3.1-8b-ipo-sc/step-900/generation_config.json b/llama-3.1-8b-ipo-sc/step-900/generation_config.json deleted file mode 100644 index 8a4c0058f5416bf93817bc74d8993fb42b5ea8e2..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-900/generation_config.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "_from_model_config": true, - "bos_token_id": 128000, - "do_sample": true, - "eos_token_id": 128001, - "temperature": 0.6, - "top_p": 0.9, - "transformers_version": "5.19.0" -} diff --git a/llama-3.1-8b-ipo-sc/step-900/model.safetensors b/llama-3.1-8b-ipo-sc/step-900/model.safetensors deleted file mode 100644 index 166ee572a44b09a4e2a47647b1201a5ee112c2a9..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-900/model.safetensors +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dad84c878ac5964c64a6cbe4eaf311b1c2e24b08d713dd2954b0dee3db8c198d -size 16060556616 diff --git a/llama-3.1-8b-ipo-sc/step-900/tokenizer.json b/llama-3.1-8b-ipo-sc/step-900/tokenizer.json deleted file mode 100644 index 1c1d8d5c9024994f1d3b00f9662b8dd89ca13cf2..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-900/tokenizer.json +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b -size 17209920 diff --git a/llama-3.1-8b-ipo-sc/step-900/tokenizer_config.json b/llama-3.1-8b-ipo-sc/step-900/tokenizer_config.json deleted file mode 100644 index 317f802f346524017fb0c37dc646beb3dd6a09f8..0000000000000000000000000000000000000000 --- a/llama-3.1-8b-ipo-sc/step-900/tokenizer_config.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "backend": "tokenizers", - "bos_token": "<|begin_of_text|>", - "clean_up_tokenization_spaces": true, - "eos_token": "<|end_of_text|>", - "is_local": true, - "local_files_only": false, - "model_input_names": [ - "input_ids", - "attention_mask" - ], - "model_max_length": 131072, - "pad_token": "<|end_of_text|>", - "tokenizer_class": "TokenizersBackend" -} diff --git a/smoke-llama-3.1-8b-instruct-chat/step-4/chat_template.jinja b/smoke-llama-3.1-8b-instruct-chat/step-4/chat_template.jinja deleted file mode 100644 index 33089ace1be88f22a10fe861ad49718d5d886090..0000000000000000000000000000000000000000 --- a/smoke-llama-3.1-8b-instruct-chat/step-4/chat_template.jinja +++ /dev/null @@ -1,109 +0,0 @@ -{{- bos_token }} -{%- if custom_tools is defined %} - {%- set tools = custom_tools %} -{%- endif %} -{%- if not tools_in_user_message is defined %} - {%- set tools_in_user_message = true %} -{%- endif %} -{%- if not date_string is defined %} - {%- set date_string = "26 Jul 2024" %} -{%- endif %} -{%- if not tools is defined %} - {%- set tools = none %} -{%- endif %} - -{#- This block extracts the system message, so we can slot it into the right place. #} -{%- if messages[0]['role'] == 'system' %} - {%- set system_message = messages[0]['content']|trim %} - {%- set messages = messages[1:] %} -{%- else %} - {%- set system_message = "" %} -{%- endif %} - -{#- System message + builtin tools #} -{{- "<|start_header_id|>system<|end_header_id|>\n\n" }} -{%- if builtin_tools is defined or tools is not none %} - {{- "Environment: ipython\n" }} -{%- endif %} -{%- if builtin_tools is defined %} - {{- "Tools: " + builtin_tools | reject('equalto', 'code_interpreter') | join(", ") + "\n\n"}} -{%- endif %} -{{- "Cutting Knowledge Date: December 2023\n" }} -{{- "Today Date: " + date_string + "\n\n" }} -{%- if tools is not none and not tools_in_user_message %} - {{- "You have access to the following functions. To call a function, please respond with JSON for a function call." }} - {{- 'Respond in the format {"name": function name, "parameters": dictionary of argument name and its value}.' }} - {{- "Do not use variables.\n\n" }} - {%- for t in tools %} - {{- t | tojson(indent=4) }} - {{- "\n\n" }} - {%- endfor %} -{%- endif %} -{{- system_message }} -{{- "<|eot_id|>" }} - -{#- Custom tools are passed in a user message with some extra guidance #} -{%- if tools_in_user_message and not tools is none %} - {#- Extract the first user message so we can plug it in here #} - {%- if messages | length != 0 %} - {%- set first_user_message = messages[0]['content']|trim %} - {%- set messages = messages[1:] %} - {%- else %} - {{- raise_exception("Cannot put tools in the first user message when there's no first user message!") }} -{%- endif %} - {{- '<|start_header_id|>user<|end_header_id|>\n\n' -}} - {{- "Given the following functions, please respond with a JSON for a function call " }} - {{- "with its proper arguments that best answers the given prompt.\n\n" }} - {{- 'Respond in the format {"name": function name, "parameters": dictionary of argument name and its value}.' }} - {{- "Do not use variables.\n\n" }} - {%- for t in tools %} - {{- t | tojson(indent=4) }} - {{- "\n\n" }} - {%- endfor %} - {{- first_user_message + "<|eot_id|>"}} -{%- endif %} - -{%- for message in messages %} - {%- if not (message.role == 'ipython' or message.role == 'tool' or 'tool_calls' in message) %} - {{- '<|start_header_id|>' + message['role'] + '<|end_header_id|>\n\n'+ message['content'] | trim + '<|eot_id|>' }} - {%- elif 'tool_calls' in message %} - {%- if not message.tool_calls|length == 1 %} - {{- raise_exception("This model only supports single tool-calls at once!") }} - {%- endif %} - {%- set tool_call = message.tool_calls[0].function %} - {%- if builtin_tools is defined and tool_call.name in builtin_tools %} - {{- '<|start_header_id|>assistant<|end_header_id|>\n\n' -}} - {{- "<|python_tag|>" + tool_call.name + ".call(" }} - {%- for arg_name, arg_val in tool_call.arguments | items %} - {{- arg_name + '="' + arg_val + '"' }} - {%- if not loop.last %} - {{- ", " }} - {%- endif %} - {%- endfor %} - {{- ")" }} - {%- else %} - {{- '<|start_header_id|>assistant<|end_header_id|>\n\n' -}} - {{- '{"name": "' + tool_call.name + '", ' }} - {{- '"parameters": ' }} - {{- tool_call.arguments | tojson }} - {{- "}" }} - {%- endif %} - {%- if builtin_tools is defined %} - {#- This means we're in ipython mode #} - {{- "<|eom_id|>" }} - {%- else %} - {{- "<|eot_id|>" }} - {%- endif %} - {%- elif message.role == "tool" or message.role == "ipython" %} - {{- "<|start_header_id|>ipython<|end_header_id|>\n\n" }} - {%- if message.content is mapping or message.content is iterable %} - {{- message.content | tojson }} - {%- else %} - {{- message.content }} - {%- endif %} - {{- "<|eot_id|>" }} - {%- endif %} -{%- endfor %} -{%- if add_generation_prompt %} - {{- '<|start_header_id|>assistant<|end_header_id|>\n\n' }} -{%- endif %} diff --git a/smoke-llama-3.1-8b-instruct-chat/step-4/config.json b/smoke-llama-3.1-8b-instruct-chat/step-4/config.json deleted file mode 100644 index e66dd8ff2fca3402ecaa39fbd7f6e351afd61b93..0000000000000000000000000000000000000000 --- a/smoke-llama-3.1-8b-instruct-chat/step-4/config.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "architectures": [ - "LlamaForCausalLM" - ], - "attention_bias": false, - "attention_dropout": 0.0, - "bos_token_id": 128000, - "dtype": "bfloat16", - "eos_token_id": 128009, - "head_dim": 128, - "hidden_act": "silu", - "hidden_size": 4096, - "initializer_range": 0.02, - "intermediate_size": 14336, - "max_position_embeddings": 131072, - "mlp_bias": false, - "model_type": "llama", - "num_attention_heads": 32, - "num_hidden_layers": 32, - "num_key_value_heads": 8, - "pad_token_id": 128009, - "pretraining_tp": 1, - "rms_norm_eps": 1e-05, - "rope_parameters": { - "factor": 8.0, - "high_freq_factor": 4.0, - "low_freq_factor": 1.0, - "original_max_position_embeddings": 8192, - "rope_theta": 500000.0, - "rope_type": "llama3" - }, - "tie_word_embeddings": false, - "transformers_version": "5.19.0", - "use_cache": true, - "vocab_size": 128256 -} diff --git a/smoke-llama-3.1-8b-instruct-chat/step-4/generation_config.json b/smoke-llama-3.1-8b-instruct-chat/step-4/generation_config.json deleted file mode 100644 index 6fe800e309868d108899cb3ae4122fbe4e7cc466..0000000000000000000000000000000000000000 --- a/smoke-llama-3.1-8b-instruct-chat/step-4/generation_config.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "bos_token_id": 128000, - "do_sample": true, - "eos_token_id": [ - 128001, - 128008, - 128009 - ], - "temperature": 0.6, - "top_p": 0.9, - "transformers_version": "5.19.0" -} diff --git a/smoke-llama-3.1-8b-instruct-chat/step-4/model.safetensors b/smoke-llama-3.1-8b-instruct-chat/step-4/model.safetensors deleted file mode 100644 index e2f209c5710bc278e5601ab497ad3cffd2e449d6..0000000000000000000000000000000000000000 --- a/smoke-llama-3.1-8b-instruct-chat/step-4/model.safetensors +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6fc63d1bcf6179c0a47cc68ae77a3a889f115bb0fb631be05ff38082033b85be -size 16060556616 diff --git a/smoke-llama-3.1-8b-instruct-chat/step-4/tokenizer.json b/smoke-llama-3.1-8b-instruct-chat/step-4/tokenizer.json deleted file mode 100644 index 1c1d8d5c9024994f1d3b00f9662b8dd89ca13cf2..0000000000000000000000000000000000000000 --- a/smoke-llama-3.1-8b-instruct-chat/step-4/tokenizer.json +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b -size 17209920 diff --git a/smoke-llama-3.1-8b-instruct-chat/step-4/tokenizer_config.json b/smoke-llama-3.1-8b-instruct-chat/step-4/tokenizer_config.json deleted file mode 100644 index 9981e7e8eee4645815899e27078d6b2a49fadc10..0000000000000000000000000000000000000000 --- a/smoke-llama-3.1-8b-instruct-chat/step-4/tokenizer_config.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "backend": "tokenizers", - "bos_token": "<|begin_of_text|>", - "clean_up_tokenization_spaces": true, - "eos_token": "<|eot_id|>", - "is_local": true, - "local_files_only": false, - "model_input_names": [ - "input_ids", - "attention_mask" - ], - "model_max_length": 131072, - "pad_token": "<|eot_id|>", - "tokenizer_class": "TokenizersBackend" -}