Transformers
Safetensors
trl
grpo
arabic-poetry
classical-arabic
lora
AhmadAbbass commited on
Commit
9e76a49
·
verified ·
1 Parent(s): 726b32a

Model save

Browse files
.gitattributes CHANGED
@@ -33,3 +33,7 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ plots/reward_panels_eval_chain.png filter=lfs diff=lfs merge=lfs -text
37
+ plots/reward_panels_eval_run.png filter=lfs diff=lfs merge=lfs -text
38
+ plots/reward_panels_train_chain.png filter=lfs diff=lfs merge=lfs -text
39
+ plots/reward_panels_train_run.png filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Navid-AI/Yehia-7B-preview
3
+ library_name: transformers
4
+ model_name: Shaer-adapters-grpo
5
+ tags:
6
+ - generated_from_trainer
7
+ - trl
8
+ - grpo
9
+ licence: license
10
+ ---
11
+
12
+ # Model Card for Shaer-adapters-grpo
13
+
14
+ This model is a fine-tuned version of [Navid-AI/Yehia-7B-preview](https://huggingface.co/Navid-AI/Yehia-7B-preview).
15
+ It has been trained using [TRL](https://github.com/huggingface/trl).
16
+
17
+ ## Quick start
18
+
19
+ ```python
20
+ from transformers import pipeline
21
+
22
+ question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
23
+ generator = pipeline("text-generation", model="Shaer-AI/Shaer-adapters-grpo", device="cuda")
24
+ output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
25
+ print(output["generated_text"])
26
+ ```
27
+
28
+ ## Training procedure
29
+
30
+
31
+
32
+
33
+ This model was trained with GRPO, a method introduced in [DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models](https://huggingface.co/papers/2402.03300).
34
+
35
+ ### Framework versions
36
+
37
+ - TRL: 0.23.1
38
+ - Transformers: 4.57.0
39
+ - Pytorch: 2.8.0
40
+ - Datasets: 4.8.4
41
+ - Tokenizers: 0.22.2
42
+
43
+ ## Citations
44
+
45
+ Cite GRPO as:
46
+
47
+ ```bibtex
48
+ @article{shao2024deepseekmath,
49
+ title = {{DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models}},
50
+ author = {Zhihong Shao and Peiyi Wang and Qihao Zhu and Runxin Xu and Junxiao Song and Mingchuan Zhang and Y. K. Li and Y. Wu and Daya Guo},
51
+ year = 2024,
52
+ eprint = {arXiv:2402.03300},
53
+ }
54
+
55
+ ```
56
+
57
+ Cite TRL as:
58
+
59
+ ```bibtex
60
+ @misc{vonwerra2022trl,
61
+ title = {{TRL: Transformer Reinforcement Learning}},
62
+ author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallou{\'e}dec},
63
+ year = 2020,
64
+ journal = {GitHub repository},
65
+ publisher = {GitHub},
66
+ howpublished = {\url{https://github.com/huggingface/trl}}
67
+ }
68
+ ```
adapter_config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "Navid-AI/Yehia-7B-preview",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": false,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 128,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0.05,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": null,
22
+ "peft_type": "LORA",
23
+ "qalora_group_size": 16,
24
+ "r": 64,
25
+ "rank_pattern": {},
26
+ "revision": null,
27
+ "target_modules": [
28
+ "down_proj",
29
+ "q_proj",
30
+ "k_proj",
31
+ "v_proj",
32
+ "gate_proj",
33
+ "o_proj",
34
+ "up_proj"
35
+ ],
36
+ "target_parameters": null,
37
+ "task_type": "CAUSAL_LM",
38
+ "trainable_token_indices": null,
39
+ "use_dora": false,
40
+ "use_qalora": false,
41
+ "use_rslora": true
42
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6e7d76bd2217e361a0105428ad4b58cfb0a102a6f74d9f269a347de7707916c
3
+ size 639691872
all_generations.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
chat_template.jinja ADDED
@@ -0,0 +1 @@
 
 
1
+ {% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% set system_message = false %}{% endif %}{% for message in loop_messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if loop.index0 == 0 and system_message != false %}{% set content = '<<SYS>>\n' + system_message + '\n<</SYS>>\n\n' + message['content'] %}{% else %}{% set content = message['content'] %}{% endif %}{% if message['role'] == 'user' %}{{ bos_token + ' [INST] ' + content.strip() + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ ' ' + content.strip() + ' ' + eos_token }}{% endif %}{% endfor %}
checkpoint_events.jsonl ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {"timestamp_utc": "2026-04-11T12:37:42Z", "event_type": "evaluation_completed", "global_step": 1, "metrics": {"eval_loss": 0.0866735428571701, "eval_runtime": 15.7215, "eval_samples_per_second": 0.509, "eval_steps_per_second": 0.127}}
2
+ {"timestamp_utc": "2026-04-11T12:37:45Z", "event_type": "checkpoint_saved", "global_step": 1, "local_checkpoint_dir": "/root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/checkpoint-1", "hub_model_id": "Shaer-AI/Shaer-adapters-grpo", "expected_hub_prefix": "last-checkpoint"}
3
+ {"timestamp_utc": "2026-04-11T12:38:05Z", "event_type": "evaluation_completed", "global_step": 2, "metrics": {"eval_loss": 0.06863964349031448, "eval_runtime": 14.0, "eval_samples_per_second": 0.571, "eval_steps_per_second": 0.143}}
4
+ {"timestamp_utc": "2026-04-11T12:38:07Z", "event_type": "checkpoint_saved", "global_step": 2, "local_checkpoint_dir": "/root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/checkpoint-2", "hub_model_id": "Shaer-AI/Shaer-adapters-grpo", "expected_hub_prefix": "last-checkpoint"}
5
+ {"timestamp_utc": "2026-04-11T12:38:07Z", "event_type": "train_end", "global_step": 2, "best_model_checkpoint": "/root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/checkpoint-2"}
config_snapshot.json ADDED
@@ -0,0 +1,183 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "run": {
3
+ "seed": 42,
4
+ "run_name_prefix": "shaer_grpo",
5
+ "output_root": "outputs/train",
6
+ "base_model_id": "Navid-AI/Yehia-7B-preview",
7
+ "start_adapter_repo": "Shaer-AI/Shaer-adapters",
8
+ "start_adapter_mode": "fresh_sft/train",
9
+ "output_model_repo": "Shaer-AI/Shaer-adapters-grpo"
10
+ },
11
+ "dataset": {
12
+ "train_dataset_id": "Shaer-AI/ashaar-enhanced-desc-baseform-final-sft-lte20-min500-splits-grpo-meter-count-v1",
13
+ "source_dataset_id": "Shaer-AI/ashaar-with-enhanced-descriptions-baseform-final-sft-lte20-min500-splits",
14
+ "train_manifest_path": "outputs/curated_meter_count_locked/cap_3000/selected_manifest.csv",
15
+ "hard_diagnostic_manifest_path": "outputs/curated_meter_count_locked/hard_diagnostic_cap_256/selected_manifest.csv",
16
+ "train_split": "train",
17
+ "eval_split": "eval",
18
+ "test_split": "test",
19
+ "eval_bank_per_meter_per_bucket": 2,
20
+ "test_bank_per_meter_per_bucket": 4
21
+ },
22
+ "studies": {
23
+ "inspect_lengths": {
24
+ "output_root": "outputs/inspect_lengths",
25
+ "coverage_target": 0.9,
26
+ "push_filtered_default": false
27
+ },
28
+ "publish_grpo_splits": {
29
+ "output_root": "outputs/publish_grpo_splits",
30
+ "seed": 42,
31
+ "validation_total": 104,
32
+ "test_total": 208,
33
+ "validation_short_per_meter": 4,
34
+ "validation_full_per_meter": 4,
35
+ "test_short_per_meter": 8,
36
+ "test_full_per_meter": 8
37
+ },
38
+ "sanity_check_model": {
39
+ "output_root": "outputs/sanity_check_model_base_n5_k5",
40
+ "backend": "vllm",
41
+ "n_prompts_per_meter": 5,
42
+ "k_generations": 5,
43
+ "thresholds": [
44
+ 0.3,
45
+ 0.5,
46
+ 0.7,
47
+ 0.9
48
+ ],
49
+ "max_new_tokens": 384,
50
+ "temperature": 0.95,
51
+ "top_p": 0.95,
52
+ "seed": 42,
53
+ "vllm_gpu_memory_utilization": 0.3,
54
+ "vllm_tensor_parallel_size": 1,
55
+ "vllm_dtype": "bfloat16",
56
+ "vllm_max_loras": 1,
57
+ "vllm_max_lora_rank": 64,
58
+ "flashinfer_disable_version_check": true
59
+ },
60
+ "sanity_check_rewards": {
61
+ "output_root": "outputs/sanity_check_rewards",
62
+ "golden_samples": 39,
63
+ "seed": 42,
64
+ "sample_strategy": "balanced_by_base_meter"
65
+ }
66
+ },
67
+ "phase1": {
68
+ "active_rewards": [
69
+ "meter",
70
+ "exact_count_bonus"
71
+ ],
72
+ "inactive_rewards": [
73
+ "meaning_fit",
74
+ "meaning_substance",
75
+ "count_adherence",
76
+ "fluency",
77
+ "poeticness",
78
+ "cohesion"
79
+ ],
80
+ "reward_weights": {
81
+ "meter": 1.0,
82
+ "exact_count_bonus": 0.2
83
+ }
84
+ },
85
+ "model": {
86
+ "load_in_4bit": true,
87
+ "bnb_4bit_quant_type": "nf4",
88
+ "bnb_4bit_use_double_quant": true,
89
+ "gradient_checkpointing": true
90
+ },
91
+ "generation": {
92
+ "use_vllm": true,
93
+ "vllm_mode": "colocate",
94
+ "vllm_gpu_memory_utilization": 0.6,
95
+ "max_prompt_length": 1024,
96
+ "max_completion_length": 640,
97
+ "temperature": 1.0,
98
+ "top_p": 1.0,
99
+ "num_generations": 8,
100
+ "num_generations_eval": 2
101
+ },
102
+ "trainer": {
103
+ "learning_rate": 1e-05,
104
+ "per_device_train_batch_size": 1,
105
+ "per_device_eval_batch_size": 4,
106
+ "gradient_accumulation_steps": 8,
107
+ "max_steps": 1000,
108
+ "logging_steps": 1,
109
+ "eval_steps": 50,
110
+ "save_steps": 50,
111
+ "save_total_limit": 4,
112
+ "beta": 0.02,
113
+ "remove_unused_columns": false,
114
+ "report_to": [],
115
+ "bf16": true,
116
+ "load_best_model_at_end": true,
117
+ "metric_for_best_model": "eval_reward_total_mean",
118
+ "greater_is_better": true,
119
+ "hub_strategy": "checkpoint"
120
+ },
121
+ "sanity_check": {
122
+ "output_root": "outputs/sanity_check",
123
+ "max_steps": 2,
124
+ "num_generations": 2,
125
+ "subset_size": 8,
126
+ "save_steps": 1,
127
+ "eval_steps": 1,
128
+ "logging_steps": 1
129
+ },
130
+ "logging": {
131
+ "save_env_snapshot": true,
132
+ "save_config_snapshot": true,
133
+ "metrics_jsonl_name": "metrics.jsonl",
134
+ "metrics_csv_name": "metrics.csv",
135
+ "train_log_name": "train.log",
136
+ "generations_jsonl_name": "all_generations.jsonl",
137
+ "checkpoint_events_name": "checkpoint_events.jsonl",
138
+ "split_summary_name": "split_summary.json",
139
+ "plots_dir_name": "plots"
140
+ },
141
+ "watcher": {
142
+ "enabled": true,
143
+ "interval_minutes": 30,
144
+ "send_on_checkpoint": true,
145
+ "send_on_error": true
146
+ },
147
+ "preprocess_grpo": {
148
+ "output_root": "outputs/preprocess_grpo",
149
+ "num_generations": 6,
150
+ "generator_batch_size": 32,
151
+ "max_prompt_length": 1024,
152
+ "max_completion_length": 640,
153
+ "temperature": 1.0,
154
+ "top_p": 1.0,
155
+ "progress_every": 10,
156
+ "vllm_gpu_memory_utilization": 0.75,
157
+ "vllm_tensor_parallel_size": 1,
158
+ "vllm_dtype": "bfloat16",
159
+ "vllm_max_loras": 1,
160
+ "vllm_max_lora_rank": 64,
161
+ "flashinfer_disable_version_check": true,
162
+ "trust_remote_code": true
163
+ },
164
+ "preprocess_grpo_pipeline": {
165
+ "output_root": "outputs/preprocess_grpo_pipeline",
166
+ "num_generations": 6,
167
+ "generator_batch_size": 32,
168
+ "max_prompt_length": 1024,
169
+ "max_completion_length": 640,
170
+ "temperature": 1.0,
171
+ "top_p": 1.0,
172
+ "progress_every": 10,
173
+ "judge_poll_seconds": 20,
174
+ "judge_claim_stale_after_seconds": 1800,
175
+ "vllm_gpu_memory_utilization": 0.75,
176
+ "vllm_tensor_parallel_size": 1,
177
+ "vllm_dtype": "bfloat16",
178
+ "vllm_max_loras": 1,
179
+ "vllm_max_lora_rank": 64,
180
+ "flashinfer_disable_version_check": true,
181
+ "trust_remote_code": true
182
+ }
183
+ }
dataset_summary.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_id": "Shaer-AI/ashaar-enhanced-desc-baseform-final-sft-lte20-min500-splits-grpo-meter-count-v1",
3
+ "dataset_source_id": "Shaer-AI/ashaar-with-enhanced-descriptions-baseform-final-sft-lte20-min500-splits",
4
+ "train_dataset_id": "Shaer-AI/ashaar-enhanced-desc-baseform-final-sft-lte20-min500-splits-grpo-meter-count-v1",
5
+ "source_dataset_id": "Shaer-AI/ashaar-with-enhanced-descriptions-baseform-final-sft-lte20-min500-splits",
6
+ "train_split": "train",
7
+ "eval_split": "eval",
8
+ "test_split": "test",
9
+ "train_size": 8,
10
+ "eval_size": 8,
11
+ "test_size": 204,
12
+ "hard_diagnostic_size": 8,
13
+ "phase1_max_bayts": "20",
14
+ "allowed_meters": [],
15
+ "train_manifest_path": "/root/workspace/Shaer/grpo/outputs/curated_meter_count_locked/cap_3000/selected_manifest.csv",
16
+ "hard_diagnostic_manifest_path": "/root/workspace/Shaer/grpo/outputs/curated_meter_count_locked/hard_diagnostic_cap_256/selected_manifest.csv",
17
+ "eval_bank_per_meter_per_bucket": 2,
18
+ "test_bank_per_meter_per_bucket": 4,
19
+ "train_length_bucket_counts": {
20
+ "11-20": 2,
21
+ "4-6": 3,
22
+ "1-3": 3
23
+ },
24
+ "eval_length_bucket_counts": {
25
+ "4-6": 4,
26
+ "1-3": 4
27
+ },
28
+ "hard_diagnostic_length_bucket_counts": {
29
+ "4-6": 3,
30
+ "11-20": 1,
31
+ "1-3": 4
32
+ },
33
+ "train_base_meter_counts": {
34
+ "الطويل": 1,
35
+ "الوافر": 3,
36
+ "الكامل": 1,
37
+ "السريع": 1,
38
+ "الخفيف": 2
39
+ },
40
+ "eval_base_meter_counts": {
41
+ "الوافر": 2,
42
+ "البسيط": 2,
43
+ "الرجز": 2,
44
+ "المنسرح": 2
45
+ },
46
+ "hard_diagnostic_base_meter_counts": {
47
+ "الرمل": 3,
48
+ "البسيط": 1,
49
+ "المتقارب": 1,
50
+ "المنسرح": 1,
51
+ "الرجز": 1,
52
+ "المديد": 1
53
+ }
54
+ }
effective_runtime_config.json ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "mode": "sanity",
3
+ "lineage": {
4
+ "created_at_utc": "2026-04-11T12:36:18Z",
5
+ "run_id": "sanity_20260411_123535",
6
+ "run_dir": "/root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535",
7
+ "chain_id": "sanity_20260411_123535",
8
+ "root_run_id": "sanity_20260411_123535",
9
+ "parent_run_id": "",
10
+ "parent_run_dir": "",
11
+ "run_sequence_index": 0
12
+ },
13
+ "dataset": {
14
+ "dataset_id": "Shaer-AI/ashaar-enhanced-desc-baseform-final-sft-lte20-min500-splits-grpo-meter-count-v1",
15
+ "dataset_source_id": "Shaer-AI/ashaar-with-enhanced-descriptions-baseform-final-sft-lte20-min500-splits",
16
+ "train_split": "train",
17
+ "eval_split": "eval",
18
+ "test_split": "test",
19
+ "train_size": 8,
20
+ "eval_size": 8,
21
+ "test_size": 204,
22
+ "hard_diagnostic_size": 8,
23
+ "phase1_max_bayts": "20",
24
+ "allowed_meters": [],
25
+ "train_manifest_path": "/root/workspace/Shaer/grpo/outputs/curated_meter_count_locked/cap_3000/selected_manifest.csv",
26
+ "hard_diagnostic_manifest_path": "/root/workspace/Shaer/grpo/outputs/curated_meter_count_locked/hard_diagnostic_cap_256/selected_manifest.csv"
27
+ },
28
+ "rewards": {
29
+ "active_rewards": [
30
+ "meter",
31
+ "exact_count_bonus"
32
+ ],
33
+ "weights": {
34
+ "meter": 1.0,
35
+ "exact_count_bonus": 0.2
36
+ }
37
+ },
38
+ "model": {
39
+ "base_model_id": "Navid-AI/Yehia-7B-preview",
40
+ "sft_adapter_repo": "Shaer-AI/Shaer-adapters",
41
+ "sft_adapter_mode": "fresh_sft/train",
42
+ "load_in_4bit_requested": true,
43
+ "gradient_checkpointing": true
44
+ },
45
+ "effective_generation": {
46
+ "use_vllm": true,
47
+ "vllm_mode": "colocate",
48
+ "vllm_gpu_memory_utilization": 0.6,
49
+ "max_prompt_length": 1024,
50
+ "max_completion_length": 640,
51
+ "temperature": 1.0,
52
+ "top_p": 1.0,
53
+ "num_generations": 2,
54
+ "num_generations_eval": 2
55
+ },
56
+ "effective_trainer": {
57
+ "learning_rate": 1e-05,
58
+ "per_device_train_batch_size": 1,
59
+ "per_device_eval_batch_size_configured": 4,
60
+ "per_device_eval_batch_size": 4,
61
+ "gradient_accumulation_steps": 8,
62
+ "max_steps": 2,
63
+ "logging_steps": 1,
64
+ "eval_steps": 1,
65
+ "save_steps": 1,
66
+ "save_total_limit": 4,
67
+ "beta": 0.02,
68
+ "bf16": true,
69
+ "load_best_model_at_end": true,
70
+ "metric_for_best_model": "eval_reward_total_mean",
71
+ "greater_is_better": true,
72
+ "hub_strategy": "HubStrategy.CHECKPOINT",
73
+ "push_to_hub": true,
74
+ "hub_model_id": "Shaer-AI/Shaer-adapters-grpo",
75
+ "generations_repo_id": "Shaer-AI/Shaer-adapters-grpo-generations"
76
+ },
77
+ "sanity_mode_note": "When mode='sanity', these effective values override the base trainer/generation blocks from config_snapshot.json."
78
+ }
env_snapshot_masked.json ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "GRPO_HARD_DIAGNOSTIC_MANIFEST_PATH": "/root/workspace/Shaer/grpo/outputs/curated_meter_count_locked/hard_diagnostic_cap_256/selected_manifest.csv",
3
+ "SHELL": "/bin/bash",
4
+ "GRPO_TRAIN_DATASET_ID": "Shaer-AI/ashaar-enhanced-desc-baseform-final-sft-lte20-min500-splits-grpo-meter-count-v1",
5
+ "COLORTERM": "",
6
+ "GRPO_RUN_DIR": "/root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535",
7
+ "ELECTRON_RUN_AS_NODE": "1",
8
+ "GH_PAGER": "cat",
9
+ "PWD": "/root/workspace/Shaer/grpo",
10
+ "LOGNAME": "root",
11
+ "VSCODE_ESM_ENTRYPOINT": "vs/workbench/api/node/extensionHostProcess",
12
+ "RUNPOD_CPU_COUNT": "32",
13
+ "MOTD_SHOWN": "pam",
14
+ "HOME": "/root",
15
+ "LANG": "C.UTF-8",
16
+ "LS_COLORS": "",
17
+ "RUNPOD_POD_ID": "k1f57wae4bek9m",
18
+ "VSCODE_AGENT_FOLDER": "/root/.vscode-server",
19
+ "GRPO_CURATED_MANIFEST_PATH": "/root/workspace/Shaer/grpo/outputs/curated_meter_count_locked/cap_3000/selected_manifest.csv",
20
+ "SSH_CONNECTION": "212.98.144.20 53044 172.18.0.2 22",
21
+ "WATCHER_STEP_EMAIL_EVERY": "1",
22
+ "RUNPOD_MEM_GB": "125",
23
+ "RUNPOD_PUBLIC_IP": "91.199.227.82",
24
+ "RUNPOD_GPU_COUNT": "1",
25
+ "VSCODE_HANDLES_SIGPIPE": "true",
26
+ "TERM": "dumb",
27
+ "CODEX_THREAD_ID": "019d7bfa-ce14-7a21-ac86-d30246a06465",
28
+ "RUNPOD_POD_HOSTNAME": "k1f57wae4bek9m-64410a37",
29
+ "GRPO_OUTPUT_REPO": "Shaer-AI/Shaer-adapters-grpo",
30
+ "USER": "root",
31
+ "GIT_PAGER": "cat",
32
+ "RUNPOD_DC_ID": "EU-NL-1",
33
+ "SHLVL": "0",
34
+ "PAGER": "cat",
35
+ "VSCODE_CWD": "/root",
36
+ "SFT_ADAPTER_MODE": "fresh_sft/train",
37
+ "VSCODE_RECONNECTION_GRACE_TIME": "10800000",
38
+ "RUNPOD_GPU_NAME": "NVIDIA+L40S",
39
+ "NO_COLOR": "1",
40
+ "CODEX_CI": "1",
41
+ "LC_CTYPE": "C.UTF-8",
42
+ "SSH_CLIENT": "212.98.144.20 53044 22",
43
+ "RUNPOD_TCP_PORT_22": "31293",
44
+ "VSCODE_CLI_REQUIRE_TOKEN": "***MASKED***",
45
+ "CODEX_INTERNAL_ORIGINATOR_OVERRIDE": "codex_vscode",
46
+ "LC_ALL": "C.UTF-8",
47
+ "SFT_ADAPTER_REPO": "Shaer-AI/Shaer-adapters",
48
+ "RUNPOD_API_KEY": "***MASKED***",
49
+ "BROWSER": "/root/.vscode-server/cli/servers/Stable-41dd792b5e652393e7787322889ed5fdc58bd75b/server/bin/helpers/browser.sh",
50
+ "PATH": "/root/workspace/Shaer/grpo/.venv/bin:/root/.codex/tmp/arg0/codex-arg0uP3dEp:/root/.vscode-server/cli/servers/Stable-41dd792b5e652393e7787322889ed5fdc58bd75b/server/bin/remote-cli:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/.vscode-server/extensions/openai.chatgpt-26.409.20454-linux-x64/bin/linux-x86_64",
51
+ "APPLICATION_INSIGHTS_NO_STATSBEAT": "true",
52
+ "RUST_LOG": "warn",
53
+ "VSCODE_NLS_CONFIG": "{\"userLocale\":\"en\",\"osLocale\":\"en\",\"resolvedLanguage\":\"en\",\"defaultMessagesFile\":\"/root/.vscode-server/cli/servers/Stable-41dd792b5e652393e7787322889ed5fdc58bd75b/server/out/nls.messages.json\",\"locale\":\"en\",\"availableLanguages\":{}}",
54
+ "DEBUG": "release",
55
+ "GRPO_SOURCE_DATASET_ID": "Shaer-AI/ashaar-with-enhanced-descriptions-baseform-final-sft-lte20-min500-splits",
56
+ "BASE_MODEL_ID": "Navid-AI/Yehia-7B-preview",
57
+ "VSCODE_HANDLES_UNCAUGHT_ERRORS": "true",
58
+ "OLDPWD": "/root/workspace/Shaer/grpo",
59
+ "VSCODE_IPC_HOOK_CLI": "/tmp/vscode-ipc-ed4bc0bd-e9b5-43e5-9163-3436ac0e66d2.sock",
60
+ "_": "/usr/bin/setsid",
61
+ "PYTORCH_NVML_BASED_CUDA_CHECK": "1",
62
+ "TORCHINDUCTOR_COMPILE_THREADS": "1",
63
+ "HF_TOKEN": "***MASKED***",
64
+ "HF_HOME": "/workspace/.hf_home",
65
+ "HF_HUB_CACHE": "/workspace/.hf_home/hub",
66
+ "SOURCE_DATASET_ID": "Shaer-AI/ashaar-with-descriptions-baseform-final-trimmed",
67
+ "PHASE1_DATASET_SOURCE_ID": "Shaer-AI/ashaar-with-descriptions-baseform-final-trimmed-maxlen20-drop-majzuu-wafer-drop-motadarak",
68
+ "PHASE1_DATASET_ID": "Shaer-AI/ashaar-with-descriptions-baseform-final-trimmed-maxlen20-drop-majz-037e6c0b-grpo-splits",
69
+ "PHASE1_MAX_BAYTS": "20",
70
+ "PHASE1_ALLOWED_METERS": "",
71
+ "METER_MODEL_ID": "Shaer-AI/4BiLSTM-meter-classification-pytorch",
72
+ "OPENROUTER_API_KEY": "***MASKED***",
73
+ "JUDGE_BASE_URL": "https://openrouter.ai/api/v1",
74
+ "JUDGE_MODEL": "qwen/qwen3.5-35b-a3b",
75
+ "JUDGE_TIMEOUT_SECONDS": "60",
76
+ "JUDGE_MAX_RETRIES": "3",
77
+ "OPENROUTER_REFERRER": "",
78
+ "OPENROUTER_APP_TITLE": "Shaer-GRPO",
79
+ "WATCHER_EMAIL_ENABLED": "true",
80
+ "WATCHER_SMTP_HOST": "smtp.gmail.com",
81
+ "WATCHER_SMTP_PORT": "587",
82
+ "WATCHER_SMTP_USERNAME": "abbassahmad050@gmail.com",
83
+ "WATCHER_SMTP_PASSWORD": "***MASKED***",
84
+ "WATCHER_FROM_EMAIL": "abbassahmad050@gmail.com",
85
+ "WATCHER_TO_EMAIL": "abbassahmad050@gmail.com",
86
+ "WATCHER_INTERVAL_MINUTES": "30",
87
+ "WATCHER_STALE_MINUTES": "20",
88
+ "REWARD_CACHE_DIR": "./cache/reward_cache",
89
+ "MEANING_FIT_PROMPT_FILE": "prompts/meaning_fit.yaml",
90
+ "MEANING_SUBSTANCE_PROMPT_FILE": "prompts/meaning_substance.yaml",
91
+ "GRPO_RESUME_MODE": "auto",
92
+ "GRPO_RESUME_PATH": "",
93
+ "WATCHER_STATE_DIR": "./watcher_state",
94
+ "CUDA_MODULE_LOADING": "LAZY",
95
+ "TORCHINDUCTOR_CACHE_DIR": "/tmp/torchinductor_root"
96
+ }
final_adapter/README.md ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Navid-AI/Yehia-7B-preview
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:Navid-AI/Yehia-7B-preview
7
+ - grpo
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.17.1
final_adapter/adapter_config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "Navid-AI/Yehia-7B-preview",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": false,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 128,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0.05,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": null,
22
+ "peft_type": "LORA",
23
+ "qalora_group_size": 16,
24
+ "r": 64,
25
+ "rank_pattern": {},
26
+ "revision": null,
27
+ "target_modules": [
28
+ "down_proj",
29
+ "q_proj",
30
+ "k_proj",
31
+ "v_proj",
32
+ "gate_proj",
33
+ "o_proj",
34
+ "up_proj"
35
+ ],
36
+ "target_parameters": null,
37
+ "task_type": "CAUSAL_LM",
38
+ "trainable_token_indices": null,
39
+ "use_dora": false,
40
+ "use_qalora": false,
41
+ "use_rslora": true
42
+ }
final_adapter/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6e7d76bd2217e361a0105428ad4b58cfb0a102a6f74d9f269a347de7707916c
3
+ size 639691872
final_adapter/chat_template.jinja ADDED
@@ -0,0 +1 @@
 
 
1
+ {% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% set system_message = false %}{% endif %}{% for message in loop_messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if loop.index0 == 0 and system_message != false %}{% set content = '<<SYS>>\n' + system_message + '\n<</SYS>>\n\n' + message['content'] %}{% else %}{% set content = message['content'] %}{% endif %}{% if message['role'] == 'user' %}{{ bos_token + ' [INST] ' + content.strip() + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ ' ' + content.strip() + ' ' + eos_token }}{% endif %}{% endfor %}
final_adapter/special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<unk>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
final_adapter/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
final_adapter/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:feff3deb3537c4a47b77585053ad2aa00484da7907b188e0111cbed1f4592e67
3
+ size 1228714
final_adapter/tokenizer_config.json ADDED
@@ -0,0 +1,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": null,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<unk>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<s>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "</s>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": true
29
+ },
30
+ "3": {
31
+ "content": "0",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false,
36
+ "special": false
37
+ },
38
+ "4": {
39
+ "content": "1",
40
+ "lstrip": false,
41
+ "normalized": false,
42
+ "rstrip": false,
43
+ "single_word": false,
44
+ "special": false
45
+ },
46
+ "5": {
47
+ "content": "2",
48
+ "lstrip": false,
49
+ "normalized": false,
50
+ "rstrip": false,
51
+ "single_word": false,
52
+ "special": false
53
+ },
54
+ "6": {
55
+ "content": "3",
56
+ "lstrip": false,
57
+ "normalized": false,
58
+ "rstrip": false,
59
+ "single_word": false,
60
+ "special": false
61
+ },
62
+ "7": {
63
+ "content": "4",
64
+ "lstrip": false,
65
+ "normalized": false,
66
+ "rstrip": false,
67
+ "single_word": false,
68
+ "special": false
69
+ },
70
+ "8": {
71
+ "content": "5",
72
+ "lstrip": false,
73
+ "normalized": false,
74
+ "rstrip": false,
75
+ "single_word": false,
76
+ "special": false
77
+ },
78
+ "9": {
79
+ "content": "6",
80
+ "lstrip": false,
81
+ "normalized": false,
82
+ "rstrip": false,
83
+ "single_word": false,
84
+ "special": false
85
+ },
86
+ "10": {
87
+ "content": "7",
88
+ "lstrip": false,
89
+ "normalized": false,
90
+ "rstrip": false,
91
+ "single_word": false,
92
+ "special": false
93
+ },
94
+ "11": {
95
+ "content": "8",
96
+ "lstrip": false,
97
+ "normalized": false,
98
+ "rstrip": false,
99
+ "single_word": false,
100
+ "special": false
101
+ },
102
+ "12": {
103
+ "content": "9",
104
+ "lstrip": false,
105
+ "normalized": false,
106
+ "rstrip": false,
107
+ "single_word": false,
108
+ "special": false
109
+ },
110
+ "13": {
111
+ "content": "٠",
112
+ "lstrip": false,
113
+ "normalized": false,
114
+ "rstrip": false,
115
+ "single_word": false,
116
+ "special": false
117
+ },
118
+ "14": {
119
+ "content": "١",
120
+ "lstrip": false,
121
+ "normalized": false,
122
+ "rstrip": false,
123
+ "single_word": false,
124
+ "special": false
125
+ },
126
+ "15": {
127
+ "content": "٢",
128
+ "lstrip": false,
129
+ "normalized": false,
130
+ "rstrip": false,
131
+ "single_word": false,
132
+ "special": false
133
+ },
134
+ "16": {
135
+ "content": "٣",
136
+ "lstrip": false,
137
+ "normalized": false,
138
+ "rstrip": false,
139
+ "single_word": false,
140
+ "special": false
141
+ },
142
+ "17": {
143
+ "content": "٤",
144
+ "lstrip": false,
145
+ "normalized": false,
146
+ "rstrip": false,
147
+ "single_word": false,
148
+ "special": false
149
+ },
150
+ "18": {
151
+ "content": "٥",
152
+ "lstrip": false,
153
+ "normalized": false,
154
+ "rstrip": false,
155
+ "single_word": false,
156
+ "special": false
157
+ },
158
+ "19": {
159
+ "content": "٦",
160
+ "lstrip": false,
161
+ "normalized": false,
162
+ "rstrip": false,
163
+ "single_word": false,
164
+ "special": false
165
+ },
166
+ "20": {
167
+ "content": "٧",
168
+ "lstrip": false,
169
+ "normalized": false,
170
+ "rstrip": false,
171
+ "single_word": false,
172
+ "special": false
173
+ },
174
+ "21": {
175
+ "content": "٨",
176
+ "lstrip": false,
177
+ "normalized": false,
178
+ "rstrip": false,
179
+ "single_word": false,
180
+ "special": false
181
+ },
182
+ "22": {
183
+ "content": "٩",
184
+ "lstrip": false,
185
+ "normalized": false,
186
+ "rstrip": false,
187
+ "single_word": false,
188
+ "special": false
189
+ }
190
+ },
191
+ "bos_token": "<s>",
192
+ "clean_up_tokenization_spaces": false,
193
+ "eos_token": "</s>",
194
+ "extra_special_tokens": {},
195
+ "legacy": false,
196
+ "max_length": null,
197
+ "model_max_length": 1000000000000000019884624838656,
198
+ "pad_to_multiple_of": null,
199
+ "pad_token": "</s>",
200
+ "pad_token_type_id": 0,
201
+ "padding_side": "left",
202
+ "sp_model_kwargs": {},
203
+ "spaces_between_special_tokens": false,
204
+ "tokenizer_class": "LlamaTokenizer",
205
+ "unk_token": "<unk>",
206
+ "use_default_system_prompt": false
207
+ }
final_adapter/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db731ea07f7115ffcb5149d49416307df7dcb073f007323a332c0ea8a4ede3cf
3
+ size 7441
lineage.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "created_at_utc": "2026-04-11T12:36:18Z",
3
+ "run_id": "sanity_20260411_123535",
4
+ "run_dir": "/root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535",
5
+ "chain_id": "sanity_20260411_123535",
6
+ "root_run_id": "sanity_20260411_123535",
7
+ "parent_run_id": "",
8
+ "parent_run_dir": "",
9
+ "run_sequence_index": 0
10
+ }
metrics.csv ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ clip_ratio/high_max,clip_ratio/high_mean,clip_ratio/low_mean,clip_ratio/low_min,clip_ratio/region_mean,completions/clipped_ratio,completions/max_length,completions/max_terminated_length,completions/mean_length,completions/mean_terminated_length,completions/min_length,completions/min_terminated_length,entropy,epoch,eval_clip_ratio/high_max,eval_clip_ratio/high_mean,eval_clip_ratio/low_mean,eval_clip_ratio/low_min,eval_clip_ratio/region_mean,eval_completions/clipped_ratio,eval_completions/max_length,eval_completions/max_terminated_length,eval_completions/mean_length,eval_completions/mean_terminated_length,eval_completions/min_length,eval_completions/min_terminated_length,eval_entropy,eval_frac_reward_zero_std,eval_kl,eval_loss,eval_num_tokens,eval_reward,eval_reward_exact_count_bonus_mean,eval_reward_exact_count_bonus_std,eval_reward_meter_mean,eval_reward_meter_std,eval_reward_std,eval_reward_total_mean,eval_rewards/exact_count_bonus/mean,eval_rewards/exact_count_bonus/std,eval_rewards/meter/mean,eval_rewards/meter/std,eval_runtime,eval_samples_per_second,eval_sampling/importance_sampling_ratio/max,eval_sampling/importance_sampling_ratio/mean,eval_sampling/importance_sampling_ratio/min,eval_sampling/sampling_logp_difference/max,eval_sampling/sampling_logp_difference/mean,eval_steps_per_second,frac_reward_zero_std,global_step,grad_norm,kl,learning_rate,loss,mode,num_tokens,reward,reward_exact_count_bonus_mean,reward_exact_count_bonus_std,reward_meter_mean,reward_meter_std,reward_std,reward_total_mean,rewards/exact_count_bonus/mean,rewards/exact_count_bonus/std,rewards/meter/mean,rewards/meter/std,sampling/importance_sampling_ratio/max,sampling/importance_sampling_ratio/mean,sampling/importance_sampling_ratio/min,sampling/sampling_logp_difference/max,sampling/sampling_logp_difference/mean,timestamp_utc,total_flos,train_loss,train_runtime,train_samples_per_second,train_steps_per_second
2
+ 0.10928299836814404,0.10928299836814404,0.09094957076013088,0.09094957076013088,0.20023256912827492,0.25,640.0,237.0,282.125,162.83334350585938,86.0,86.0,3.2345626056194305,0.5,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,0.0,1,4.5472893714904785,0.9608133509755135,1e-05,0.0268,train,3887.0,0.2736811637878418,0.25,0.4629100561141968,0.22368116676807404,0.30434706807136536,0.25279727578163147,0.2736811637878418,0.25,0.4629100561141968,0.22368116676807404,0.30434706807136536,2.0,0.9976902008056641,0.24163144826889038,1.4203417301177979,0.15930314362049103,2026-04-11T12:37:27Z,,,,,
3
+ ,,,,,,,,,,,,,0.5,0.0,0.0,0.0,0.0,0.0,0.0,156.0,156.0,106.125,106.125,69.25,69.25,2.1008258759975433,0.0,1.3679395914077759,0.0866735428571701,3887.0,0.42203541100025177,0.9375,0.125,0.23453541472554207,0.22889509424567223,0.2391926608979702,0.42203541100025177,0.9375,0.125,0.23453541472554207,0.22889509424567223,15.7215,0.509,1.2397247850894928,0.9995981901884079,0.7994033098220825,0.24606388807296753,0.034631784074008465,0.127,,1,,,,,eval,,,,,,,,,,,,,,,,,,2026-04-11T12:37:42Z,,,,,
4
+ 0.11229794658720493,0.11229794658720493,0.12490623071789742,0.12490623071789742,0.23720417730510235,0.0,146.0,146.0,71.875,71.875,35.0,35.0,2.25409172475338,1.0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,0.0,2,10.63160228729248,1.4957870244979858,5e-06,0.0936,train,5744.0,0.5511556267738342,1.0,0.0,0.3511555790901184,0.30735185742378235,0.16572850942611694,0.5511556267738342,1.0,0.0,0.3511555790901184,0.30735185742378235,2.0,0.9942735433578491,0.17049983143806458,1.7690210342407227,0.18746040761470795,2026-04-11T12:37:51Z,,,,,
5
+ ,,,,,,,,,,,,,1.0,0.0,0.0,0.0,0.0,0.0,0.0,140.75,140.75,97.8125,97.8125,69.0,69.0,2.2587124407291412,0.0,1.46183642745018,0.06863964349031448,5744.0,0.6070040911436081,1.0,0.0,0.40700408816337585,0.3741379380226135,0.30008064955472946,0.6070040911436081,1.0,0.0,0.40700408816337585,0.3741379380226135,14.0,0.571,1.2537521719932556,0.9988586455583572,0.7956851571798325,0.24058371782302856,0.03424238506704569,0.143,,2,,,,,eval,,,,,,,,,,,,,,,,,,2026-04-11T12:38:05Z,,,,,
6
+ ,,,,,,,,,,,,,1.0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,2,,,,,train,,,,,,,,,,,,,,,,,,2026-04-11T12:38:07Z,0.0,0.060226328670978546,62.6885,0.255,0.032
metrics.jsonl ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {"timestamp_utc": "2026-04-11T12:37:27Z", "mode": "train", "global_step": 1, "epoch": 0.5, "loss": 0.0268, "grad_norm": 4.5472893714904785, "learning_rate": 1e-05, "num_tokens": 3887.0, "completions/mean_length": 282.125, "completions/min_length": 86.0, "completions/max_length": 640.0, "completions/clipped_ratio": 0.25, "completions/mean_terminated_length": 162.83334350585938, "completions/min_terminated_length": 86.0, "completions/max_terminated_length": 237.0, "rewards/meter/mean": 0.22368116676807404, "rewards/meter/std": 0.30434706807136536, "rewards/exact_count_bonus/mean": 0.25, "rewards/exact_count_bonus/std": 0.4629100561141968, "reward": 0.2736811637878418, "reward_std": 0.25279727578163147, "frac_reward_zero_std": 0.0, "sampling/sampling_logp_difference/mean": 0.15930314362049103, "sampling/sampling_logp_difference/max": 1.4203417301177979, "sampling/importance_sampling_ratio/min": 0.24163144826889038, "sampling/importance_sampling_ratio/mean": 0.9976902008056641, "sampling/importance_sampling_ratio/max": 2.0, "kl": 0.9608133509755135, "entropy": 3.2345626056194305, "clip_ratio/low_mean": 0.09094957076013088, "clip_ratio/low_min": 0.09094957076013088, "clip_ratio/high_mean": 0.10928299836814404, "clip_ratio/high_max": 0.10928299836814404, "clip_ratio/region_mean": 0.20023256912827492, "reward_total_mean": 0.2736811637878418, "reward_meter_mean": 0.22368116676807404, "reward_meter_std": 0.30434706807136536, "reward_exact_count_bonus_mean": 0.25, "reward_exact_count_bonus_std": 0.4629100561141968}
2
+ {"timestamp_utc": "2026-04-11T12:37:42Z", "mode": "eval", "global_step": 1, "epoch": 0.5, "eval_loss": 0.0866735428571701, "eval_runtime": 15.7215, "eval_samples_per_second": 0.509, "eval_steps_per_second": 0.127, "eval_num_tokens": 3887.0, "eval_completions/mean_length": 106.125, "eval_completions/min_length": 69.25, "eval_completions/max_length": 156.0, "eval_completions/clipped_ratio": 0.0, "eval_completions/mean_terminated_length": 106.125, "eval_completions/min_terminated_length": 69.25, "eval_completions/max_terminated_length": 156.0, "eval_rewards/meter/mean": 0.23453541472554207, "eval_rewards/meter/std": 0.22889509424567223, "eval_rewards/exact_count_bonus/mean": 0.9375, "eval_rewards/exact_count_bonus/std": 0.125, "eval_reward": 0.42203541100025177, "eval_reward_std": 0.2391926608979702, "eval_frac_reward_zero_std": 0.0, "eval_sampling/sampling_logp_difference/mean": 0.034631784074008465, "eval_sampling/sampling_logp_difference/max": 0.24606388807296753, "eval_sampling/importance_sampling_ratio/min": 0.7994033098220825, "eval_sampling/importance_sampling_ratio/mean": 0.9995981901884079, "eval_sampling/importance_sampling_ratio/max": 1.2397247850894928, "eval_kl": 1.3679395914077759, "eval_entropy": 2.1008258759975433, "eval_clip_ratio/low_mean": 0.0, "eval_clip_ratio/low_min": 0.0, "eval_clip_ratio/high_mean": 0.0, "eval_clip_ratio/high_max": 0.0, "eval_clip_ratio/region_mean": 0.0, "eval_reward_total_mean": 0.42203541100025177, "eval_reward_meter_mean": 0.23453541472554207, "eval_reward_meter_std": 0.22889509424567223, "eval_reward_exact_count_bonus_mean": 0.9375, "eval_reward_exact_count_bonus_std": 0.125}
3
+ {"timestamp_utc": "2026-04-11T12:37:51Z", "mode": "train", "global_step": 2, "epoch": 1.0, "loss": 0.0936, "grad_norm": 10.63160228729248, "learning_rate": 5e-06, "num_tokens": 5744.0, "completions/mean_length": 71.875, "completions/min_length": 35.0, "completions/max_length": 146.0, "completions/clipped_ratio": 0.0, "completions/mean_terminated_length": 71.875, "completions/min_terminated_length": 35.0, "completions/max_terminated_length": 146.0, "rewards/meter/mean": 0.3511555790901184, "rewards/meter/std": 0.30735185742378235, "rewards/exact_count_bonus/mean": 1.0, "rewards/exact_count_bonus/std": 0.0, "reward": 0.5511556267738342, "reward_std": 0.16572850942611694, "frac_reward_zero_std": 0.0, "sampling/sampling_logp_difference/mean": 0.18746040761470795, "sampling/sampling_logp_difference/max": 1.7690210342407227, "sampling/importance_sampling_ratio/min": 0.17049983143806458, "sampling/importance_sampling_ratio/mean": 0.9942735433578491, "sampling/importance_sampling_ratio/max": 2.0, "kl": 1.4957870244979858, "entropy": 2.25409172475338, "clip_ratio/low_mean": 0.12490623071789742, "clip_ratio/low_min": 0.12490623071789742, "clip_ratio/high_mean": 0.11229794658720493, "clip_ratio/high_max": 0.11229794658720493, "clip_ratio/region_mean": 0.23720417730510235, "reward_total_mean": 0.5511556267738342, "reward_meter_mean": 0.3511555790901184, "reward_meter_std": 0.30735185742378235, "reward_exact_count_bonus_mean": 1.0, "reward_exact_count_bonus_std": 0.0}
4
+ {"timestamp_utc": "2026-04-11T12:38:05Z", "mode": "eval", "global_step": 2, "epoch": 1.0, "eval_loss": 0.06863964349031448, "eval_runtime": 14.0, "eval_samples_per_second": 0.571, "eval_steps_per_second": 0.143, "eval_num_tokens": 5744.0, "eval_completions/mean_length": 97.8125, "eval_completions/min_length": 69.0, "eval_completions/max_length": 140.75, "eval_completions/clipped_ratio": 0.0, "eval_completions/mean_terminated_length": 97.8125, "eval_completions/min_terminated_length": 69.0, "eval_completions/max_terminated_length": 140.75, "eval_rewards/meter/mean": 0.40700408816337585, "eval_rewards/meter/std": 0.3741379380226135, "eval_rewards/exact_count_bonus/mean": 1.0, "eval_rewards/exact_count_bonus/std": 0.0, "eval_reward": 0.6070040911436081, "eval_reward_std": 0.30008064955472946, "eval_frac_reward_zero_std": 0.0, "eval_sampling/sampling_logp_difference/mean": 0.03424238506704569, "eval_sampling/sampling_logp_difference/max": 0.24058371782302856, "eval_sampling/importance_sampling_ratio/min": 0.7956851571798325, "eval_sampling/importance_sampling_ratio/mean": 0.9988586455583572, "eval_sampling/importance_sampling_ratio/max": 1.2537521719932556, "eval_kl": 1.46183642745018, "eval_entropy": 2.2587124407291412, "eval_clip_ratio/low_mean": 0.0, "eval_clip_ratio/low_min": 0.0, "eval_clip_ratio/high_mean": 0.0, "eval_clip_ratio/high_max": 0.0, "eval_clip_ratio/region_mean": 0.0, "eval_reward_total_mean": 0.6070040911436081, "eval_reward_meter_mean": 0.40700408816337585, "eval_reward_meter_std": 0.3741379380226135, "eval_reward_exact_count_bonus_mean": 1.0, "eval_reward_exact_count_bonus_std": 0.0}
5
+ {"timestamp_utc": "2026-04-11T12:38:07Z", "mode": "train", "global_step": 2, "epoch": 1.0, "train_runtime": 62.6885, "train_samples_per_second": 0.255, "train_steps_per_second": 0.032, "total_flos": 0.0, "train_loss": 0.060226328670978546}
plots/chain_metrics.jsonl ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {"timestamp_utc": "2026-04-11T12:37:27Z", "mode": "train", "global_step": 1, "epoch": 0.5, "loss": 0.0268, "grad_norm": 4.5472893714904785, "learning_rate": 1e-05, "num_tokens": 3887.0, "completions/mean_length": 282.125, "completions/min_length": 86.0, "completions/max_length": 640.0, "completions/clipped_ratio": 0.25, "completions/mean_terminated_length": 162.83334350585938, "completions/min_terminated_length": 86.0, "completions/max_terminated_length": 237.0, "rewards/meter/mean": 0.22368116676807404, "rewards/meter/std": 0.30434706807136536, "rewards/exact_count_bonus/mean": 0.25, "rewards/exact_count_bonus/std": 0.4629100561141968, "reward": 0.2736811637878418, "reward_std": 0.25279727578163147, "frac_reward_zero_std": 0.0, "sampling/sampling_logp_difference/mean": 0.15930314362049103, "sampling/sampling_logp_difference/max": 1.4203417301177979, "sampling/importance_sampling_ratio/min": 0.24163144826889038, "sampling/importance_sampling_ratio/mean": 0.9976902008056641, "sampling/importance_sampling_ratio/max": 2.0, "kl": 0.9608133509755135, "entropy": 3.2345626056194305, "clip_ratio/low_mean": 0.09094957076013088, "clip_ratio/low_min": 0.09094957076013088, "clip_ratio/high_mean": 0.10928299836814404, "clip_ratio/high_max": 0.10928299836814404, "clip_ratio/region_mean": 0.20023256912827492, "reward_total_mean": 0.2736811637878418, "reward_meter_mean": 0.22368116676807404, "reward_meter_std": 0.30434706807136536, "reward_exact_count_bonus_mean": 0.25, "reward_exact_count_bonus_std": 0.4629100561141968, "run_id": "sanity_20260411_123535", "run_sequence_index": 0}
2
+ {"timestamp_utc": "2026-04-11T12:37:42Z", "mode": "eval", "global_step": 1, "epoch": 0.5, "eval_loss": 0.0866735428571701, "eval_runtime": 15.7215, "eval_samples_per_second": 0.509, "eval_steps_per_second": 0.127, "eval_num_tokens": 3887.0, "eval_completions/mean_length": 106.125, "eval_completions/min_length": 69.25, "eval_completions/max_length": 156.0, "eval_completions/clipped_ratio": 0.0, "eval_completions/mean_terminated_length": 106.125, "eval_completions/min_terminated_length": 69.25, "eval_completions/max_terminated_length": 156.0, "eval_rewards/meter/mean": 0.23453541472554207, "eval_rewards/meter/std": 0.22889509424567223, "eval_rewards/exact_count_bonus/mean": 0.9375, "eval_rewards/exact_count_bonus/std": 0.125, "eval_reward": 0.42203541100025177, "eval_reward_std": 0.2391926608979702, "eval_frac_reward_zero_std": 0.0, "eval_sampling/sampling_logp_difference/mean": 0.034631784074008465, "eval_sampling/sampling_logp_difference/max": 0.24606388807296753, "eval_sampling/importance_sampling_ratio/min": 0.7994033098220825, "eval_sampling/importance_sampling_ratio/mean": 0.9995981901884079, "eval_sampling/importance_sampling_ratio/max": 1.2397247850894928, "eval_kl": 1.3679395914077759, "eval_entropy": 2.1008258759975433, "eval_clip_ratio/low_mean": 0.0, "eval_clip_ratio/low_min": 0.0, "eval_clip_ratio/high_mean": 0.0, "eval_clip_ratio/high_max": 0.0, "eval_clip_ratio/region_mean": 0.0, "eval_reward_total_mean": 0.42203541100025177, "eval_reward_meter_mean": 0.23453541472554207, "eval_reward_meter_std": 0.22889509424567223, "eval_reward_exact_count_bonus_mean": 0.9375, "eval_reward_exact_count_bonus_std": 0.125, "run_id": "sanity_20260411_123535", "run_sequence_index": 0}
3
+ {"timestamp_utc": "2026-04-11T12:37:51Z", "mode": "train", "global_step": 2, "epoch": 1.0, "loss": 0.0936, "grad_norm": 10.63160228729248, "learning_rate": 5e-06, "num_tokens": 5744.0, "completions/mean_length": 71.875, "completions/min_length": 35.0, "completions/max_length": 146.0, "completions/clipped_ratio": 0.0, "completions/mean_terminated_length": 71.875, "completions/min_terminated_length": 35.0, "completions/max_terminated_length": 146.0, "rewards/meter/mean": 0.3511555790901184, "rewards/meter/std": 0.30735185742378235, "rewards/exact_count_bonus/mean": 1.0, "rewards/exact_count_bonus/std": 0.0, "reward": 0.5511556267738342, "reward_std": 0.16572850942611694, "frac_reward_zero_std": 0.0, "sampling/sampling_logp_difference/mean": 0.18746040761470795, "sampling/sampling_logp_difference/max": 1.7690210342407227, "sampling/importance_sampling_ratio/min": 0.17049983143806458, "sampling/importance_sampling_ratio/mean": 0.9942735433578491, "sampling/importance_sampling_ratio/max": 2.0, "kl": 1.4957870244979858, "entropy": 2.25409172475338, "clip_ratio/low_mean": 0.12490623071789742, "clip_ratio/low_min": 0.12490623071789742, "clip_ratio/high_mean": 0.11229794658720493, "clip_ratio/high_max": 0.11229794658720493, "clip_ratio/region_mean": 0.23720417730510235, "reward_total_mean": 0.5511556267738342, "reward_meter_mean": 0.3511555790901184, "reward_meter_std": 0.30735185742378235, "reward_exact_count_bonus_mean": 1.0, "reward_exact_count_bonus_std": 0.0, "run_id": "sanity_20260411_123535", "run_sequence_index": 0}
4
+ {"timestamp_utc": "2026-04-11T12:38:07Z", "mode": "train", "global_step": 2, "epoch": 1.0, "train_runtime": 62.6885, "train_samples_per_second": 0.255, "train_steps_per_second": 0.032, "total_flos": 0.0, "train_loss": 0.060226328670978546, "run_id": "sanity_20260411_123535", "run_sequence_index": 0}
5
+ {"timestamp_utc": "2026-04-11T12:38:05Z", "mode": "eval", "global_step": 2, "epoch": 1.0, "eval_loss": 0.06863964349031448, "eval_runtime": 14.0, "eval_samples_per_second": 0.571, "eval_steps_per_second": 0.143, "eval_num_tokens": 5744.0, "eval_completions/mean_length": 97.8125, "eval_completions/min_length": 69.0, "eval_completions/max_length": 140.75, "eval_completions/clipped_ratio": 0.0, "eval_completions/mean_terminated_length": 97.8125, "eval_completions/min_terminated_length": 69.0, "eval_completions/max_terminated_length": 140.75, "eval_rewards/meter/mean": 0.40700408816337585, "eval_rewards/meter/std": 0.3741379380226135, "eval_rewards/exact_count_bonus/mean": 1.0, "eval_rewards/exact_count_bonus/std": 0.0, "eval_reward": 0.6070040911436081, "eval_reward_std": 0.30008064955472946, "eval_frac_reward_zero_std": 0.0, "eval_sampling/sampling_logp_difference/mean": 0.03424238506704569, "eval_sampling/sampling_logp_difference/max": 0.24058371782302856, "eval_sampling/importance_sampling_ratio/min": 0.7956851571798325, "eval_sampling/importance_sampling_ratio/mean": 0.9988586455583572, "eval_sampling/importance_sampling_ratio/max": 1.2537521719932556, "eval_kl": 1.46183642745018, "eval_entropy": 2.2587124407291412, "eval_clip_ratio/low_mean": 0.0, "eval_clip_ratio/low_min": 0.0, "eval_clip_ratio/high_mean": 0.0, "eval_clip_ratio/high_max": 0.0, "eval_clip_ratio/region_mean": 0.0, "eval_reward_total_mean": 0.6070040911436081, "eval_reward_meter_mean": 0.40700408816337585, "eval_reward_meter_std": 0.3741379380226135, "eval_reward_exact_count_bonus_mean": 1.0, "eval_reward_exact_count_bonus_std": 0.0, "run_id": "sanity_20260411_123535", "run_sequence_index": 0}
plots/chain_runs.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "run_id": "sanity_20260411_123535",
4
+ "run_dir": "/root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535",
5
+ "run_sequence_index": 0,
6
+ "chain_id": "sanity_20260411_123535"
7
+ }
8
+ ]
plots/reward_panels_eval_chain.png ADDED

