consolidate: drop the duplicated root copy
Browse files- README.md +0 -43
- config.json +0 -41
- generation_config.json +0 -7
- model.safetensors +0 -3
- tokenizer.json +0 -0
- tokenizer_config.json +0 -13
README.md
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
---
|
| 2 |
-
library_name: transformers
|
| 3 |
-
tags: [model-merging, mergeability, training-free, quotient-merge-distance]
|
| 4 |
-
---
|
| 5 |
-
|
| 6 |
-
# codegen-mono-multi__average__naive
|
| 7 |
-
|
| 8 |
-
Training-free merged checkpoint from the **Mergeability** sweep
|
| 9 |
-
(`benchmark/emit_lm.py --real`), produced by weight-space merging of two independently
|
| 10 |
-
trained parents. No gradient steps were taken.
|
| 11 |
-
|
| 12 |
-
| field | value |
|
| 13 |
-
|---|---|
|
| 14 |
-
| pair_id | `codegen-mono-multi` |
|
| 15 |
-
| parent_a | `Salesforce/codegen-350M-mono` |
|
| 16 |
-
| parent_b | `Salesforce/codegen-350M-multi` |
|
| 17 |
-
| ceiling | `Salesforce/codegen-350M-nl` |
|
| 18 |
-
| operator | `average` |
|
| 19 |
-
| alignment | `naive` |
|
| 20 |
-
| align_method | `permutation` |
|
| 21 |
-
| regime | `shared_base` |
|
| 22 |
-
| eval_langs | `wikitext` |
|
| 23 |
-
| nll_merge | `6.3817` |
|
| 24 |
-
| nll_floor | `6.2402` |
|
| 25 |
-
| param_coverage | `1.0` |
|
| 26 |
-
| MS | `-0.0891` |
|
| 27 |
-
|
| 28 |
-
## How it was made
|
| 29 |
-
|
| 30 |
-
Parents were loaded, activations extracted on a shared calibration corpus, and the merge applied
|
| 31 |
-
either **naive** (parents combined in their own coordinates) or **aligned** (parent B carried into
|
| 32 |
-
parent A's residual-stream basis via `common.alignment.residual_basis_map` before merging —
|
| 33 |
-
permutation for same-width pairs, orthogonal/rectangular for cross-width).
|
| 34 |
-
|
| 35 |
-
`MS` is the recovery score from `common.eval.mergeability_score` (merged vs. floor vs. ceiling), the
|
| 36 |
-
same normalisation used by Zhou et al., so it is comparable across rows of the sweep.
|
| 37 |
-
|
| 38 |
-
## Caveats
|
| 39 |
-
|
| 40 |
-
Sub-1B merges are noisy; an aligned signal where the naive one is noise is the finding, not a bug.
|
| 41 |
-
Rows without a joint ceiling are floor-relative and must not be read as absolute recovery.
|
| 42 |
-
|
| 43 |
-
Generated automatically — see the [mergeability repo](https://github.com/suchirsalhan/mergeability).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
config.json
DELETED
|
@@ -1,41 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"activation_function": "gelu_new",
|
| 3 |
-
"architectures": [
|
| 4 |
-
"CodeGenForCausalLM"
|
| 5 |
-
],
|
| 6 |
-
"attn_pdrop": 0.0,
|
| 7 |
-
"bos_token_id": 1,
|
| 8 |
-
"dtype": "float16",
|
| 9 |
-
"embd_pdrop": 0.0,
|
| 10 |
-
"eos_token_id": 50256,
|
| 11 |
-
"gradient_checkpointing": false,
|
| 12 |
-
"initializer_range": 0.02,
|
| 13 |
-
"layer_norm_epsilon": 1e-05,
|
| 14 |
-
"model_type": "codegen",
|
| 15 |
-
"n_ctx": 2048,
|
| 16 |
-
"n_embd": 1024,
|
| 17 |
-
"n_head": 16,
|
| 18 |
-
"n_inner": null,
|
| 19 |
-
"n_layer": 20,
|
| 20 |
-
"n_positions": 2048,
|
| 21 |
-
"resid_pdrop": 0.0,
|
| 22 |
-
"rotary_dim": 32,
|
| 23 |
-
"scale_attn_weights": true,
|
| 24 |
-
"summary_activation": null,
|
| 25 |
-
"summary_first_dropout": 0.1,
|
| 26 |
-
"summary_proj_to_labels": true,
|
| 27 |
-
"summary_type": "cls_index",
|
| 28 |
-
"summary_use_proj": true,
|
| 29 |
-
"task_specific_params": {
|
| 30 |
-
"text-generation": {
|
| 31 |
-
"do_sample": true,
|
| 32 |
-
"max_length": 50,
|
| 33 |
-
"temperature": 1.0
|
| 34 |
-
}
|
| 35 |
-
},
|
| 36 |
-
"tie_word_embeddings": false,
|
| 37 |
-
"tokenizer_class": "GPT2Tokenizer",
|
| 38 |
-
"transformers_version": "5.14.1",
|
| 39 |
-
"use_cache": true,
|
| 40 |
-
"vocab_size": 51200
|
| 41 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
generation_config.json
DELETED
|
@@ -1,7 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"_from_model_config": true,
|
| 3 |
-
"bos_token_id": 1,
|
| 4 |
-
"eos_token_id": 50256,
|
| 5 |
-
"transformers_version": "5.14.1",
|
| 6 |
-
"use_cache": true
|
| 7 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
model.safetensors
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:296c538895dd698ef5ddac366a715d0fe56414f92d103ac5ddd2f1369b49d26d
|
| 3 |
-
size 713442224
|
|
|
|
|
|
|
|
|
|
|
|
tokenizer.json
DELETED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
DELETED
|
@@ -1,13 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"add_prefix_space": false,
|
| 3 |
-
"backend": "tokenizers",
|
| 4 |
-
"bos_token": "<|endoftext|>",
|
| 5 |
-
"eos_token": "<|endoftext|>",
|
| 6 |
-
"is_local": false,
|
| 7 |
-
"local_files_only": false,
|
| 8 |
-
"model_max_length": 2048,
|
| 9 |
-
"pad_token": "<|endoftext|>",
|
| 10 |
-
"return_token_type_ids": false,
|
| 11 |
-
"tokenizer_class": "CodeGenTokenizer",
|
| 12 |
-
"unk_token": "<|endoftext|>"
|
| 13 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|