Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- gdpo_lambda0.005_from_lambda0.03_ckpt150/checkpoint-300/adapter_config.json +46 -0
- gdpo_lambda0.005_from_lambda0.03_ckpt150/checkpoint-300/adapter_model.safetensors +3 -0
- gdpo_lambda0.005_from_lambda0.03_ckpt150/checkpoint-300/chat_template.jinja +1 -0
- gdpo_lambda0.005_from_lambda0.03_ckpt150/checkpoint-300/optimizer.pt +3 -0
- gdpo_lambda0.005_from_lambda0.03_ckpt150/checkpoint-300/rng_state.pth +3 -0
- gdpo_lambda0.005_from_lambda0.03_ckpt150/checkpoint-300/scheduler.pt +3 -0
- gdpo_lambda0.005_from_lambda0.03_ckpt150/checkpoint-300/tokenizer.json +3 -0
- gdpo_lambda0.005_from_lambda0.03_ckpt150/checkpoint-300/tokenizer_config.json +13 -0
- gdpo_lambda0.005_from_lambda0.03_ckpt150/checkpoint-300/trainer_state.json +0 -0
- gdpo_lambda0.005_from_lambda0.03_ckpt150/checkpoint-300/training_args.bin +3 -0
.gitattributes
CHANGED
|
@@ -70,3 +70,4 @@ gdpo_lambda2.0/logs/rollouts.jsonl filter=lfs diff=lfs merge=lfs -text
|
|
| 70 |
gdpo_lambda0.03_from_lambda0.1_ckpt100/logs/rollouts.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 71 |
gdpo_lambda0.005_from_lambda0.03_ckpt150/checkpoint-200/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 72 |
gdpo_lambda0.005_from_lambda0.03_ckpt150/checkpoint-250/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 70 |
gdpo_lambda0.03_from_lambda0.1_ckpt100/logs/rollouts.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 71 |
gdpo_lambda0.005_from_lambda0.03_ckpt150/checkpoint-200/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 72 |
gdpo_lambda0.005_from_lambda0.03_ckpt150/checkpoint-250/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 73 |
+
gdpo_lambda0.005_from_lambda0.03_ckpt150/checkpoint-300/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
gdpo_lambda0.005_from_lambda0.03_ckpt150/checkpoint-300/adapter_config.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "./outputs/lambda_0.005_20260216_174559/merged_init",
|
| 7 |
+
"bias": "none",
|
| 8 |
+
"corda_config": null,
|
| 9 |
+
"ensure_weight_tying": false,
|
| 10 |
+
"eva_config": null,
|
| 11 |
+
"exclude_modules": null,
|
| 12 |
+
"fan_in_fan_out": false,
|
| 13 |
+
"inference_mode": true,
|
| 14 |
+
"init_lora_weights": true,
|
| 15 |
+
"layer_replication": null,
|
| 16 |
+
"layers_pattern": null,
|
| 17 |
+
"layers_to_transform": null,
|
| 18 |
+
"loftq_config": {},
|
| 19 |
+
"lora_alpha": 32,
|
| 20 |
+
"lora_bias": false,
|
| 21 |
+
"lora_dropout": 0.05,
|
| 22 |
+
"megatron_config": null,
|
| 23 |
+
"megatron_core": "megatron.core",
|
| 24 |
+
"modules_to_save": null,
|
| 25 |
+
"peft_type": "LORA",
|
| 26 |
+
"peft_version": "0.18.1",
|
| 27 |
+
"qalora_group_size": 16,
|
| 28 |
+
"r": 16,
|
| 29 |
+
"rank_pattern": {},
|
| 30 |
+
"revision": null,
|
| 31 |
+
"target_modules": [
|
| 32 |
+
"q_proj",
|
| 33 |
+
"gate_proj",
|
| 34 |
+
"v_proj",
|
| 35 |
+
"o_proj",
|
| 36 |
+
"up_proj",
|
| 37 |
+
"k_proj",
|
| 38 |
+
"down_proj"
|
| 39 |
+
],
|
| 40 |
+
"target_parameters": null,
|
| 41 |
+
"task_type": "CAUSAL_LM",
|
| 42 |
+
"trainable_token_indices": null,
|
| 43 |
+
"use_dora": false,
|
| 44 |
+
"use_qalora": false,
|
| 45 |
+
"use_rslora": false
|
| 46 |
+
}
|
gdpo_lambda0.005_from_lambda0.03_ckpt150/checkpoint-300/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e3bfbc637f99d29dc4a3fd3c64def07d34cdc50cce2cf73d22f804eaa068bc1c
|
| 3 |
+
size 73911112
|
gdpo_lambda0.005_from_lambda0.03_ckpt150/checkpoint-300/chat_template.jinja
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{% 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 %}
|
gdpo_lambda0.005_from_lambda0.03_ckpt150/checkpoint-300/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:952ccb0b01f9cc63912d2373c12f2fefe55476d6364786b61db708f6e43b8790
|
| 3 |
+
size 148053627
|
gdpo_lambda0.005_from_lambda0.03_ckpt150/checkpoint-300/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3ff3cfa5f3271ee94b40b6c10af80c5a7c034805768161833bfe8ec167dae5ec
|
| 3 |
+
size 14581
|
gdpo_lambda0.005_from_lambda0.03_ckpt150/checkpoint-300/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:913f573cb2bdc30e669ae8eff5711e5c3d1141fc7f7f436845493759f790d2bd
|
| 3 |
+
size 1465
|
gdpo_lambda0.005_from_lambda0.03_ckpt150/checkpoint-300/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:df4e7ca41f3f7f64a5b6945b3bf69d8b620334fdde07a1e8932f522775798602
|
| 3 |
+
size 11422185
|
gdpo_lambda0.005_from_lambda0.03_ckpt150/checkpoint-300/tokenizer_config.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"backend": "tokenizers",
|
| 3 |
+
"bos_token": "<|begin▁of▁sentence|>",
|
| 4 |
+
"clean_up_tokenization_spaces": false,
|
| 5 |
+
"eos_token": "<|end▁of▁sentence|>",
|
| 6 |
+
"is_local": true,
|
| 7 |
+
"legacy": true,
|
| 8 |
+
"model_max_length": 16384,
|
| 9 |
+
"pad_token": "<|end▁of▁sentence|>",
|
| 10 |
+
"sp_model_kwargs": {},
|
| 11 |
+
"tokenizer_class": "TokenizersBackend",
|
| 12 |
+
"unk_token": null
|
| 13 |
+
}
|
gdpo_lambda0.005_from_lambda0.03_ckpt150/checkpoint-300/trainer_state.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
gdpo_lambda0.005_from_lambda0.03_ckpt150/checkpoint-300/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4ac51cc928e0c90a29f2d4663ab0dd555d27102539bd41bb8258857ae9db0d93
|
| 3 |
+
size 7121
|