Git LFS Details

  • SHA256: 325df310da32be742f198c9414a2ed045ee0801319a01949fa253173906bf567
  • Pointer size: 131 Bytes
  • Size of remote file: 142 kB
plots/reward_panels_eval_run.png ADDED

Git LFS Details

  • SHA256: a43ba6dfd182f4be07a046795ee0c64dcf11b607c1466f98fcbb710ec5af2366
  • Pointer size: 131 Bytes
  • Size of remote file: 142 kB
plots/reward_panels_train_chain.png ADDED

Git LFS Details

  • SHA256: 23eec7c71448f6027a7cddd8358fe3b416694658fe4b303e1cf98a03ade78516
  • Pointer size: 131 Bytes
  • Size of remote file: 160 kB
plots/reward_panels_train_run.png ADDED

Git LFS Details

  • SHA256: 0362817df9071c029c3c0dd3df8314ebe841c2ed09dbbcdb8310e422f86074de
  • Pointer size: 131 Bytes
  • Size of remote file: 159 kB
plotter.log ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_train_run.png
2
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_eval_run.png
3
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_train_chain.png
4
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_eval_chain.png
5
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_train_run.png
6
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_eval_run.png
7
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_train_chain.png
8
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_eval_chain.png
9
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_train_run.png
10
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_eval_run.png
11
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_train_chain.png
12
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_eval_chain.png
13
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_train_run.png
14
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_eval_run.png
15
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_train_chain.png
16
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_eval_chain.png
17
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_train_run.png
18
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_eval_run.png
19
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_train_chain.png
20
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_eval_chain.png
21
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_train_run.png
22
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_eval_run.png
23
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_train_chain.png
24
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_eval_chain.png
25
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_train_run.png
26
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_eval_run.png
27
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_train_chain.png
28
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_eval_chain.png
29
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_train_run.png
30
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_eval_run.png
31
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_train_chain.png
32
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_eval_chain.png
33
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_train_run.png
34
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_eval_run.png
35
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_train_chain.png
36
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_eval_chain.png
37
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_train_run.png
38
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_eval_run.png
39
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_train_chain.png
40
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_eval_chain.png
41
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_train_run.png
42
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_eval_run.png
43
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_train_chain.png
44
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_eval_chain.png
45
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_train_run.png
46
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_eval_run.png
47
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_train_chain.png
48
+ [plot_live_rewards] updated /root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535/plots/reward_panels_eval_chain.png
plotter.pid ADDED
@@ -0,0 +1 @@
 
 
1
+ 11521
resume_decision.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "timestamp_utc": "2026-04-11T12:36:18Z",
3
+ "resume_mode": "auto",
4
+ "requested_spec": "",
5
+ "result": "fresh",
6
+ "reason": "resume_not_found: FileNotFoundError",
7
+ "local_resume_path": null,
8
+ "remote_repo": null,
9
+ "remote_prefix": null,
10
+ "compatibility": "unchecked",
11
+ "config_fingerprint": "f1af89e03892f32e677c238fac409c4e9de7ee84de340974e468cc8fb4c82d8b"
12
+ }
reward_exact_count_bonus_debug.jsonl ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"i": 0, "score": 0.0, "requested_bayts": 6, "generated_bayts": 7, "has_odd_tail": false, "num_lines": 14, "exact_count": false, "bonus_value": 0.0, "complete_bayts": 7, "dataset_split": "train", "poem_preview": "أتى مؤسسها لنا فرداً شريراً\nوبتنا آمريه أمراً جميعاً\nبعثنا أفاويقنا ووفراً\nوأتحفنا بأرزاقنا جميعاً\nهدفنا ما نطيق الحياة حسناً\nوقد أعطتني الخمرة قرطعاً دقيقاً\nوبحتُ عِذارحي وعلمت صبري\nوقد أنفقت هديا عليّ رقيّا\nفيا للعالمين كم دولة حلّت\nلشقينا وكم هم أدركا فيه\nفصار العدل والفسحة منساقاً\nوحالف الغي بعدو هنالك إياك\nوصروف الزمان وقل وسميك\nقد أصبحت خامل الحق حبيرا"}
2
+ {"i": 1, "score": 1.0, "requested_bayts": 6, "generated_bayts": 6, "has_odd_tail": false, "num_lines": 12, "exact_count": true, "bonus_value": 0.2, "complete_bayts": 6, "dataset_split": "train", "poem_preview": "كانَ عِزٌ فَحَلَّ جِذلانِ طَروقاً\nفِي حَشاهُ بِالخُمُولِ وَتَقطِيعِ\nوَمِنَ المَورِقِ الجَديدِ صَرَيمٌ\nيَستَدارُ الخُلودِ فِي القَصدِ جَتمِع\nفَالنَّيلُ أَقسَمُ رَض يُنيخُ سُوراً\nنَحوَهُ بُرءَةٌ مِنَ الأَبعَدِ البُلغ\nهُوَكتوريا ألقَبوتُ وَسطُوهُ\nقَد تَهابَت دِعائِمَ البُطُلِ البُلغ\nأرضُهَا في اِنحِلالٍ فَعارضَتها\nبِالمِحَلِّ المُخمِسِ الخُلوِفِ البُلغ\nنِمتُ مُفَرِّداً بِغُربَةٍ يَوماً\nفَوَجَدتُ فِي "}
3
+ {"i": 2, "score": 0.0, "requested_bayts": 17, "generated_bayts": 19, "has_odd_tail": false, "num_lines": 38, "exact_count": false, "bonus_value": 0.0, "complete_bayts": 19, "dataset_split": "train", "poem_preview": "لذاكَ لِكِّي تَعلَمَ قارِعَ الأَدْمِ\nوَلَولاي الأَكرَمَينِ أَخُ الواذِمِ\nفَإِن أَسأُوا فَإِنِّيالدَّلؤْمُ لا أَمِني\nفِراقَ الإِخوانِ إِن هَرَموا\nأَظالمعُهُم بِنائِلَةٍ يَتيمِ\nوَلا يَكفي بِها زَمرُ النوافِمِ\nوَإِلّا فالشُّروذَةُ لا أُقيمُها\nوَما النيلُ السِّواكِلُ والحقيقةُ وَهْمُل\nيُوَشِّيها الأَغرَّ الصحارِبِيُّ في\nمَشاجبٍ تُسَنُّ مِنَ الفَيلَقِ الجُوْمِ\nمَحا بارِزُهَا حَرْفَها بِخِيارِها\nوأَنصَا"}
4
+ {"i": 3, "score": 0.0, "requested_bayts": 17, "generated_bayts": 19, "has_odd_tail": true, "num_lines": 39, "exact_count": false, "bonus_value": 0.0, "complete_bayts": 19, "dataset_split": "train", "poem_preview": "لِكُلِّ مَعشَرٍ غَفرٌ طُمُوحٌ\nبِهِ في حُبِّهِم ضَرَمُ المَغافِصِ\nوَلَكِن مِن تَميمِ بَني نُمَيرٍ\nنَواحي أَو يُفارِطُها مُفارِصي\nيَمُرُّ شُبابُها لِتَعِتاقِ خَيلٍ\nوَشَيخٌ ما دَمِي في القِرنِ ناسِصِ\nوَتَثقُبَ فَوقَهُم بِيَدي قَناةٍ\nتَزاصِفُ أَو يَفُه الحَرفُ الزَراصِصِ\n وآلِفُ مُعلَماتِ الهَولِ كابٍ\nبِجِزٍّ رَهنَ أَرجُلِ بالنَقائِصِ\nوَما أَوعِدَ التَميمِيُّ طِفلُ تِبرٍ\nكَساهُ لِوَالِدٍ عَفواً بِأَلع"}
5
+ {"i": 4, "score": 0.0, "requested_bayts": 11, "generated_bayts": 12, "has_odd_tail": true, "num_lines": 25, "exact_count": false, "bonus_value": 0.0, "complete_bayts": 12, "dataset_split": "train", "poem_preview": "أيا نعمة الله العظيمة حملها\nعلى حمل أمثال الخضروات شوها\nبمن بدلت إقدامه لوثاته\nذمام ضيافة صيره شوها\nتلافا بها اللاوين عني تخبرن\nعلى ما رأيت نكهة الخشن ريها\nففصح فوق الماء لما جفقطر\nفظل هنالك ماءه يقطر ريها\nأبالهون حقات لها كل ذكبة\nينمون ألحمنات رميت عميها\nأدلج فصافح إسعاف طالب النهو\n فأخبر أن است كثبان سؤاتها\nوفي عستي أن أتيح من اللؤم لازمة\nولا والغير يدعى لبها سامها\nأهيم إذا نادت إلى اللطم لاهج\nر"}
6
+ {"i": 5, "score": 0.0, "requested_bayts": 11, "generated_bayts": 12, "has_odd_tail": false, "num_lines": 24, "exact_count": false, "bonus_value": 0.0, "complete_bayts": 12, "dataset_split": "train", "poem_preview": "حسود قيادي ضاج وإذا هزو\nنفقت وأفقعني إذا شئت نفقة\nرأيت ع��ولي غير ما يستحقه\nنفيست رأي الرجال الوشيقة\nوكم ليخنى عبث الثلاث علة\nوموثقة من حسفها موثقة\nوكنت أنا لولا خللٌ عذرة\nوفي الضيم لو جادلتني رحمةٌ رقة\nواللوم والشفع المودة والهوى\nوكم كلم في الرقّ يحسب رفسة\nوكم نطقت في عارضي فحشّة\nوكم راحت من سوقها نغمقة\nولو أنني لولا جوادة طبعي\nوهرم رضاع صورها ولج نفقة\nلسميتها في الكوكب السبحة التي\nأقام بها برح ال"}
7
+ {"i": 6, "score": 0.0, "requested_bayts": 4, "generated_bayts": 5, "has_odd_tail": false, "num_lines": 10, "exact_count": false, "bonus_value": 0.0, "complete_bayts": 5, "dataset_split": "train", "poem_preview": "أما وحي المهيمن والمسلم\nوالهدية بل بهلال البشارة\nإن الأحرار والمسيحين قوم\nلأمثالهم رق سوق البوار\nلداعيهم سكارى من رهبتنا\nوالأفضلون بأيدي الترك في بلخ\nيخال المخوف من خبث فيهم\nمجوساً أو نسيباً أو نصارى\nكأن الترك فوقهم صقور\nوهم من فرط خوفهم كالحبارى"}
8
+ {"i": 7, "score": 1.0, "requested_bayts": 4, "generated_bayts": 4, "has_odd_tail": false, "num_lines": 8, "exact_count": true, "bonus_value": 0.2, "complete_bayts": 4, "dataset_split": "train", "poem_preview": "إِذا أَحديَةَ الأَحرا\nرِ كانوا كَالمَسيرِ الحيارى\nيُقادُ بِأَيدي التُركِ إِذ ها\nجَه فَرخَ التُركِ التَسيرِ\nخوافٍ فَهُم لا بإِكرَ\nمٍ فيما يُقرِب أَو إِنكارِ\nكأَنَّ المُجوسَ أَو اليَهو\nد أَو نصارى نحنُ التُصارى"}
9
+ {"i": 0, "score": 1.0, "requested_bayts": 2, "generated_bayts": 2, "has_odd_tail": false, "num_lines": 4, "exact_count": true, "bonus_value": 0.2, "complete_bayts": 2, "dataset_split": "eval", "poem_preview": "وداع من في الوداد يَجمَعنا\nيوُدع فيه وخلّ يبُعده\nفضيمنا من فراقي أوسع\nدمع وقلبي ضيق موعده"}
10
+ {"i": 1, "score": 1.0, "requested_bayts": 2, "generated_bayts": 2, "has_odd_tail": false, "num_lines": 4, "exact_count": true, "bonus_value": 0.2, "complete_bayts": 2, "dataset_split": "eval", "poem_preview": "أَوصى حَصيانُ روحَه وَدَعاً\nمِن غَير وَدَاع لَم يَقلِهِ\nفَافتَرَقنا بَينَ انشراحٍ\nفي القَلب وَضيقٍ في أَدْمُعِهِ"}
11
+ {"i": 2, "score": 1.0, "requested_bayts": 5, "generated_bayts": 5, "has_odd_tail": false, "num_lines": 10, "exact_count": true, "bonus_value": 0.2, "complete_bayts": 5, "dataset_split": "eval", "poem_preview": "هل طرفه بارحٌ تقتلُ\nمقلتاه أمْ غرارُهُ يتصل\nعينٌ تكسِّرُ من فؤادي\nمحالفاً لا بلا وثُكلِ\nكيف السلامةُ من احتمالك يا\nمَنْ عرفها ائتلفتِ بالقلبِ\nكأنّ ما اعتذرَتْ بدا وجْهاً\nمَنْ عاذري من لها ولم تكسلِ\nلو كانت ما ألِبْت ما غدت\nتحمَرُّ بانِ الفدِ عنْ خَجَلِ الصبي"}
12
+ {"i": 3, "score": 1.0, "requested_bayts": 5, "generated_bayts": 5, "has_odd_tail": false, "num_lines": 10, "exact_count": true, "bonus_value": 0.2, "complete_bayts": 5, "dataset_split": "eval", "poem_preview": "ما غَرَسَت مُقلَةُ الأَسيافِ عَنكُم أَسَفاً\nباتِرَ لَم يُتَهَذَّبِ العارِضُ الذُّقُل\nأَقَمتُم صُدغاً عَلى شَأنِه بِيَفي\nأَجفَفَت مُقلَةً تُفني المُقلَةَ الكُحُل\nيا عَينُ ما أَخطَأَ التَّدذيبُ إِلاّها\nيا قَوسُ ما مَن كسباني غَيرُكُم غَزل\nكَيفَ الوَفاءُ لِمَن أَقصَتكُمُ لَيسَت\nجَوارِ خَفَّ عنهُنَّ الواشونَ وَالعُزَلُ\nيا بَغُصونِ أَجَنَّ البانُ مَيلا بِهُمُ\nوَكالنَّسرِ بِالخَجَلِ الطُّرفِيّ الحَسَلُ"}
13
+ {"i": 0, "score": 1.0, "requested_bayts": 4, "generated_bayts": 4, "has_odd_tail": false, "num_lines": 8, "exact_count": true, "bonus_value": 0.2, "complete_bayts": 4, "dataset_split": "eval", "poem_preview": "أعزانا الفخر والعليا بشبلٍ\nعلى صيده ساوى اللحمَ رخمُ\nورُبْ طفلٍ رفيع الشأن قائم\nبمحيي خير الدّاعي بالتمام\nأصابته أعين المآثر لفظاً\nوقال المجد إنه غلامُ\nوموّم بعدمِ مكارمِ ثغرِ\nبدتْ لو أنه أفلته ابتسامُ"}
14
+ {"i": 1, "score": 1.0, "requested_bayts": 4, "generated_bayts": 4, "has_odd_tail": false, "num_lines": 8, "exact_count": true, "bonus_value": 0.2, "complete_bayts": 4, "dataset_split": "eval", "poem_preview": "عَزَاءُ الفَخْرِ والعَليَاءِ تَأنَّى\nبشِّبلٍ أبْرَزُوهُ عنِ الصَّيَدِ\nغَدا بَيْنَ الرِّجَال كَيَفْلَ خِزْرٍ\nرَفيعِ الشَّانِ مَعْرُوفِ المَقَامِ\nبَكَتهُ أعْيُنُ المَادِحَاتِ وقَالَ\nعَلَى قَوْلِ المَجِيدِ أرَختُ غَارِمِ\nوعَادَى مَا تَرَى مِنْه وسامِعٌ\nعَنِ السَّمَمِ السَّماءِ وَابتِسامِ ثَغْرِ"}
15
+ {"i": 2, "score": 1.0, "requested_bayts": 3, "generated_bayts": 3, "has_odd_tail": false, "num_lines": 6, "exact_count": true, "bonus_value": 0.2, "complete_bayts": 3, "dataset_split": "eval", "poem_preview": "عَزَّت عَلى الأَهلِ وَالنَوَى دَارٌ\nبَينَ العَقيقِ وَبَينَ كَوثَبُ\nكَسُوؤَنَ الواكِفاتِ ساحَتَها\nمِن مُجَلجِلٍ جَوٍّهِ لَجِبُ\nما تَلَطَّفَت فَنَفَضَت مَئزَرُها\nوَلا غَدَوا بالعُلابِ دِعصَبُ"}
16
+ {"i": 3, "score": 1.0, "requested_bayts": 3, "generated_bayts": 3, "has_odd_tail": false, "num_lines": 6, "exact_count": true, "bonus_value": 0.2, "complete_bayts": 3, "dataset_split": "eval", "poem_preview": "يا دارَ سُقعٍ أَسقَى بِلا رَحَبِ\nمِن ذي الغَمامِ المُجَلجِلِ اللَجبِ\nداراً سَقَت بِالعَقيقِ دارَ بَني\nأَكبَيِّ ذا الكثبِّ أَو بَني كَثِبِ\nخانَتكِ من فضائِلِ المِئزرِ الدُّرَى\nوَغانِمٍ دُعدُمُ العُُلُبِ"}
17
+ {"i": 0, "score": 0.0, "requested_bayts": 6, "generated_bayts": 7, "has_odd_tail": false, "num_lines": 14, "exact_count": false, "bonus_value": 0.0, "complete_bayts": 7, "dataset_split": "eval", "poem_preview": "يَا مَالِكاً حَوَتْ تُرْبَتُكَ قِدْماً\nيَا مَنْ لَهُ كَسَبَتْ مِنْ سَيِّدٍ وِدَّا\nيَا خَيْرَ مَوْقِعٍ يَشْهَدُ الإِخْوَانُ بِهَا\nأَنَّهُ مَحَطُّ فَضْلٍ وَمَجْرَى نَهْدَى\nلَقَدْ ثَوَى لَكَ قَوْمٌ بَادُوا وَأَبْقَى\nمَا تَرْمُقُ العَيْنُ مِنْ شَمْسٍ وَمِنْ بَدْرِ\nهَذِي بَدَائِعُ مَنْ كَانَتْ بَيَانُتهُمْ\nتُمْلِي البَيَانَ عَلَى الْيَرْعَينِ فَهْوَ سَداً\nمِنْ عِتْرَةٍ ثَوَتِ العُلُومُ بِدَارِهِمُ\nفَهُ"}
18
+ {"i": 1, "score": 1.0, "requested_bayts": 6, "generated_bayts": 6, "has_odd_tail": false, "num_lines": 12, "exact_count": true, "bonus_value": 0.2, "complete_bayts": 6, "dataset_split": "eval", "poem_preview": "يا قبرَ أحمدَ يا مَحلَّ فَضلِ وَليّ\nبرَحِ الخَتلِ مِن بَدر الدَليلِ حَليّ\nيا مَوضِعَ الحَقِّ مِن أَنيابِ مُعتدي\nوَمَن بِهِ صَرح الدين المَحليّ\nالمُستَوقِف قافيةً بِسُكانِهِ قَد\nبات يُسَمّي التِّبْرَيهِ بِالتَنزيؤ\nيَرجو بِحَقِّ الرَسولِ الغَني بالمحِل\nوَهوَ المَهيَم بِالحَقِّ الموفيء\nأَمنَعت أمكنتِ السودانَ ضمةً\nمِن عُترة الثّقلين دار الهُدى فعليهِ\nراحوا قبولًا على مَلكِ الرَحيم بِها\nوَما عَلا المُ"}
19
+ {"i": 2, "score": 1.0, "requested_bayts": 5, "generated_bayts": 5, "has_odd_tail": false, "num_lines": 10, "exact_count": true, "bonus_value": 0.2, "complete_bayts": 5, "dataset_split": "eval", "poem_preview": "وَجَفنحُ اللحمِ قَد بَشبَشتُ فيهِ\nحَوادثُهُ وَأَينَ بِهِ فِداها\nبِتَ بهيئةِ صاحبَين مَراً بي\nعَلى آثارها وَدَنَت سراها\nتُرجِّي نِلت طبق الحنظَلِيات\nعَلى شوق صبا وَمشت ذُراها\nبَيقضها إِنَّني أَهوى هِجاناً\nشَدَت لَكَ إِن أَرادَت الصرمَ نهاها\nوَإِلّا فَاِنشُ الهُجندوب وخُطَّا\nوَضَرَّ جَديدها وَطَوانى مَداها"}
20
+ {"i": 3, "score": 1.0, "requested_bayts": 5, "generated_bayts": 5, "has_odd_tail": false, "num_lines": 10, "exact_count": true, "bonus_value": 0.2, "complete_bayts": 5, "dataset_split": "eval", "poem_preview": "وَما بَكري وَفي أُختي لَيالٍ\nبِقَفّ المُفضِلاتِ فَأَحشاهُما\nأَقَمتنا عَلى شَفٍّ رِفاقِ جُؤذُقٍ\nفَذَكَّرَنا صِباهُوَا وَنَشاهُما\nوَندَعُها إِن تُنادِ هُجواً بِنَفسِهِ\nفَراقِب هَيهاتَ الَّذي أُزكياهُما\nأَمِ�� نَفسٍ تُنِيتكُم بَعدَ عَهدِيَه\nرُكوبُ مَدى النَومِ البَعيدِ شِفاءُها\nكَما قالَتِ الإِناءَةُ يا فَسَوَّدي\nوُقِف الانتخاباتِ الجِلَّ هُداؤُها"}
21
+ {"i": 0, "score": 1.0, "requested_bayts": 2, "generated_bayts": 2, "has_odd_tail": false, "num_lines": 4, "exact_count": true, "bonus_value": 0.2, "complete_bayts": 2, "dataset_split": "eval", "poem_preview": "لُذتُ بِكَ يا مَرْجَوي\nوَمَمَّنْ بَلْ والِغِيِّ\nوَفِي المُلِمّاتِ إنْ لَحْ\nظَةَ نِعْمَةِ وابْغِي غِ"}
22
+ {"i": 1, "score": 1.0, "requested_bayts": 2, "generated_bayts": 2, "has_odd_tail": false, "num_lines": 4, "exact_count": true, "bonus_value": 0.2, "complete_bayts": 2, "dataset_split": "eval", "poem_preview": "قلت لأحمد صَيْدِ\nفي وقت شدّاتي جِرَينا\nأنت المُرْجّي والغَوْثُ\nلو كنتَ نِعْمَ الصَّيدا"}
23
+ {"i": 2, "score": 1.0, "requested_bayts": 2, "generated_bayts": 2, "has_odd_tail": false, "num_lines": 4, "exact_count": true, "bonus_value": 0.2, "complete_bayts": 2, "dataset_split": "eval", "poem_preview": "باسم إله العدل قد حكمّا\nإذ نحن وجلسنا بالنادي جهرما\nلفصله القضاه بين أقران\nمستويين بالقسطاس ميزانا"}
24
+ {"i": 3, "score": 1.0, "requested_bayts": 2, "generated_bayts": 2, "has_odd_tail": false, "num_lines": 4, "exact_count": true, "bonus_value": 0.2, "complete_bayts": 2, "dataset_split": "eval", "poem_preview": "باسم إلهِ العدلِ حاكمنا\nالقِسْطَاسُ لدى الميزانِ هامُوا\nوفي جِهور النَّدِي إِنِ اِعتَاضُوا\nفي الخَصْم لَدى إِقْرَانهمْ فَقامُوا"}
25
+ {"i": 0, "score": 1.0, "requested_bayts": 2, "generated_bayts": 2, "has_odd_tail": false, "num_lines": 4, "exact_count": true, "bonus_value": 0.2, "complete_bayts": 2, "dataset_split": "train", "poem_preview": "قد جمعت مصائب دا مدبر\nوالتوت أوجاعه وتكاثرا\nطلب التطبع في القريض بجهده\nفجرت طبيعته وقام طباعها"}
26
+ {"i": 1, "score": 1.0, "requested_bayts": 2, "generated_bayts": 2, "has_odd_tail": false, "num_lines": 4, "exact_count": true, "bonus_value": 0.2, "complete_bayts": 2, "dataset_split": "train", "poem_preview": "جُمعَت عُهاجِرُ بَطنِهِ\nوَتَكاثَفَ الوَجدانُ فيهِ\nفَكَتَبَ طَبعاً في القَريضِ\nفَقامَ حيناً بِالنِسيانِ فيهِ"}
27
+ {"i": 2, "score": 1.0, "requested_bayts": 4, "generated_bayts": 4, "has_odd_tail": false, "num_lines": 8, "exact_count": true, "bonus_value": 0.2, "complete_bayts": 4, "dataset_split": "train", "poem_preview": "ألا لَيتَ المنايا حَدَّ عَنّي عُمَر\nمُعَاوِيَة وَرَيبُ الدَهرَ يَرحَبُ\nبَلَوتُ دَنِيّاً أَترَعتُ الجَوَّ في سَير\nعَلِيلَ اللُبِّ يَجنَبُ جَوهَباً مَجنَباً\nوبِالظهْرِ القَرِيحِ أُفَدَّى غرابَ\nأَذُولُ أَغَنَ مِجَلَّمَةَ القَوَافِبِ\nإِذا البَحرُ أَولِعَهُ بالبيدِ شَحَطَت\nبِمُعاوِيَةَ نَجدَتي أُمُّ مَسغَباً"}
28
+ {"i": 3, "score": 1.0, "requested_bayts": 4, "generated_bayts": 4, "has_odd_tail": false, "num_lines": 8, "exact_count": true, "bonus_value": 0.2, "complete_bayts": 4, "dataset_split": "train", "poem_preview": "لَتَرعَ مُعاوِيَةَ كُلَّ مُطيفٍ\nبِمَعرَسَةٍ لَدى سَنَبَ الثَقالِ\nبِهِ الإِبِلُ التَهَوى في مَواخِرٍ\nثَمانِينَ السُرى نَكلاً زِلالِ\nأَفِر لامَناقِبِهِ الشَمَّاريحُ غَلباً\nوَهُنَّ إِذا غَرثْنَ إِلى ثَمالِ\nبِصَوحِ اللَوى وَظُهورِ غِرابٍ\nوَكَونِ مُعاوِيَةَ المَأمونا"}
29
+ {"i": 4, "score": 1.0, "requested_bayts": 2, "generated_bayts": 2, "has_odd_tail": false, "num_lines": 4, "exact_count": true, "bonus_value": 0.2, "complete_bayts": 2, "dataset_split": "train", "poem_preview": "وعائِبٍ عَيْني لِما نَصْبَتْ\nأُسْماعَه قَدَّنْتُه بِالشِيَاشْ\nيَقولُ نَارِي لَكَ رِياشةٌ\nوإنَّ قارُونَ ليَ سِوى رِيَاشْ"}
30
+ {"i": 5, "score": 1.0, "requested_bayts": 2, "generated_bayts": 2, "has_odd_tail": false, "num_lines": 4, "exact_count": true, "bonus_value": 0.2, "complete_bayts": 2, "dataset_split": "train", "poem_preview": "مَه يا عَائبًا جفونَ الرِّشا\nما حُقَّ لكَ أن تَتَشوَّشَا\nسَهمُكَ كشّافُ المَنايا فلا\nيَطيرُ سَهْمٌ لكَ بُرْيُ الريشَا"}
31
+ {"i": 6, "score": 1.0, "requested_bayts": 2, "generated_bayts": 2, "has_odd_tail": false, "num_lines": 4, "exact_count": true, "bonus_value": 0.2, "complete_bayts": 2, "dataset_split": "train", "poem_preview": "أَرحمَنَّا بشدةٍ بالنَّبِيِّ\nوَخَفَانا إلهي من خِفالِ\nلا تَهِتنَّا وَلا تَخَلِّ عُودَ أَمري\nرائدَ إِرشِد إلينا تَمِّمِ"}
32
+ {"i": 7, "score": 1.0, "requested_bayts": 2, "generated_bayts": 2, "has_odd_tail": false, "num_lines": 4, "exact_count": true, "bonus_value": 0.2, "complete_bayts": 2, "dataset_split": "train", "poem_preview": "لك الإسلام إن أردت فبحمد ال\nباري ترحمنا تفضلا منكا\nلا تتركنا أيا كريم لأمرنا\nوهب رشادنا وسر لإتمامكا"}
33
+ {"i": 0, "score": 1.0, "requested_bayts": 2, "generated_bayts": 2, "has_odd_tail": false, "num_lines": 4, "exact_count": true, "bonus_value": 0.2, "complete_bayts": 2, "dataset_split": "eval", "poem_preview": "أتسلّي ليومِ تفريقِنا\nوقد توديتُ من لا أتوَدِّى\nوملّت أرواحنا وتشتَّتت\nوراءنا عمَدَتْ حشا الواسعِ"}
34
+ {"i": 1, "score": 1.0, "requested_bayts": 2, "generated_bayts": 2, "has_odd_tail": false, "num_lines": 4, "exact_count": true, "bonus_value": 0.2, "complete_bayts": 2, "dataset_split": "eval", "poem_preview": "قلْ لمَن مودع بِلا بُعدِ\nتعزَّ من لا يودّع الولهان\nفصلتما والغرام يجمعنا\nوالضيقُ في نحوه والدمع سيلان"}
35
+ {"i": 2, "score": 1.0, "requested_bayts": 5, "generated_bayts": 5, "has_odd_tail": false, "num_lines": 10, "exact_count": true, "bonus_value": 0.2, "complete_bayts": 5, "dataset_split": "eval", "poem_preview": "مقل العيون ما بي ليس ينصرم\nلكنها تفصم القلب بالغزل\nلم تنقشك بلا ذنب ولا خطأ\nبل أنت بالعدوان تجدين مبتلي\nأورييت ما ابتنت عني فكم خفيت\nوفي طريق الوشاة سار من أهلي\nمن داع قلبي إلى ضجرى وإلى جزعى\nوملعبى إن دنيت ذكراً على ملل\nما ملت عن عادة الغصن الذي طربت\nلانيه ولما حمرتُهُ خجل"}
36
+ {"i": 3, "score": 1.0, "requested_bayts": 5, "generated_bayts": 5, "has_odd_tail": false, "num_lines": 10, "exact_count": true, "bonus_value": 0.2, "complete_bayts": 5, "dataset_split": "eval", "poem_preview": "مَا قَاتِلٌ يَحْكِي عُيُونَاً قَائِلَّمَا\nمُنْتَقِمٌ فِي قَتِ السِّجَافَانِ تَكْتَقِل\nوَاسَلاً لِمَنْ أَعْرَضَتْ بِلْعَابِ أَسَىً\nوَمُطْلَباً لِلهَوَى مَالَغَيْرُهُ سَبَلِ\nوَمَنْ جَرَى صَاحِبٌ غَدَواً بِذَاتِ وَلَنْ\nيَكُونُ ضَرَّ يَعُودُ تَطَوُّلَهُ فَقَلُ\nيُسْأَمُ عُيُونٍ طُيُورٌ فِي فَمَاذَا\nتَطْعَنُ مَقَلاً يُطْعَنَّ مِثْلَ الأَسَلِ\nأَسِيِّدي قَصْمُ غُصْنٍ عَنْ عَادَاتِهِ\nوَحَيْثُ مَا اهْتَدَى "}
37
+ {"i": 0, "score": 1.0, "requested_bayts": 4, "generated_bayts": 4, "has_odd_tail": false, "num_lines": 8, "exact_count": true, "bonus_value": 0.2, "complete_bayts": 4, "dataset_split": "eval", "poem_preview": "عَزَاؤُكَ قد أَعزَّ الفَخْرَ قِيلاً\nرَفيعَ الشأنِ والشّانِ ظَلآمُ\nعَزَاكَ شَبِيلُكَ الفَذَّ ارَّخُوهُ\nسَما عن صَيْدِهِ باكَت حِيَامُ\nوأَطْلَعُهُ عَلى الأَيْنَاقِ طفلاً\nرَفِيعَ المَنْصِبِ المَعْروفِ مَقَامُ\nرَماكَ الغُورُ والشَّنْهُ الغ إِلاّ\nلِثَمَّ الثَّغْر مَبْسَمُهُ الضِّرَامُ"}
38
+ {"i": 1, "score": 1.0, "requested_bayts": 4, "generated_bayts": 4, "has_odd_tail": false, "num_lines": 8, "exact_count": true, "bonus_value": 0.2, "complete_bayts": 4, "dataset_split": "eval", "poem_preview": "عَزَاءُ الفَخْرِ والعَلْياءِ عَنْهُ\nشَبِيلٌ رُفِعَتْ عَنْهُ انْتِهازُهُ\nوَبِكَّرَ مِنْ رُتُوءٍ قِدْرُهُ فِيهِ\nوَعُرْسٌ عَنْهُ هَذا عالٍ رِسْمُ\nبَكَتْهُ عُيُونِ الْقَاصِفِ عُودٌ\nوقَالَ الْمَجْدُ مُذْ هَذَا غُلامِي\nغِيَبْتَ مَكارِمَ السُّمْتِ فَبَاعَدَتْ\nفِرَاقٍ مِنْ ثَغْرِ الفَضْلِ ابْتِسَامِ"}
39
+ {"i": 2, "score": 1.0, "requested_bayts": 3, "generated_bayts": 3, "has_odd_tail": false, "num_lines": 6, "exact_count": true, "bonus_value": 0.2, "complete_bayts": 3, "dataset_split": "eval", "poem_preview": "سَقَتنَا بين تُلعُ العَقيقِ إلى\nكَثيبِ رَملِ السَّ��يعِ مِن لُجُبِ\nدارٌ ما تَلَطَّفت فَضائلهَا\nبالذَّاتِ في مِئزَرٍ ولا غَذَت\nدَعدَ بلَحظاً وَلم تُغِذ بِ عُلبٍ\nما زالَ بالتَّلاعِ والخُطب"}
40
+ {"i": 3, "score": 1.0, "requested_bayts": 3, "generated_bayts": 3, "has_odd_tail": false, "num_lines": 6, "exact_count": true, "bonus_value": 0.2, "complete_bayts": 3, "dataset_split": "eval", "poem_preview": "سَقْياً لدارٍ بينَ العقيقِ وما\nنحوَ الكثيبَينِ من أفضَل الثمَرِ\nسقوا وسحبُ الغَمامِ مجلجِلَةٌ\nلجبٌ تَغَشَّاهُمُ من المَطَرِ\nدارٌ تَخوَّضَ نَوَاه أضرارُها\nولم تُغِذْ دَعْداً بالعُلَبِ الكُثُرُ"}
41
+ {"i": 0, "score": 1.0, "requested_bayts": 6, "generated_bayts": 6, "has_odd_tail": false, "num_lines": 12, "exact_count": true, "bonus_value": 0.2, "complete_bayts": 6, "dataset_split": "eval", "poem_preview": "يا قبرَ بالمصطفى نعم إقامة\nشهدت لك الفضلَ والمدحَ العميمَه\nمنّا المنادي باجتماعٍ وذيّةً\nيتلو علينا من الميقاتِ أبنَمه\nمحلّك الباقياتُ المحمَّدِيّة\nالعلمُ والحرب والسياسيةُ\nأبناءُ عترتك الثوَّاءِ بقبرهمُ\nممَّن بفتواهم يُملي البيانِ على\nإنا إلى اللَه المُهيبِ وَراحَتمْ\nومن تَصيَد مَن الغابرين شآهدا\nواللَه أكبرُ أنت الموهبُ يا\nرَحمنُ لولانا وجَيّنا الأعظُما"}
42
+ {"i": 1, "score": 1.0, "requested_bayts": 6, "generated_bayts": 6, "has_odd_tail": false, "num_lines": 12, "exact_count": true, "bonus_value": 0.2, "complete_bayts": 6, "dataset_split": "eval", "poem_preview": "يَاقبرَ رَبِّ المِلاَ مَنْ غامضٍ حُلاً\nفيكَ أَحَلَّ فآذَنَّا بِهِ أَثَرُ\nمُحْتَلاً بِحَظْوَةَ مَحْلٍ بِفضله\nفِيهِ وَمَأْوىً لَهُ عِلْمٌ وَمَا فكرُوا\nوَذَلِكَ الَّذِي حالتْ دَارُهُ حِفِيَةً\nفِيهِ دَرًى وَبَدَائِعُ الفِكْرِ تَمْرِي\nمِن عُتْرَةٍ سفَرُوا يعْلُ العُلُومَ بِدارِهِمْ\nفَهُمُ لأَكْرمِ القَومِ أَنْجُمٌ يُنْبِتُ\nفَالله ممثلُ موظفٍ في مَحَلاًّ\nروَحْمَتُهُ مَزْتُه إِذ لم يخصِّص مُنْفِيتُ\nوَالل"}
43
+ {"i": 2, "score": 1.0, "requested_bayts": 5, "generated_bayts": 5, "has_odd_tail": false, "num_lines": 10, "exact_count": true, "bonus_value": 0.2, "complete_bayts": 5, "dataset_split": "eval", "poem_preview": "وقَفنا بالديارةِ والظروفِ\nعَلى آثارِ دُورٍ قَد بَلَتاهاا\nلنستشمَّل من صَبا عيش خفضٍ\nولم تستدعيْ شجوناً عند بَاها\nوقالت حين تهواها بأَنْسى\nمقالتَها علَى عجلٍ إليها\n لنردْم مشيئَمها إن أردنا\nومنّها الصرمَ أو نُودِي بِنَاها\nفان يك خُطّ إِنا فارضُّوا بِهَمْ\nوإن لم تَبلُغِها فَارْتجِ خُطَّتايا"}
44
+ {"i": 3, "score": 1.0, "requested_bayts": 5, "generated_bayts": 5, "has_odd_tail": false, "num_lines": 10, "exact_count": true, "bonus_value": 0.2, "complete_bayts": 5, "dataset_split": "eval", "poem_preview": "أَلا إِنَّ المُحِبَّ لَهُ غَرِ امرَه\nبِأُنْمُلِهِ إِذا ذَكَرَ الصَّبا حَداهْ\nعَتَبتَ عَليَّ مِدرهُّ عَيشَ صِبوي\nكَمِثلِ المَكوَثِ نَقَّبَهُ غِداهْ\nوَقالَت أَنتَ فيما كانَ جاهِلٌ\nوَلَكِنَّك قَد أَصَبتَ بِها سَلاهْ\nتَسَرّي تناول جُثمانَها إِذا غَبَت\nوَتُجمل في القُدودِ إِذا أَلا شَهْ\nفَقُلتُ لَها أَرُدّي هَجوَكَ وَاِرجِعيهِ\nإِن أَراَدتِ الصِرمَ أَو دُعي مُرَداهْ"}
45
+ {"i": 0, "score": 1.0, "requested_bayts": 2, "generated_bayts": 2, "has_odd_tail": false, "num_lines": 4, "exact_count": true, "bonus_value": 0.2, "complete_bayts": 2, "dataset_split": "eval", "poem_preview": "إن غضَّ عني أحمدٌ\nفإنه لي نعمَ الرجُلْ\nأو ذادِني في شدَّتي\nفإنَّه غوثُ المَلَملَمْ"}
46
+ {"i": 1, "score": 1.0, "requested_bayts": 2, "generated_bayts": 2, "has_odd_tail": false, "num_lines": 4, "exact_count": true, "bonus_value": 0.2, "complete_bayts": 2, "dataset_split": "eval", "poem_preview": "سواكَ أحمدٌ صيا\nدِي والمُرجَى عندَ شدَّتي\nأنتَ غَوثِي في مُلمَّ\nأرجو فيكُم نُعمَى"}
47
+ {"i": 2, "score": 1.0, "requested_bayts": 2, "generated_bayts": 2, "has_odd_tail": false, "num_lines": 4, "exact_count": true, "bonus_value": 0.2, "complete_bayts": 2, "dataset_split": "eval", "poem_preview": "باسم إله العدل في النادي\nنحكم على الحالات بالهادي\nللفصل بين الأقران بالتصاف\nبالقسطاس وبالميزان"}
48
+ {"i": 3, "score": 1.0, "requested_bayts": 2, "generated_bayts": 2, "has_odd_tail": false, "num_lines": 4, "exact_count": true, "bonus_value": 0.2, "complete_bayts": 2, "dataset_split": "eval", "poem_preview": "باسم إله العدل بالآفي\nأدلي حكم عادل في نادي\nلقسمة أقران معنا مساوي\nعدلا بقسطاس وميزان"}
reward_meter_debug.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
runtime_snapshot.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config_fingerprint": "f1af89e03892f32e677c238fac409c4e9de7ee84de340974e468cc8fb4c82d8b",
3
+ "lineage": {
4
+ "created_at_utc": "2026-04-11T12:36:18Z",
5
+ "run_id": "sanity_20260411_123535",
6
+ "run_dir": "/root/workspace/Shaer/grpo/outputs/sanity_check/sanity_20260411_123535",
7
+ "chain_id": "sanity_20260411_123535",
8
+ "root_run_id": "sanity_20260411_123535",
9
+ "parent_run_id": "",
10
+ "parent_run_dir": "",
11
+ "run_sequence_index": 0
12
+ },
13
+ "dataset_id": "Shaer-AI/ashaar-enhanced-desc-baseform-final-sft-lte20-min500-splits-grpo-meter-count-v1",
14
+ "dataset_source_id": "Shaer-AI/ashaar-with-enhanced-descriptions-baseform-final-sft-lte20-min500-splits",
15
+ "phase1_max_bayts": "20",
16
+ "phase1_allowed_meters": [],
17
+ "base_model_id": "Navid-AI/Yehia-7B-preview",
18
+ "sft_adapter_repo": "Shaer-AI/Shaer-adapters",
19
+ "sft_adapter_mode": "fresh_sft/train",
20
+ "grpo_output_repo": "Shaer-AI/Shaer-adapters-grpo",
21
+ "model_meta": {
22
+ "adapter_path": "/root/.cache/huggingface/hub/models--Shaer-AI--Shaer-adapters/snapshots/0df03eedae8d0e6a37be2165852e619f20a966a4/adapters/fresh_sft/train/latest",
23
+ "load_in_4bit_requested": true,
24
+ "load_in_4bit_effective": false,
25
+ "vllm_colocate_runtime": true,
26
+ "total_params": 7160467456,
27
+ "trainable_params": 159907840,
28
+ "trainable_ratio": 0.022332039211491392,
29
+ "source": "snapshot",
30
+ "mode": "fresh_sft/train",
31
+ "snapshot_root": "/root/.cache/huggingface/hub/models--Shaer-AI--Shaer-adapters/snapshots/0df03eedae8d0e6a37be2165852e619f20a966a4",
32
+ "manifest_path": "manifests/fresh_sft/train/latest.json",
33
+ "adapter_repo": "Shaer-AI/Shaer-adapters"
34
+ }
35
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<unk>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:feff3deb3537c4a47b77585053ad2aa00484da7907b188e0111cbed1f4592e67
3
+ size 1228714
tokenizer_config.json ADDED
@@ -0,0 +1,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": null,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<unk>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<s>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "</s>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": true
29
+ },
30
+ "3": {
31
+ "content": "0",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false,
36
+ "special": false
37
+ },
38
+ "4": {
39
+ "content": "1",
40
+ "lstrip": false,
41
+ "normalized": false,
42
+ "rstrip": false,
43
+ "single_word": false,
44
+ "special": false
45
+ },
46
+ "5": {
47
+ "content": "2",
48
+ "lstrip": false,
49
+ "normalized": false,
50
+ "rstrip": false,
51
+ "single_word": false,
52
+ "special": false
53
+ },
54
+ "6": {
55
+ "content": "3",
56
+ "lstrip": false,
57
+ "normalized": false,
58
+ "rstrip": false,
59
+ "single_word": false,
60
+ "special": false
61
+ },
62
+ "7": {
63
+ "content": "4",
64
+ "lstrip": false,
65
+ "normalized": false,
66
+ "rstrip": false,
67
+ "single_word": false,
68
+ "special": false
69
+ },
70
+ "8": {
71
+ "content": "5",
72
+ "lstrip": false,
73
+ "normalized": false,
74
+ "rstrip": false,
75
+ "single_word": false,
76
+ "special": false
77
+ },
78
+ "9": {
79
+ "content": "6",
80
+ "lstrip": false,
81
+ "normalized": false,
82
+ "rstrip": false,
83
+ "single_word": false,
84
+ "special": false
85
+ },
86
+ "10": {
87
+ "content": "7",
88
+ "lstrip": false,
89
+ "normalized": false,
90
+ "rstrip": false,
91
+ "single_word": false,
92
+ "special": false
93
+ },
94
+ "11": {
95
+ "content": "8",
96
+ "lstrip": false,
97
+ "normalized": false,
98
+ "rstrip": false,
99
+ "single_word": false,
100
+ "special": false
101
+ },
102
+ "12": {
103
+ "content": "9",
104
+ "lstrip": false,
105
+ "normalized": false,
106
+ "rstrip": false,
107
+ "single_word": false,
108
+ "special": false
109
+ },
110
+ "13": {
111
+ "content": "٠",
112
+ "lstrip": false,
113
+ "normalized": false,
114
+ "rstrip": false,
115
+ "single_word": false,
116
+ "special": false
117
+ },
118
+ "14": {
119
+ "content": "١",
120
+ "lstrip": false,
121
+ "normalized": false,
122
+ "rstrip": false,
123
+ "single_word": false,
124
+ "special": false
125
+ },
126
+ "15": {
127
+ "content": "٢",
128
+ "lstrip": false,
129
+ "normalized": false,
130
+ "rstrip": false,
131
+ "single_word": false,
132
+ "special": false
133
+ },
134
+ "16": {
135
+ "content": "٣",
136
+ "lstrip": false,
137
+ "normalized": false,
138
+ "rstrip": false,
139
+ "single_word": false,
140
+ "special": false
141
+ },
142
+ "17": {
143
+ "content": "٤",
144
+ "lstrip": false,
145
+ "normalized": false,
146
+ "rstrip": false,
147
+ "single_word": false,
148
+ "special": false
149
+ },
150
+ "18": {
151
+ "content": "٥",
152
+ "lstrip": false,
153
+ "normalized": false,
154
+ "rstrip": false,
155
+ "single_word": false,
156
+ "special": false
157
+ },
158
+ "19": {
159
+ "content": "٦",
160
+ "lstrip": false,
161
+ "normalized": false,
162
+ "rstrip": false,
163
+ "single_word": false,
164
+ "special": false
165
+ },
166
+ "20": {
167
+ "content": "٧",
168
+ "lstrip": false,
169
+ "normalized": false,
170
+ "rstrip": false,
171
+ "single_word": false,
172
+ "special": false
173
+ },
174
+ "21": {
175
+ "content": "٨",
176
+ "lstrip": false,
177
+ "normalized": false,
178
+ "rstrip": false,
179
+ "single_word": false,
180
+ "special": false
181
+ },
182
+ "22": {
183
+ "content": "٩",
184
+ "lstrip": false,
185
+ "normalized": false,
186
+ "rstrip": false,
187
+ "single_word": false,
188
+ "special": false
189
+ }
190
+ },
191
+ "bos_token": "<s>",
192
+ "clean_up_tokenization_spaces": false,
193
+ "eos_token": "</s>",
194
+ "extra_special_tokens": {},
195
+ "legacy": false,
196
+ "max_length": null,
197
+ "model_max_length": 1000000000000000019884624838656,
198
+ "pad_to_multiple_of": null,
199
+ "pad_token": "</s>",
200
+ "pad_token_type_id": 0,
201
+ "padding_side": "left",
202
+ "sp_model_kwargs": {},
203
+ "spaces_between_special_tokens": false,
204
+ "tokenizer_class": "LlamaTokenizer",
205
+ "unk_token": "<unk>",
206
+ "use_default_system_prompt": false
207
+ }
train.log ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 2026-04-11 12:35:42,502 | INFO | train_grpo_sanity | mode=sanity
2
+ 2026-04-11 12:37:04,532 | INFO | train_grpo_sanity | dataset_id=Shaer-AI/ashaar-enhanced-desc-baseform-final-sft-lte20-min500-splits-grpo-meter-count-v1 train_size=8 eval_size=8
3
+ 2026-04-11 12:37:04,532 | INFO | train_grpo_sanity | source_dataset_id=Shaer-AI/ashaar-with-enhanced-descriptions-baseform-final-sft-lte20-min500-splits test_size=204 hard_diagnostic_size=8
4
+ 2026-04-11 12:37:04,532 | INFO | train_grpo_sanity | active_rewards=['meter', 'exact_count_bonus']
5
+ 2026-04-11 12:37:04,532 | INFO | train_grpo_sanity | reward_weights={'meter': 1.0, 'exact_count_bonus': 0.2}
6
+ 2026-04-11 12:37:04,532 | INFO | train_grpo_sanity | output_repo=Shaer-AI/Shaer-adapters-grpo
7
+ 2026-04-11 12:37:04,532 | INFO | train_grpo_sanity | train_manifest_path=/root/workspace/Shaer/grpo/outputs/curated_meter_count_locked/cap_3000/selected_manifest.csv
8
+ 2026-04-11 12:37:04,532 | INFO | train_grpo_sanity | hard_diagnostic_manifest_path=/root/workspace/Shaer/grpo/outputs/curated_meter_count_locked/hard_diagnostic_cap_256/selected_manifest.csv
9
+ 2026-04-11 12:37:04,532 | INFO | train_grpo_sanity | trainable_params=159907840 total_params=7160467456 trainable_ratio=0.022332
10
+ 2026-04-11 12:37:04,533 | INFO | train_grpo_sanity | resume_decision={"timestamp_utc": "2026-04-11T12:36:18Z", "resume_mode": "auto", "requested_spec": "", "result": "fresh", "reason": "resume_not_found: FileNotFoundError", "local_resume_path": null, "remote_repo": null, "remote_prefix": null, "compatibility": "unchecked", "config_fingerprint": "f1af89e03892f32e677c238fac409c4e9de7ee84de340974e468cc8fb4c82d8b"}
11
+ 2026-04-11 12:37:04,533 | INFO | train_grpo_sanity | starting trainer.train()
12
+ 2026-04-11 12:37:27,241 | INFO | train_grpo_sanity | metrics_logged mode=train step=1
13
+ 2026-04-11 12:37:42,965 | INFO | train_grpo_sanity | metrics_logged mode=eval step=1
14
+ 2026-04-11 12:37:51,524 | INFO | train_grpo_sanity | metrics_logged mode=train step=2
15
+ 2026-04-11 12:38:05,526 | INFO | train_grpo_sanity | metrics_logged mode=eval step=2
16
+ 2026-04-11 12:38:07,651 | INFO | train_grpo_sanity | metrics_logged mode=train step=2
train.pid ADDED
@@ -0,0 +1 @@
 
 
1
+ 11519
train_result_metrics.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "train_runtime": 62.6885,
3
+ "train_samples_per_second": 0.255,
4
+ "train_steps_per_second": 0.032,
5
+ "total_flos": 0.0,
6
+ "train_loss": 0.060226328670978546
7
+ }
train_stdout.log ADDED
The diff for this file is too large to render. See raw diff
 
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db731ea07f7115ffcb5149d49416307df7dcb073f007323a332c0ea8a4ede3cf
3
+ size 7441
watcher.log ADDED
File without changes
watcher.pid ADDED
@@ -0,0 +1 @@
 
 
1
+ 11520