Instructions to use Occupying-Mars/command-r-exp with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Occupying-Mars/command-r-exp with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
Add Command-R OPD metadata
Browse files
command_r_r32_36pct_opd_ood_repair_topk165151_20260609/config_details.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"artifact": "command_r_r32_36pct_opd_ood_repair_topk165151_20260609",
|
| 3 |
+
"hf_repo": "Occupying-Mars/command-r-exp",
|
| 4 |
+
"base_model": "CohereForAI/c4ai-command-r7b-12-2024",
|
| 5 |
+
"pod_base_model_path": "/root/models/command-r7b-12-2024",
|
| 6 |
+
"parent_adapter_path": "runs/non_qwen_command_r7b_r32_36pct_ood_repair_20260609/r32_topk165151_lora_len2048_coherefmt_oodrepair/adapter",
|
| 7 |
+
"opd_adapter_path": "runs/non_qwen_command_r7b_r32_36pct_opd_ood_repair_20260609/gkd_aopd_from_36pct_r32_topk165151_len1536/adapter",
|
| 8 |
+
"training": {
|
| 9 |
+
"script": "scripts/train_bfcl_prime_opd_sampled_lora.py",
|
| 10 |
+
"target_format": "cohere_action",
|
| 11 |
+
"train_jsonl": "/tmp/command_r_ood_len1536.jsonl",
|
| 12 |
+
"rows": 3082,
|
| 13 |
+
"max_seq_length": 1536,
|
| 14 |
+
"max_new_tokens": 128,
|
| 15 |
+
"max_updates": 100,
|
| 16 |
+
"rollout_batch_size": 4,
|
| 17 |
+
"train_batch_size": 1,
|
| 18 |
+
"grad_accum": 8,
|
| 19 |
+
"lr": 0.000005,
|
| 20 |
+
"temperature": 0.7,
|
| 21 |
+
"top_p": 0.95,
|
| 22 |
+
"lora_r": 32,
|
| 23 |
+
"lora_alpha": 64,
|
| 24 |
+
"use_rslora": true,
|
| 25 |
+
"target_modules": "all-linear"
|
| 26 |
+
},
|
| 27 |
+
"masking": {
|
| 28 |
+
"attribution": "runs/non_qwen_command_r7b_r32_q1_collimation_20260608_094142/command_r_relp_full.npz",
|
| 29 |
+
"topk": 165151,
|
| 30 |
+
"mask_mode_training": "zero",
|
| 31 |
+
"mask_mode_eval": "zero-isolated MLP down-proj pre-hook keep mask"
|
| 32 |
+
},
|
| 33 |
+
"loss": {
|
| 34 |
+
"online_opd_beta": 0.2,
|
| 35 |
+
"offline_kl_beta": 0.8,
|
| 36 |
+
"ce_beta": 0.1,
|
| 37 |
+
"positive_opd_only": true,
|
| 38 |
+
"kl_tau": 0.001,
|
| 39 |
+
"dppo_threshold": 0.2,
|
| 40 |
+
"kl_temperature": 1.0
|
| 41 |
+
},
|
| 42 |
+
"eval": {
|
| 43 |
+
"script": "scripts/bfcl_direct_qwen3.py eval-mask",
|
| 44 |
+
"pairs": "data/bfcl_single_call/pairs.jsonl",
|
| 45 |
+
"batch_size": 4,
|
| 46 |
+
"max_new_tokens": 128,
|
| 47 |
+
"normalized": true,
|
| 48 |
+
"local_strict_scorer_not_official_bfcl": true,
|
| 49 |
+
"corrected_protocol": {
|
| 50 |
+
"bfcl_canonicalization_prompt": true,
|
| 51 |
+
"parent_normalized_exact": {
|
| 52 |
+
"correct": 373,
|
| 53 |
+
"total": 1007,
|
| 54 |
+
"accuracy": 0.37040714995034757
|
| 55 |
+
},
|
| 56 |
+
"opd_normalized_exact": {
|
| 57 |
+
"correct": 374,
|
| 58 |
+
"total": 1007,
|
| 59 |
+
"accuracy": 0.3714001986097319
|
| 60 |
+
},
|
| 61 |
+
"net_correct": 1
|
| 62 |
+
},
|
| 63 |
+
"no_canonicalization_protocol": {
|
| 64 |
+
"bfcl_canonicalization_prompt": false,
|
| 65 |
+
"parent_normalized_exact": {
|
| 66 |
+
"correct": 372,
|
| 67 |
+
"total": 1007,
|
| 68 |
+
"accuracy": 0.36941410129096325
|
| 69 |
+
},
|
| 70 |
+
"opd_normalized_exact": {
|
| 71 |
+
"correct": 364,
|
| 72 |
+
"total": 1007,
|
| 73 |
+
"accuracy": 0.3614697120158888
|
| 74 |
+
}
|
| 75 |
+
}
|
| 76 |
+
},
|
| 77 |
+
"bucket_compare": {
|
| 78 |
+
"full_model_correct": 539,
|
| 79 |
+
"parent_correct": 373,
|
| 80 |
+
"opd_correct": 374,
|
| 81 |
+
"opd_vs_parent": {
|
| 82 |
+
"fixed_parent_fail": 5,
|
| 83 |
+
"regressed_from_parent_correct": 4,
|
| 84 |
+
"net": 1
|
| 85 |
+
},
|
| 86 |
+
"opd_vs_full": {
|
| 87 |
+
"fixed_full_fail": 43,
|
| 88 |
+
"regressed_from_full_correct": 208,
|
| 89 |
+
"still_fail": 425
|
| 90 |
+
},
|
| 91 |
+
"note": "Full-model bucket artifact was the available no-prompt run; parent/opd are corrected canon evals, so the full-vs-adapter bucket comparison is useful but not perfectly prompt-matched."
|
| 92 |
+
}
|
| 93 |
+
}
|