TTangenty commited on
Commit
2f84135
·
verified ·
1 Parent(s): 24b4728

Upload complete E3 epoch1 step6250 checkpoint and file hashes

Browse files
README.md ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - image-editing
4
+ - editmgt
5
+ - lora
6
+ - checkpoint
7
+ ---
8
+ # editMGT E3 epoch 1 (step 6250)
9
+
10
+ Complete checkpoint from the E3 ROI-conditioning experiment, frozen D200K corpus, 8 GPUs, global batch 32. Step 6250 represents 200,000 sample exposures (1 epoch). This is the E3 teacher used to initialize the subsequent DiMO experiment, not a DiMO student checkpoint.
11
+
12
+ Source code: https://github.com/yiyezhiqiu2077/editMGT/tree/fix/e3-quality-pipeline-v1
13
+
14
+ Source commit: `36dff5ff9ad10cee3d3910eb980932ec0a251b62`.
15
+
16
+ ## Contents
17
+
18
+ - `adapter_model.safetensors`: trained LoRA tensors.
19
+ - `mask_conditioning.safetensors` and `mask_conditioning_config.json`: trained explicit region conditioning.
20
+ - `trainable_config.json` and `fingerprint.json`: original configuration and identity contracts.
21
+ - `training_state.pt`: full optimizer, scheduler, sampler and rank RNG state for resuming the original E3 recipe.
22
+ - `checkpoint_files.json`: exact file sizes and SHA256 digests.
23
+
24
+ The checkpoint does not include the frozen base model or training data. Use the compatible released editMGT base model and the source repository's custom loader, supplying this downloaded folder as `trainable_state_path`. Preserve all checkpoint files together. The JSON configurations retain their original machine paths for reproducibility; data and asset paths need to be remapped on another machine, and strict resume identity checks must be honored.
25
+
26
+ This is an exploratory epoch1 checkpoint. Teacher DEV128 inference has completed, but the comparative DiMO student/EMA quality evaluation is still incomplete; no formal quality acceptance is claimed. Corpus audits were skipped at the user's request, while frozen-manifest and runtime file integrity checks were retained.
27
+
28
+ Download with the official Hugging Face CLI (authenticate to access this private repository):
29
+
30
+ ```bash
31
+ hf download TTangenty/editMGT-E3-epoch1-step6250 --local-dir /tmp/editmgt-e3-epoch1
32
+ ```
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:26c790dbcdea80fa4b35516a5e25ced7d604fbee5655e330800cfff6ae94753e
3
+ size 86296568
checkpoint_files.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "adapter_model.safetensors": {
3
+ "bytes": 86296568,
4
+ "sha256": "26c790dbcdea80fa4b35516a5e25ced7d604fbee5655e330800cfff6ae94753e"
5
+ },
6
+ "fingerprint.json": {
7
+ "bytes": 5859,
8
+ "sha256": "5ec27315f4e898d11d307374b664e6d9d3deea38f0d4bb294a1ad43b78e606b0"
9
+ },
10
+ "mask_conditioning.safetensors": {
11
+ "bytes": 2144,
12
+ "sha256": "9ded8320d5614cca7eb1f96c90609ba1ec5068b3deafe86a02fff15302e0a70c"
13
+ },
14
+ "mask_conditioning_config.json": {
15
+ "bytes": 135,
16
+ "sha256": "0f3694cd6efad9a382193d44f15a2f66342be0fc003e37252ec182b0532d44b0"
17
+ },
18
+ "trainable_config.json": {
19
+ "bytes": 5458,
20
+ "sha256": "2c2d048df54a2fefd922e4a76ba3f068f9e2d6c6978680f60f73ca79366018b1"
21
+ },
22
+ "training_state.pt": {
23
+ "bytes": 173083680,
24
+ "sha256": "65422a2f3f3ebc0984526f4f13d9e093caeb76ef85fb8263ef88292c47d4ccd7"
25
+ }
26
+ }
fingerprint.json ADDED
@@ -0,0 +1,156 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "payload": {
3
+ "attention_backend": "math_sdp",
4
+ "component_dtypes": {
5
+ "text_encoders": "bf16",
6
+ "transformer": "bf16",
7
+ "vqvae": "fp32"
8
+ },
9
+ "corruption": {
10
+ "full_roi_mask_probability": 0.15,
11
+ "mode": "roi_hardlock",
12
+ "persistent_conditioning": true,
13
+ "roi_probability": 1.0
14
+ },
15
+ "data": {
16
+ "corpus_ready": "/tmp/editmgt-tanyue-20261008/assets/derived/fixed200k/CORPUS_READY.json",
17
+ "manifest": "/tmp/editmgt-tanyue-20261008/assets/derived/fixed200k/train_200k.jsonl",
18
+ "metadata": "/tmp/editmgt-tanyue-20261008/assets/derived/fixed200k/train_200k.meta.json",
19
+ "name": "fixed_200k",
20
+ "roots": {
21
+ "crispedit": "/tmp/editmgt-tanyue-20261008/assets/datasets/crispedit",
22
+ "interedit": "/tmp/editmgt-tanyue-20261008/assets/datasets/interedit",
23
+ "magicbrush": "/tmp/editmgt-tanyue-20261008/assets/datasets/magicbrush/train",
24
+ "scaleedit": "/tmp/editmgt-tanyue-20261008/assets/datasets/scaleedit"
25
+ },
26
+ "translation": {
27
+ "backend": "nllb",
28
+ "decoding": {
29
+ "do_sample": false,
30
+ "max_new_tokens": 128,
31
+ "num_beams": 1
32
+ },
33
+ "immutable_revision": "7be3e24664b38ce1cac29b8aeed6911aa0cf0576",
34
+ "repo": "facebook/nllb-200-distilled-1.3B",
35
+ "src_lang": "zho_Hans",
36
+ "tgt_lang": "eng_Latn"
37
+ },
38
+ "translation_cache": "/tmp/editmgt-tanyue-20261008/assets/derived/fixed200k/translation_cache.jsonl",
39
+ "translation_config": "configs/translation/nllb.yaml",
40
+ "verify_hashes_at_read": true
41
+ },
42
+ "data_content_hashes": {
43
+ "data.corpus_ready": {
44
+ "resolved_path": "/tmp/editmgt-tanyue-20261008/assets/derived/fixed200k/CORPUS_READY.json",
45
+ "sha256": "f4c12f3c3d3d593691a746e94833a93ceb96036044b2fb664f7d7cdc798ed8ec"
46
+ },
47
+ "data.manifest": {
48
+ "resolved_path": "/tmp/editmgt-tanyue-20261008/assets/derived/fixed200k/train_200k.jsonl",
49
+ "sha256": "d4cd8c8776653bcac589c6df66c0fd0579fa7c26f9f53fd399a797943b2006ae"
50
+ },
51
+ "data.metadata": {
52
+ "resolved_path": "/tmp/editmgt-tanyue-20261008/assets/derived/fixed200k/train_200k.meta.json",
53
+ "sha256": "5135acd32721cddf8dc5d8f40456a16038f5a21e17a1a4ee4785afb67f75c00b"
54
+ },
55
+ "data.translation_cache": {
56
+ "resolved_path": "/tmp/editmgt-tanyue-20261008/assets/derived/fixed200k/translation_cache.jsonl",
57
+ "sha256": "cef0791f1c609a7aa21c51566ca61175816aa929aff12d285d6ed1bf8ed41ba0"
58
+ },
59
+ "data.translation_config": {
60
+ "resolved_path": "/opt/tiger/tanyue/editMGT/configs/translation/nllb.yaml",
61
+ "sha256": "3b039cea4c40bb14019360d836bbaaa67b6b200e53538d283e6bfe6712364de6"
62
+ },
63
+ "validation.manifest": {
64
+ "resolved_path": "/tmp/editmgt-tanyue-20261008/assets/derived/fixed200k/validation/magicbrush_probe128.jsonl",
65
+ "sha256": "63947c15f3b7254cad816afacd0af8800b02135b560941e24d33925824bcb0ac"
66
+ }
67
+ },
68
+ "distributed_reduction": {
69
+ "nccl_algo": "Ring",
70
+ "nccl_proto": "Simple",
71
+ "resume_bucket_priming": true
72
+ },
73
+ "epochs": 5,
74
+ "git_dirty_diff_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
75
+ "git_sha": "36dff5ff9ad10cee3d3910eb980932ec0a251b62",
76
+ "gradient_accumulation": 4,
77
+ "lora": {
78
+ "alpha": 64,
79
+ "dropout": 0.05,
80
+ "rank": 64,
81
+ "scope": "both",
82
+ "target_modules": [
83
+ "to_q",
84
+ "to_k",
85
+ "to_v",
86
+ "to_out.0",
87
+ "ff.net.2",
88
+ "proj_mlp",
89
+ "proj_out"
90
+ ]
91
+ },
92
+ "loss": "per_sample_normalized_ce",
93
+ "model_identity": {
94
+ "components": {
95
+ "llm_encoder": {
96
+ "config_sha256": "eacec6c5ca317a87ed2c46789d9705b9274db5027e7ba59da739bfae23addb55"
97
+ },
98
+ "scheduler": {
99
+ "config_sha256": "de28f73f40d0834ac252ac65ef48dc35fcec8a3b50b52cd80d0bb7c99884bdb6"
100
+ },
101
+ "text_encoder": {
102
+ "config_sha256": "d891548c47c3c7770f3419af22093c7f98e76f6e5ec77fd444ef24ee76607aed"
103
+ },
104
+ "tokenizer": {
105
+ "config_sha256": "516314ccab66918d7cb647480ac27abd3520d14e1e5825aac99f50c851c16071"
106
+ },
107
+ "transformer": {
108
+ "config_sha256": "68effa13da0faa17b41dfcb754d81b7402044ff64d8ca9eb7f678d60263e2948"
109
+ },
110
+ "vqvae": {
111
+ "config_sha256": "f543c65e38300b098436a93d7b2c9e8246b47b3e9be8e0e6e37a5a5c6a050161"
112
+ }
113
+ },
114
+ "repo_id": "WeiChow/EditMGT",
115
+ "resolved_revision": "0a00f14ea159728fb76ac99ed741f9deca5fee28"
116
+ },
117
+ "model_snapshot": "0a00f14ea159728fb76ac99ed741f9deca5fee28",
118
+ "optimizer": {
119
+ "betas": [
120
+ 0.9,
121
+ 0.95
122
+ ],
123
+ "gradient_clip": 1.0,
124
+ "learning_rate": 3e-05,
125
+ "name": "AdamW",
126
+ "scheduler": "constant_with_warmup",
127
+ "weight_decay": 0.01
128
+ },
129
+ "per_device_batch": 1,
130
+ "precision": "bf16",
131
+ "resolution": 1024,
132
+ "sampler_schema": "fixed200k-hash-sort-v1",
133
+ "scheduler_horizon_steps": 31250,
134
+ "schema": "explicit-region-sft-v1",
135
+ "seed": 42,
136
+ "token_mask": {
137
+ "coverage_threshold": 0.5,
138
+ "dilation_tokens": 0,
139
+ "minimum_edit_tokens": 1,
140
+ "mode": "any_overlap"
141
+ },
142
+ "torch_compile": false,
143
+ "uv_lock_sha256": "98aa6e00f19aa5a23aea131dc0943e2ac54db7b02b1918ae8202b45c64054b8e",
144
+ "validation": {
145
+ "dataset_root": "/tmp/editmgt-tanyue-20261008/assets/datasets/magicbrush/dev",
146
+ "enabled": true,
147
+ "inference_config": "configs/eval/e3_periodic_probe.yaml",
148
+ "interval_steps": 3125,
149
+ "manifest": "/tmp/editmgt-tanyue-20261008/assets/derived/fixed200k/validation/magicbrush_probe128.jsonl",
150
+ "protocol": "fixed200k_magicbrush_probe"
151
+ },
152
+ "warmup_steps": 200,
153
+ "world_size": 8
154
+ },
155
+ "sha256": "d3c5db8521f561d8ac0d68a85cdc7b9633c0d035b7642b7656cf8123f783d1c9"
156
+ }
mask_conditioning.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ded8320d5614cca7eb1f96c90609ba1ec5068b3deafe86a02fff15302e0a70c
3
+ size 2144
mask_conditioning_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "conditioning": "binary_mask_times_single_vector",
3
+ "dtype": "torch.bfloat16",
4
+ "schema_version": 1,
5
+ "shape": [
6
+ 1024
7
+ ]
8
+ }
trainable_config.json ADDED
@@ -0,0 +1,153 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "attention_backend": "math_sdp",
3
+ "component_dtypes": {
4
+ "text_encoders": "bf16",
5
+ "transformer": "bf16",
6
+ "vqvae": "fp32"
7
+ },
8
+ "corruption": {
9
+ "full_roi_mask_probability": 0.15,
10
+ "mode": "roi_hardlock",
11
+ "persistent_conditioning": true,
12
+ "roi_probability": 1.0
13
+ },
14
+ "data": {
15
+ "corpus_ready": "/tmp/editmgt-tanyue-20261008/assets/derived/fixed200k/CORPUS_READY.json",
16
+ "manifest": "/tmp/editmgt-tanyue-20261008/assets/derived/fixed200k/train_200k.jsonl",
17
+ "metadata": "/tmp/editmgt-tanyue-20261008/assets/derived/fixed200k/train_200k.meta.json",
18
+ "name": "fixed_200k",
19
+ "roots": {
20
+ "crispedit": "/tmp/editmgt-tanyue-20261008/assets/datasets/crispedit",
21
+ "interedit": "/tmp/editmgt-tanyue-20261008/assets/datasets/interedit",
22
+ "magicbrush": "/tmp/editmgt-tanyue-20261008/assets/datasets/magicbrush/train",
23
+ "scaleedit": "/tmp/editmgt-tanyue-20261008/assets/datasets/scaleedit"
24
+ },
25
+ "translation": {
26
+ "backend": "nllb",
27
+ "decoding": {
28
+ "do_sample": false,
29
+ "max_new_tokens": 128,
30
+ "num_beams": 1
31
+ },
32
+ "immutable_revision": "7be3e24664b38ce1cac29b8aeed6911aa0cf0576",
33
+ "repo": "facebook/nllb-200-distilled-1.3B",
34
+ "src_lang": "zho_Hans",
35
+ "tgt_lang": "eng_Latn"
36
+ },
37
+ "translation_cache": "/tmp/editmgt-tanyue-20261008/assets/derived/fixed200k/translation_cache.jsonl",
38
+ "translation_config": "configs/translation/nllb.yaml",
39
+ "verify_hashes_at_read": true
40
+ },
41
+ "data_content_hashes": {
42
+ "data.corpus_ready": {
43
+ "resolved_path": "/tmp/editmgt-tanyue-20261008/assets/derived/fixed200k/CORPUS_READY.json",
44
+ "sha256": "f4c12f3c3d3d593691a746e94833a93ceb96036044b2fb664f7d7cdc798ed8ec"
45
+ },
46
+ "data.manifest": {
47
+ "resolved_path": "/tmp/editmgt-tanyue-20261008/assets/derived/fixed200k/train_200k.jsonl",
48
+ "sha256": "d4cd8c8776653bcac589c6df66c0fd0579fa7c26f9f53fd399a797943b2006ae"
49
+ },
50
+ "data.metadata": {
51
+ "resolved_path": "/tmp/editmgt-tanyue-20261008/assets/derived/fixed200k/train_200k.meta.json",
52
+ "sha256": "5135acd32721cddf8dc5d8f40456a16038f5a21e17a1a4ee4785afb67f75c00b"
53
+ },
54
+ "data.translation_cache": {
55
+ "resolved_path": "/tmp/editmgt-tanyue-20261008/assets/derived/fixed200k/translation_cache.jsonl",
56
+ "sha256": "cef0791f1c609a7aa21c51566ca61175816aa929aff12d285d6ed1bf8ed41ba0"
57
+ },
58
+ "data.translation_config": {
59
+ "resolved_path": "/opt/tiger/tanyue/editMGT/configs/translation/nllb.yaml",
60
+ "sha256": "3b039cea4c40bb14019360d836bbaaa67b6b200e53538d283e6bfe6712364de6"
61
+ },
62
+ "validation.manifest": {
63
+ "resolved_path": "/tmp/editmgt-tanyue-20261008/assets/derived/fixed200k/validation/magicbrush_probe128.jsonl",
64
+ "sha256": "63947c15f3b7254cad816afacd0af8800b02135b560941e24d33925824bcb0ac"
65
+ }
66
+ },
67
+ "distributed_reduction": {
68
+ "nccl_algo": "Ring",
69
+ "nccl_proto": "Simple",
70
+ "resume_bucket_priming": true
71
+ },
72
+ "epochs": 5,
73
+ "git_dirty_diff_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
74
+ "git_sha": "36dff5ff9ad10cee3d3910eb980932ec0a251b62",
75
+ "gradient_accumulation": 4,
76
+ "lora": {
77
+ "alpha": 64,
78
+ "dropout": 0.05,
79
+ "rank": 64,
80
+ "scope": "both",
81
+ "target_modules": [
82
+ "to_q",
83
+ "to_k",
84
+ "to_v",
85
+ "to_out.0",
86
+ "ff.net.2",
87
+ "proj_mlp",
88
+ "proj_out"
89
+ ]
90
+ },
91
+ "loss": "per_sample_normalized_ce",
92
+ "model_identity": {
93
+ "components": {
94
+ "llm_encoder": {
95
+ "config_sha256": "eacec6c5ca317a87ed2c46789d9705b9274db5027e7ba59da739bfae23addb55"
96
+ },
97
+ "scheduler": {
98
+ "config_sha256": "de28f73f40d0834ac252ac65ef48dc35fcec8a3b50b52cd80d0bb7c99884bdb6"
99
+ },
100
+ "text_encoder": {
101
+ "config_sha256": "d891548c47c3c7770f3419af22093c7f98e76f6e5ec77fd444ef24ee76607aed"
102
+ },
103
+ "tokenizer": {
104
+ "config_sha256": "516314ccab66918d7cb647480ac27abd3520d14e1e5825aac99f50c851c16071"
105
+ },
106
+ "transformer": {
107
+ "config_sha256": "68effa13da0faa17b41dfcb754d81b7402044ff64d8ca9eb7f678d60263e2948"
108
+ },
109
+ "vqvae": {
110
+ "config_sha256": "f543c65e38300b098436a93d7b2c9e8246b47b3e9be8e0e6e37a5a5c6a050161"
111
+ }
112
+ },
113
+ "repo_id": "WeiChow/EditMGT",
114
+ "resolved_revision": "0a00f14ea159728fb76ac99ed741f9deca5fee28"
115
+ },
116
+ "model_snapshot": "0a00f14ea159728fb76ac99ed741f9deca5fee28",
117
+ "optimizer": {
118
+ "betas": [
119
+ 0.9,
120
+ 0.95
121
+ ],
122
+ "gradient_clip": 1.0,
123
+ "learning_rate": 3e-05,
124
+ "name": "AdamW",
125
+ "scheduler": "constant_with_warmup",
126
+ "weight_decay": 0.01
127
+ },
128
+ "per_device_batch": 1,
129
+ "precision": "bf16",
130
+ "resolution": 1024,
131
+ "sampler_schema": "fixed200k-hash-sort-v1",
132
+ "scheduler_horizon_steps": 31250,
133
+ "schema": "explicit-region-sft-v1",
134
+ "seed": 42,
135
+ "token_mask": {
136
+ "coverage_threshold": 0.5,
137
+ "dilation_tokens": 0,
138
+ "minimum_edit_tokens": 1,
139
+ "mode": "any_overlap"
140
+ },
141
+ "torch_compile": false,
142
+ "uv_lock_sha256": "98aa6e00f19aa5a23aea131dc0943e2ac54db7b02b1918ae8202b45c64054b8e",
143
+ "validation": {
144
+ "dataset_root": "/tmp/editmgt-tanyue-20261008/assets/datasets/magicbrush/dev",
145
+ "enabled": true,
146
+ "inference_config": "configs/eval/e3_periodic_probe.yaml",
147
+ "interval_steps": 3125,
148
+ "manifest": "/tmp/editmgt-tanyue-20261008/assets/derived/fixed200k/validation/magicbrush_probe128.jsonl",
149
+ "protocol": "fixed200k_magicbrush_probe"
150
+ },
151
+ "warmup_steps": 200,
152
+ "world_size": 8
153
+ }
training_state.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:65422a2f3f3ebc0984526f4f13d9e093caeb76ef85fb8263ef88292c47d4ccd7
3
+ size 173083680