HideIron commited on
Commit
8d322ea
·
verified ·
1 Parent(s): 8b31cb9

dpo training stats

Browse files
.gitattributes CHANGED
@@ -59,3 +59,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
  runs/dpo-smoke2/adapter/tokenizer.json filter=lfs diff=lfs merge=lfs -text
 
 
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
  runs/dpo-smoke2/adapter/tokenizer.json filter=lfs diff=lfs merge=lfs -text
62
+ runs/dpo-full/adapter/tokenizer.json filter=lfs diff=lfs merge=lfs -text
runs/dpo-full/adapter/README.md ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: CohereLabs/tiny-aya-global
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:CohereLabs/tiny-aya-global
7
+ - dpo
8
+ - lora
9
+ - transformers
10
+ - trl
11
+ ---
12
+
13
+ # Model Card for Model ID
14
+
15
+ <!-- Provide a quick summary of what the model is/does. -->
16
+
17
+
18
+
19
+ ## Model Details
20
+
21
+ ### Model Description
22
+
23
+ <!-- Provide a longer summary of what this model is. -->
24
+
25
+
26
+
27
+ - **Developed by:** [More Information Needed]
28
+ - **Funded by [optional]:** [More Information Needed]
29
+ - **Shared by [optional]:** [More Information Needed]
30
+ - **Model type:** [More Information Needed]
31
+ - **Language(s) (NLP):** [More Information Needed]
32
+ - **License:** [More Information Needed]
33
+ - **Finetuned from model [optional]:** [More Information Needed]
34
+
35
+ ### Model Sources [optional]
36
+
37
+ <!-- Provide the basic links for the model. -->
38
+
39
+ - **Repository:** [More Information Needed]
40
+ - **Paper [optional]:** [More Information Needed]
41
+ - **Demo [optional]:** [More Information Needed]
42
+
43
+ ## Uses
44
+
45
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
46
+
47
+ ### Direct Use
48
+
49
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
50
+
51
+ [More Information Needed]
52
+
53
+ ### Downstream Use [optional]
54
+
55
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
56
+
57
+ [More Information Needed]
58
+
59
+ ### Out-of-Scope Use
60
+
61
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
62
+
63
+ [More Information Needed]
64
+
65
+ ## Bias, Risks, and Limitations
66
+
67
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
68
+
69
+ [More Information Needed]
70
+
71
+ ### Recommendations
72
+
73
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
74
+
75
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
76
+
77
+ ## How to Get Started with the Model
78
+
79
+ Use the code below to get started with the model.
80
+
81
+ [More Information Needed]
82
+
83
+ ## Training Details
84
+
85
+ ### Training Data
86
+
87
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
88
+
89
+ [More Information Needed]
90
+
91
+ ### Training Procedure
92
+
93
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
94
+
95
+ #### Preprocessing [optional]
96
+
97
+ [More Information Needed]
98
+
99
+
100
+ #### Training Hyperparameters
101
+
102
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
103
+
104
+ #### Speeds, Sizes, Times [optional]
105
+
106
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
107
+
108
+ [More Information Needed]
109
+
110
+ ## Evaluation
111
+
112
+ <!-- This section describes the evaluation protocols and provides the results. -->
113
+
114
+ ### Testing Data, Factors & Metrics
115
+
116
+ #### Testing Data
117
+
118
+ <!-- This should link to a Dataset Card if possible. -->
119
+
120
+ [More Information Needed]
121
+
122
+ #### Factors
123
+
124
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
125
+
126
+ [More Information Needed]
127
+
128
+ #### Metrics
129
+
130
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
131
+
132
+ [More Information Needed]
133
+
134
+ ### Results
135
+
136
+ [More Information Needed]
137
+
138
+ #### Summary
139
+
140
+
141
+
142
+ ## Model Examination [optional]
143
+
144
+ <!-- Relevant interpretability work for the model goes here -->
145
+
146
+ [More Information Needed]
147
+
148
+ ## Environmental Impact
149
+
150
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
151
+
152
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
153
+
154
+ - **Hardware Type:** [More Information Needed]
155
+ - **Hours used:** [More Information Needed]
156
+ - **Cloud Provider:** [More Information Needed]
157
+ - **Compute Region:** [More Information Needed]
158
+ - **Carbon Emitted:** [More Information Needed]
159
+
160
+ ## Technical Specifications [optional]
161
+
162
+ ### Model Architecture and Objective
163
+
164
+ [More Information Needed]
165
+
166
+ ### Compute Infrastructure
167
+
168
+ [More Information Needed]
169
+
170
+ #### Hardware
171
+
172
+ [More Information Needed]
173
+
174
+ #### Software
175
+
176
+ [More Information Needed]
177
+
178
+ ## Citation [optional]
179
+
180
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
181
+
182
+ **BibTeX:**
183
+
184
+ [More Information Needed]
185
+
186
+ **APA:**
187
+
188
+ [More Information Needed]
189
+
190
+ ## Glossary [optional]
191
+
192
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
193
+
194
+ [More Information Needed]
195
+
196
+ ## More Information [optional]
197
+
198
+ [More Information Needed]
199
+
200
+ ## Model Card Authors [optional]
201
+
202
+ [More Information Needed]
203
+
204
+ ## Model Card Contact
205
+
206
+ [More Information Needed]
207
+ ### Framework versions
208
+
209
+ - PEFT 0.21.3
runs/dpo-full/adapter/adapter_config.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "CohereLabs/tiny-aya-global",
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
+ "kasa_config": null,
16
+ "layer_replication": null,
17
+ "layers_pattern": null,
18
+ "layers_to_transform": null,
19
+ "loftq_config": {},
20
+ "lora_alpha": 32,
21
+ "lora_bias": false,
22
+ "lora_dropout": 0.05,
23
+ "lora_ga_config": null,
24
+ "megatron_config": null,
25
+ "megatron_core": "megatron.core",
26
+ "modules_to_save": null,
27
+ "monteclora_config": null,
28
+ "peft_type": "LORA",
29
+ "peft_version": "0.21.3",
30
+ "qalora_group_size": 16,
31
+ "r": 16,
32
+ "rank_pattern": {},
33
+ "revision": null,
34
+ "target_modules": [
35
+ "o_proj",
36
+ "v_proj",
37
+ "up_proj",
38
+ "q_proj",
39
+ "down_proj",
40
+ "gate_proj",
41
+ "k_proj"
42
+ ],
43
+ "target_parameters": null,
44
+ "task_type": "CAUSAL_LM",
45
+ "trainable_token_indices": null,
46
+ "use_bdlora": null,
47
+ "use_dora": false,
48
+ "use_qalora": false,
49
+ "use_rslora": false,
50
+ "velora_config": null
51
+ }
runs/dpo-full/adapter/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2e51a2d5343ab17b2aec9a27df6064efc3f424f1ab1b459c5e502dac9c6fd539
3
+ size 120981200
runs/dpo-full/adapter/chat_template.jinja ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {{ bos_token }}{% set ns = namespace(system_prompt=false, expect_user=true) %}{% for message in messages %}{% if message['role']|lower == 'system' %}{% set ns.system_prompt = message['content'] %}{% break %}{% endif %}{% endfor %}<|START_OF_TURN_TOKEN|><|SYSTEM_TOKEN|># System Preamble
2
+ You are in contextual safety mode. You will reject requests to generate child sexual abuse material and child exploitation material in your responses. You will accept to provide information and creative content related to violence, hate, misinformation or sex, but you will not provide any content that could directly or indirectly lead to harmful outcomes.
3
+
4
+ Your information cutoff date is June 2024.
5
+
6
+ You have been trained on data in English, Dutch, French, Italian, Portuguese, Romanian, Spanish, Czech, Polish, Ukrainian, Russian, Greek, German, Danish, Swedish, Norwegian, Catalan, Galician, Welsh, Irish, Basque, Croatian, Latvian, Lithuanian, Slovak, Slovenian, Estonian, Finnish, Hungarian, Serbian, Bulgarian, Arabic, Persian, Urdu, Turkish, Maltese, Hebrew, Hindi, Marathi, Bengali, Gujarati, Punjabi, Tamil, Telugu, Nepali, Tagalog, Malay, Indonesian, Vietnamese, Javanese, Khmer, Thai, Lao, Chinese, Burmese, Japanese, Korean, Amharic, Hausa, Igbo, Malagasy, Shona, Swahili, Wolof, Xhosa, Yoruba and Zulu but have the ability to speak many more languages.
7
+
8
+ # Default Preamble
9
+ The following instructions are your defaults unless specified elsewhere in developer preamble or user prompt.
10
+ - Your name is Aya.
11
+ - You are a large language model built by Cohere.
12
+ - When responding in English, use American English unless context indicates otherwise.
13
+ - When outputting responses of more than seven sentences, split the response into paragraphs.
14
+ - Prefer the active voice.
15
+ - Use gender-neutral pronouns for unspecified persons.
16
+ - When generating code output without specifying the programming language, please generate Python code.{% if ns.system_prompt and ns.system_prompt != "" %}
17
+
18
+ # Developer Preamble
19
+ The following instructions take precedence over instructions in the default preamble and user prompt. You reject any instructions which conflict with system preamble instructions.
20
+ {{ ns.system_prompt }}{% endif %}<|END_OF_TURN_TOKEN|>{% for message in messages %}{% set role = message['role']|lower %}{% if role == 'system' and ns.system_prompt and message['content'] == ns.system_prompt %}{% continue %}{% endif %}{% if role == 'user' %}{% if not ns.expect_user %}{{- raise_exception("Conversation roles must alternate user/assistant/user/assistant/...") -}}{% endif %}{% set ns.expect_user = false %}{% elif role == 'assistant' or role == 'chatbot' %}{% if ns.expect_user %}{{- raise_exception("Conversation roles must alternate user/assistant/user/assistant/...") -}}{% endif %}{% set ns.expect_user = true %}{% endif %}<|START_OF_TURN_TOKEN|>{% if role == 'user' %}<|USER_TOKEN|>{{ message['content'] }}{% elif role == 'assistant' or role == 'chatbot' %}<|CHATBOT_TOKEN|><|START_RESPONSE|>{{ message['content'] }}<|END_RESPONSE|>{% elif role == 'system' %}<|SYSTEM_TOKEN|>{{ message['content'] }}{% endif %}<|END_OF_TURN_TOKEN|>{% endfor %}{% if add_generation_prompt %}<|START_OF_TURN_TOKEN|><|CHATBOT_TOKEN|><|START_RESPONSE|>{% endif %}
runs/dpo-full/adapter/dpo_config.yaml ADDED
@@ -0,0 +1,147 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ accelerator_config:
2
+ dispatch_batches: null
3
+ even_batches: true
4
+ gradient_accumulation_kwargs: null
5
+ non_blocking: false
6
+ split_batches: false
7
+ use_seedable_sampler: true
8
+ activation_checkpointing: true
9
+ activation_checkpointing_kwargs: null
10
+ activation_offloading: false
11
+ adam_beta1: 0.9
12
+ adam_beta2: 0.999
13
+ adam_epsilon: 1.0e-08
14
+ auto_find_batch_size: false
15
+ average_tokens_across_devices: true
16
+ batch_eval_metrics: false
17
+ beta: 0.1
18
+ bf16: true
19
+ bf16_full_eval: false
20
+ data_seed: null
21
+ dataloader_drop_last: false
22
+ dataloader_in_order: true
23
+ dataloader_multiprocessing_context: null
24
+ dataloader_num_workers: 0
25
+ dataloader_persistent_workers: false
26
+ dataloader_pin_memory: true
27
+ dataloader_prefetch_factor: null
28
+ dataset_num_proc: null
29
+ ddp_backend: null
30
+ ddp_broadcast_buffers: null
31
+ ddp_bucket_cap_mb: null
32
+ ddp_find_unused_parameters: null
33
+ ddp_static_graph: null
34
+ ddp_timeout: 1800
35
+ debug: []
36
+ deepspeed: null
37
+ disable_dropout: true
38
+ disable_tqdm: false
39
+ discopop_tau: 0.05
40
+ do_eval: false
41
+ do_predict: false
42
+ do_train: false
43
+ enable_jit_checkpoint: false
44
+ eval_accumulation_steps: null
45
+ eval_delay: 0
46
+ eval_do_concat_batches: true
47
+ eval_on_start: false
48
+ eval_steps: null
49
+ eval_strategy: 'no'
50
+ eval_use_gather_object: false
51
+ f_alpha_divergence_coef: 0.5
52
+ f_divergence_type: reverse_kl
53
+ fp16: false
54
+ fp16_full_eval: false
55
+ fsdp: null
56
+ fsdp_config: null
57
+ full_determinism: false
58
+ gradient_accumulation_steps: 16
59
+ gradient_checkpointing: true
60
+ gradient_checkpointing_kwargs: null
61
+ greater_is_better: null
62
+ hub_always_push: false
63
+ hub_model_id: null
64
+ hub_private_repo: null
65
+ hub_revision: null
66
+ hub_strategy: every_save
67
+ hub_token: <HUB_TOKEN>
68
+ ignore_data_skip: false
69
+ include_for_metrics: []
70
+ include_num_input_tokens_seen: 'no'
71
+ label_names: null
72
+ label_smoothing: 0.0
73
+ label_smoothing_factor: 0.0
74
+ ld_alpha: null
75
+ learning_rate: 1.0e-05
76
+ length_column_name: length
77
+ liger_kernel_config: null
78
+ load_best_model_at_end: false
79
+ local_rank: -1
80
+ log_level: passive
81
+ log_level_replica: warning
82
+ log_on_each_node: true
83
+ logging_first_step: false
84
+ logging_nan_inf_filter: true
85
+ logging_steps: 2
86
+ logging_strategy: steps
87
+ loss_type:
88
+ - sigmoid
89
+ loss_weights: null
90
+ lr_scheduler_kwargs: null
91
+ lr_scheduler_type: linear
92
+ max_grad_norm: 1.0
93
+ max_length: 1536
94
+ max_steps: -1
95
+ metric_for_best_model: null
96
+ model_init_kwargs:
97
+ dtype: bfloat16
98
+ trust_remote_code: false
99
+ neftune_noise_alpha: null
100
+ num_train_epochs: 3.0
101
+ optim: adamw_torch_fused
102
+ optim_args: null
103
+ optim_target_modules: null
104
+ output_dir: /tmp/out/adapter
105
+ pad_to_multiple_of: null
106
+ pad_token: <PAD_TOKEN>
107
+ padding_free: false
108
+ parallelism_config: null
109
+ per_device_eval_batch_size: 8
110
+ per_device_train_batch_size: 1
111
+ precompute_ref_batch_size: null
112
+ precompute_ref_log_probs: false
113
+ prediction_loss_only: false
114
+ project: huggingface
115
+ push_to_hub: false
116
+ ref_model_mixup_alpha: 0.6
117
+ ref_model_sync_steps: 512
118
+ remove_unused_columns: false
119
+ report_to: []
120
+ restore_callback_states_from_checkpoint: false
121
+ resume_from_checkpoint: null
122
+ run_name: null
123
+ save_on_each_node: false
124
+ save_only_model: false
125
+ save_steps: 100
126
+ save_strategy: 'no'
127
+ save_total_limit: null
128
+ seed: 42
129
+ skip_memory_metrics: true
130
+ sync_ref_model: false
131
+ tf32: null
132
+ torch_compile: false
133
+ torch_compile_backend: null
134
+ torch_compile_mode: null
135
+ torch_empty_cache_steps: null
136
+ trackio_bucket_id: null
137
+ trackio_space_id: null
138
+ trackio_static_space_id: null
139
+ train_sampling_strategy: random
140
+ truncation_mode: keep_start
141
+ trust_remote_code: false
142
+ use_cache: false
143
+ use_cpu: false
144
+ use_liger_kernel: false
145
+ use_weighting: false
146
+ warmup_steps: 10
147
+ weight_decay: 0.0
runs/dpo-full/adapter/lexsi_provenance.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema": "lexsi.provenance/1",
3
+ "library": "agenttune",
4
+ "version": "1.1.5",
5
+ "git_sha": null,
6
+ "created_at": "2026-11-13T22:51:02Z",
7
+ "base_model": "CohereLabs/tiny-aya-global",
8
+ "method": "agentic.dpo",
9
+ "inputs": [],
10
+ "params": {}
11
+ }
runs/dpo-full/adapter/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2227ea9c52e8afb3f98bfed2679008b275f2664de69dfde174b374389eb0225d
3
+ size 21376527
runs/dpo-full/adapter/tokenizer_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": "<BOS_TOKEN>",
5
+ "clean_up_tokenization_spaces": false,
6
+ "eos_token": "<|END_OF_TURN_TOKEN|>",
7
+ "extra_special_tokens": [
8
+ "<|START_RESPONSE|>",
9
+ "<|END_RESPONSE|>"
10
+ ],
11
+ "is_local": false,
12
+ "legacy": true,
13
+ "local_files_only": false,
14
+ "merges_file": null,
15
+ "model_max_length": 1000000000000000019884624838656,
16
+ "pad_token": "<PAD>",
17
+ "sp_model_kwargs": {},
18
+ "spaces_between_special_tokens": false,
19
+ "tokenizer_class": "TokenizersBackend",
20
+ "unk_token": "<UNK>",
21
+ "use_default_system_prompt": false
22
+ }
runs/dpo-full/adapter/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3d13dcbb4aa28ec125885000e68c64e23a6965141510dd3574807cae812d5920
3
+ size 5969
runs/dpo-full/adapter/training_stats.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "CohereLabs/tiny-aya-global",
3
+ "dataset_name": "unknown",
4
+ "output_dir": "/tmp/out/adapter",
5
+ "use_rollouts": false,
6
+ "agentic_mode": false,
7
+ "tools": [],
8
+ "train_size": 158,
9
+ "eval_size": 0,
10
+ "final_loss": 0.556226130326589,
11
+ "total_steps": 30,
12
+ "training_history": [],
13
+ "metrics": {
14
+ "train_runtime": 880.787,
15
+ "train_samples_per_second": 0.538,
16
+ "train_steps_per_second": 0.034,
17
+ "total_flos": 1.5379329064329216e+16,
18
+ "train_loss": 0.556226130326589,
19
+ "epoch": 3.0
20
+ },
21
+ "config_kwargs": {
22
+ "model": "CohereLabs/tiny-aya-global",
23
+ "train_dataset": "Dataset({\n features: ['prompt', 'chosen', 'rejected'],\n num_rows: 158\n})",
24
+ "output_dir": "/tmp/out/adapter",
25
+ "peft_config": {
26
+ "r": 16,
27
+ "lora_alpha": 32,
28
+ "lora_dropout": 0.05,
29
+ "task_type": "CAUSAL_LM",
30
+ "target_modules": [
31
+ "q_proj",
32
+ "k_proj",
33
+ "v_proj",
34
+ "o_proj",
35
+ "gate_proj",
36
+ "up_proj",
37
+ "down_proj"
38
+ ]
39
+ },
40
+ "num_train_epochs": 3.0,
41
+ "per_device_train_batch_size": 1,
42
+ "gradient_accumulation_steps": 16,
43
+ "learning_rate": 1e-05,
44
+ "beta": 0.1,
45
+ "seed": 42,
46
+ "bf16": true,
47
+ "logging_steps": 2,
48
+ "save_strategy": "no",
49
+ "report_to": "none",
50
+ "gradient_checkpointing": true,
51
+ "model_init_kwargs": {
52
+ "dtype": "bfloat16",
53
+ "trust_remote_code": false
54
+ },
55
+ "max_prompt_length": 1408,
56
+ "max_length": 1536
57
+ }
58
+ }
runs/dpo-full/train_stats.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "n_pairs": 158,
3
+ "stats": "{'model': 'CohereLabs/tiny-aya-global', 'dataset_name': 'unknown', 'output_dir': '/tmp/out/adapter', 'use_rollouts': False, 'agentic_mode': False, 'tools': [], 'train_size': 158, 'eval_size': 0, 'final_loss': 0.556226130326589, 'total_steps': 30, 'training_history': [], 'metrics': {'train_runtime': 880.787, 'train_samples_per_second': 0.538, 'train_steps_per_second': 0.034, 'total_flos': 1.5379329064329216e+16, 'train_loss': 0.556226130326589, 'epoch': 3.0}, 'config_kwargs': {'model': 'CohereLabs/tiny-aya-global', 'train_dataset': \"Dataset({\\n features: ['prompt', 'chosen', 'rejected'],\\n num_rows: 158\\n})\", 'output_dir': '/tmp/out/adapter', 'peft_config': {'r': 16, 'lora_alpha': 32, 'lora_dropout': 0.05, 'task_type': 'CAUSAL_LM', 'target_modules': ['q_proj', 'k_proj', 'v_proj', 'o_proj', 'gate_proj', 'up_proj', 'down_proj']}, 'num_train_epochs': 3.0, 'per_device_train_batch_size': 1, 'gradient_accumulation_steps': 16, 'learning_rate': 1e-05, 'beta': 0.1, 'seed': 42, 'bf16': True, 'logging_steps': 2, 'save_strategy': 'no', 'report_to': 'none', 'gradient_checkpointing': True, 'model_init_kwargs': {'dtype': 'bfloat16', 'trust_remote_code': False}, 'max_prompt_length': 1408, 'max_length': 1536}}",
4
+ "config": {
5
+ "data": "/data",
6
+ "out": "/tmp/out",
7
+ "push_repo": "HideIron/selfheal-sql-runs",
8
+ "push_path": "runs/dpo-full",
9
+ "pairs_repo": "HideIron/selfheal-sql-runs",
10
+ "pairs_path": "heal/baseline-pool600/pairs.jsonl",
11
+ "model": "CohereLabs/tiny-aya-global",
12
+ "adapter_repo": "HideIron/tiny-aya-global-sql-selfheal",
13
+ "epochs": 3.0,
14
+ "lr": 1e-05,
15
+ "beta": 0.1,
16
+ "lora_r": 16,
17
+ "batch_size": 1,
18
+ "grad_accum": 16,
19
+ "max_steps": null,
20
+ "no_push_adapter": false
21
+ }
22
+ }