Upload folder using huggingface_hub
Browse filesFiles changed (11)
- .gitattributes+1
- gdpo_lambda0.005_from_lambda0.01/checkpoint-400/adapter_config.jsonAdded+46
- gdpo_lambda0.005_from_lambda0.01/checkpoint-400/adapter_model.safetensorsAdded+3
- gdpo_lambda0.005_from_lambda0.01/checkpoint-400/chat_template.jinjaAdded+1
- gdpo_lambda0.005_from_lambda0.01/checkpoint-400/optimizer.ptAdded+3
- gdpo_lambda0.005_from_lambda0.01/checkpoint-400/rng_state.pthAdded+3
- gdpo_lambda0.005_from_lambda0.01/checkpoint-400/scheduler.ptAdded+3
- gdpo_lambda0.005_from_lambda0.01/checkpoint-400/tokenizer.jsonAdded+3
- gdpo_lambda0.005_from_lambda0.01/checkpoint-400/tokenizer_config.jsonAdded+13
- gdpo_lambda0.005_from_lambda0.01/checkpoint-400/trainer_state.jsonAdded
- gdpo_lambda0.005_from_lambda0.01/checkpoint-400/training_args.binAdded+3
74 unmodified lines75767774 unmodified linesgdpo_lambda0.005_from_lambda0.03_ckpt150/checkpoint-400/tokenizer.json filter=lfs diff=lfs merge=lfs -textgdpo_lambda0.005_from_lambda0.03_ckpt150/final_adapter/tokenizer.json filter=lfs diff=lfs merge=lfs -textgdpo_lambda0.005_from_lambda0.01/checkpoint-200/tokenizer.json filter=lfs diff=lfs merge=lfs -text74 unmodified lines7576777874 unmodified linesgdpo_lambda0.005_from_lambda0.03_ckpt150/checkpoint-400/tokenizer.json filter=lfs diff=lfs merge=lfs -textgdpo_lambda0.005_from_lambda0.03_ckpt150/final_adapter/tokenizer.json filter=lfs diff=lfs merge=lfs -textgdpo_lambda0.005_from_lambda0.01/checkpoint-200/tokenizer.json filter=lfs diff=lfs merge=lfs -textgdpo_lambda0.005_from_lambda0.01/checkpoint-400/tokenizer.json filter=lfs diff=lfs merge=lfs -text
12345678910111213141516171819202122232425262728293031323334353637383940414243444546{ "alora_invocation_tokens": null, "alpha_pattern": {}, "arrow_config": null, "auto_mapping": null, "base_model_name_or_path": "./outputs/gdpo_lambda0.005_from_lambda0.01/merged_init", "bias": "none", "corda_config": null, "ensure_weight_tying": false, "eva_config": null, "exclude_modules": null, "fan_in_fan_out": false, "inference_mode": true, "init_lora_weights": true, "layer_replication": null, "layers_pattern": null, "layers_to_transform": null, "loftq_config": {}, "lora_alpha": 32, "lora_bias": false, "lora_dropout": 0.05, "megatron_config": null, "megatron_core": "megatron.core", "modules_to_save": null, "peft_type": "LORA", "peft_version": "0.18.1", "qalora_group_size": 16, "r": 16, "rank_pattern": {}, "revision": null, "target_modules": [ "q_proj", "up_proj", "k_proj", "gate_proj", "o_proj", "down_proj", "v_proj" ], "target_parameters": null, "task_type": "CAUSAL_LM", "trainable_token_indices": null, "use_dora": false, "use_qalora": false, "use_rslora": false}123version https://git-lfs.github.com/spec/v1oid sha256:f5f0f1e366dbcdc7b0fb8820d8ca67647e9fd8a095fc6a6a7652efb7cd84f02csize 739111121{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% set ns = namespace(is_first=false, is_tool=false, is_output_first=true, system_prompt='') %}{%- for message in messages %}{%- if message['role'] == 'system' %}{% set ns.system_prompt = message['content'] %}{%- endif %}{%- endfor %}{{bos_token}}{{ns.system_prompt}}{%- for message in messages %}{%- if message['role'] == 'user' %}{%- set ns.is_tool = false -%}{{'<|User|>' + message['content']}}{%- endif %}{%- if message['role'] == 'assistant' and message['content'] is none %}{%- set ns.is_tool = false -%}{%- for tool in message['tool_calls']%}{%- if not ns.is_first %}{{'<|Assistant|><|tool▁calls▁begin|><|tool▁call▁begin|>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\n' + '```json' + '\n' + tool['function']['arguments'] + '\n' + '```' + '<|tool▁call▁end|>'}}{%- set ns.is_first = true -%}{%- else %}{{'\n' + '<|tool▁call▁begin|>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\n' + '```json' + '\n' + tool['function']['arguments'] + '\n' + '```' + '<|tool▁call▁end|>'}}{{'<|tool▁calls▁end|><|end▁of▁sentence|>'}}{%- endif %}{%- endfor %}{%- endif %}{%- if message['role'] == 'assistant' and message['content'] is not none %}{%- if ns.is_tool %}{{'<|tool▁outputs▁end|>' + message['content'] + '<|end▁of▁sentence|>'}}{%- set ns.is_tool = false -%}{%- else %}{% set content = message['content'] %}{% if '</think>' in content %}{% set content = content.split('</think>')[-1] %}{% endif %}{{'<|Assistant|>' + content + '<|end▁of▁sentence|>'}}{%- endif %}{%- endif %}{%- if message['role'] == 'tool' %}{%- set ns.is_tool = true -%}{%- if ns.is_output_first %}{{'<|tool▁outputs▁begin|><|tool▁output▁begin|>' + message['content'] + '<|tool▁output▁end|>'}}{%- set ns.is_output_first = false %}{%- else %}{{'\n<|tool▁output▁begin|>' + message['content'] + '<|tool▁output▁end|>'}}{%- endif %}{%- endif %}{%- endfor -%}{% if ns.is_tool %}{{'<|tool▁outputs▁end|>'}}{% endif %}{% if add_generation_prompt and not ns.is_tool %}{{'<|Assistant|><think>\n'}}{% endif %}123version https://git-lfs.github.com/spec/v1oid sha256:3f8008115d964232be5a9cef5fee5819c30df190b7d8201a2f54ed434022ae5asize 148053627123version https://git-lfs.github.com/spec/v1oid sha256:ba1edb85af0b853d7b2f643e554fe6b069439e62f7afe9b5599d020b1a64b6fdsize 14581123version https://git-lfs.github.com/spec/v1oid sha256:51eb67b845fb6f64dece598e11e09c3b72500e12b8629f58f93cab1700a7a3desize 1465123version https://git-lfs.github.com/spec/v1oid sha256:df4e7ca41f3f7f64a5b6945b3bf69d8b620334fdde07a1e8932f522775798602size 1142218512345678910111213{ "backend": "tokenizers", "bos_token": "<|begin▁of▁sentence|>", "clean_up_tokenization_spaces": false, "eos_token": "<|end▁of▁sentence|>", "is_local": true, "legacy": true, "model_max_length": 16384, "pad_token": "<|end▁of▁sentence|>", "sp_model_kwargs": {}, "tokenizer_class": "TokenizersBackend", "unk_token": null}123version https://git-lfs.github.com/spec/v1oid sha256:e8321825bacc5d983dfb2b0b75440b2dce4ccb5f847758de2d02560cfbbbd4b2size 7121.gitattributes+1
gdpo_lambda0.005_from_lambda0.01/checkpoint-400/adapter_config.jsonAdded+46
gdpo_lambda0.005_from_lambda0.01/checkpoint-400/adapter_model.safetensorsAdded+3
gdpo_lambda0.005_from_lambda0.01/checkpoint-400/chat_template.jinjaAdded+1
gdpo_lambda0.005_from_lambda0.01/checkpoint-400/optimizer.ptAdded+3
gdpo_lambda0.005_from_lambda0.01/checkpoint-400/rng_state.pthAdded+3
gdpo_lambda0.005_from_lambda0.01/checkpoint-400/scheduler.ptAdded+3
gdpo_lambda0.005_from_lambda0.01/checkpoint-400/tokenizer.jsonAdded+3
gdpo_lambda0.005_from_lambda0.01/checkpoint-400/tokenizer_config.jsonAdded+13
gdpo_lambda0.005_from_lambda0.01/checkpoint-400/trainer_state.jsonAdded
gdpo_lambda0.005_from_lambda0.01/checkpoint-400/training_args.binAdded+3