Upload Deco-G HMM checkpoints
Browse files- README.md +21 -0
- llama3.1-8b-instruct/README.md +20 -0
- llama3.1-8b-instruct/config.json +5 -0
- llama3.1-8b-instruct/model.safetensors +3 -0
- manifest.json +31 -0
- qwen2.5-7b-instruct/README.md +20 -0
- qwen2.5-7b-instruct/config.json +5 -0
- qwen2.5-7b-instruct/model.safetensors +3 -0
- qwen3-8b/README.md +20 -0
- qwen3-8b/config.json +5 -0
- qwen3-8b/model.safetensors +3 -0
README.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- deco-g
|
| 4 |
+
- hmm
|
| 5 |
+
- constrained-decoding
|
| 6 |
+
- format-estimation
|
| 7 |
+
---
|
| 8 |
+
|
| 9 |
+
# Deco-G HMM Checkpoints
|
| 10 |
+
|
| 11 |
+
This repository hosts the HMM checkpoints used by Deco-G for the public GSM8K and SummEval experiments in [Decoupling Task-Solving and Output Formatting in LLM Generation](https://arxiv.org/abs/2510.03595).
|
| 12 |
+
|
| 13 |
+
The code release at https://github.com/haikangdeng/deco-g downloads these checkpoints automatically for Deco-G decoding. The checkpoints are organized by model-specific subfolder:
|
| 14 |
+
|
| 15 |
+
| Deco-G alias | Base model | Subfolder |
|
| 16 |
+
| --- | --- | --- |
|
| 17 |
+
| `llama8b` | `meta-llama/Llama-3.1-8B-Instruct` | `llama3.1-8b-instruct` |
|
| 18 |
+
| `qwen7b` | `Qwen/Qwen2.5-7B-Instruct` | `qwen2.5-7b-instruct` |
|
| 19 |
+
| `qwen3-8b` | `Qwen/Qwen3-8B` | `qwen3-8b` |
|
| 20 |
+
|
| 21 |
+
Each subfolder contains a `config.json` and `model.safetensors` compatible with Deco-G's `HMM` class.
|
llama3.1-8b-instruct/README.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- deco-g
|
| 4 |
+
- hmm
|
| 5 |
+
- constrained-decoding
|
| 6 |
+
- format-estimation
|
| 7 |
+
base_model: meta-llama/Llama-3.1-8B-Instruct
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
# Deco-G HMM: meta-llama/Llama-3.1-8B-Instruct
|
| 11 |
+
|
| 12 |
+
This subfolder contains the Format Estimation Module HMM checkpoint for `llama8b` in Deco-G.
|
| 13 |
+
|
| 14 |
+
- Paper: [Decoupling Task-Solving and Output Formatting in LLM Generation](https://arxiv.org/abs/2510.03595)
|
| 15 |
+
- Base model: `meta-llama/Llama-3.1-8B-Instruct`
|
| 16 |
+
- Hidden states: `4096`
|
| 17 |
+
- Vocabulary size: `128256`
|
| 18 |
+
- EOS token id: `128009`
|
| 19 |
+
|
| 20 |
+
The checkpoint is loaded automatically by the Deco-G release code when running with `--model llama8b --control_type decog`.
|
llama3.1-8b-instruct/config.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"eos_token_id": 128009,
|
| 3 |
+
"hidden_states": 4096,
|
| 4 |
+
"vocab_size": 128256
|
| 5 |
+
}
|
llama3.1-8b-instruct/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bafca45da4a3c758bad1201b855b388b39213fe88c83eef77a40408055c9e52b
|
| 3 |
+
size 2168471800
|
manifest.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"repo": "hk/decog-hmms",
|
| 3 |
+
"paper": "Decoupling Task-Solving and Output Formatting in LLM Generation",
|
| 4 |
+
"arxiv": "https://arxiv.org/abs/2510.03595",
|
| 5 |
+
"checkpoints": [
|
| 6 |
+
{
|
| 7 |
+
"model_alias": "llama8b",
|
| 8 |
+
"subfolder": "llama3.1-8b-instruct",
|
| 9 |
+
"base_model": "meta-llama/Llama-3.1-8B-Instruct",
|
| 10 |
+
"hidden_states": 4096,
|
| 11 |
+
"vocab_size": 128256,
|
| 12 |
+
"eos_token_id": 128009
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"model_alias": "qwen7b",
|
| 16 |
+
"subfolder": "qwen2.5-7b-instruct",
|
| 17 |
+
"base_model": "Qwen/Qwen2.5-7B-Instruct",
|
| 18 |
+
"hidden_states": 4096,
|
| 19 |
+
"vocab_size": 152064,
|
| 20 |
+
"eos_token_id": 151645
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"model_alias": "qwen3-8b",
|
| 24 |
+
"subfolder": "qwen3-8b",
|
| 25 |
+
"base_model": "Qwen/Qwen3-8B",
|
| 26 |
+
"hidden_states": 4096,
|
| 27 |
+
"vocab_size": 151936,
|
| 28 |
+
"eos_token_id": 151645
|
| 29 |
+
}
|
| 30 |
+
]
|
| 31 |
+
}
|
qwen2.5-7b-instruct/README.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- deco-g
|
| 4 |
+
- hmm
|
| 5 |
+
- constrained-decoding
|
| 6 |
+
- format-estimation
|
| 7 |
+
base_model: Qwen/Qwen2.5-7B-Instruct
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
# Deco-G HMM: Qwen/Qwen2.5-7B-Instruct
|
| 11 |
+
|
| 12 |
+
This subfolder contains the Format Estimation Module HMM checkpoint for `qwen7b` in Deco-G.
|
| 13 |
+
|
| 14 |
+
- Paper: [Decoupling Task-Solving and Output Formatting in LLM Generation](https://arxiv.org/abs/2510.03595)
|
| 15 |
+
- Base model: `Qwen/Qwen2.5-7B-Instruct`
|
| 16 |
+
- Hidden states: `4096`
|
| 17 |
+
- Vocabulary size: `152064`
|
| 18 |
+
- EOS token id: `151645`
|
| 19 |
+
|
| 20 |
+
The checkpoint is loaded automatically by the Deco-G release code when running with `--model qwen7b --control_type decog`.
|
qwen2.5-7b-instruct/config.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"eos_token_id": 151645,
|
| 3 |
+
"hidden_states": 4096,
|
| 4 |
+
"vocab_size": 152064
|
| 5 |
+
}
|
qwen2.5-7b-instruct/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e1223a4107febf59a31cfb0c27db40fafec6a003ec240c67710da9ddf41e642a
|
| 3 |
+
size 2558542072
|
qwen3-8b/README.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- deco-g
|
| 4 |
+
- hmm
|
| 5 |
+
- constrained-decoding
|
| 6 |
+
- format-estimation
|
| 7 |
+
base_model: Qwen/Qwen3-8B
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
# Deco-G HMM: Qwen/Qwen3-8B
|
| 11 |
+
|
| 12 |
+
This subfolder contains the Format Estimation Module HMM checkpoint for `qwen3-8b` in Deco-G.
|
| 13 |
+
|
| 14 |
+
- Paper: [Decoupling Task-Solving and Output Formatting in LLM Generation](https://arxiv.org/abs/2510.03595)
|
| 15 |
+
- Base model: `Qwen/Qwen3-8B`
|
| 16 |
+
- Hidden states: `4096`
|
| 17 |
+
- Vocabulary size: `151936`
|
| 18 |
+
- EOS token id: `151645`
|
| 19 |
+
|
| 20 |
+
The checkpoint is loaded automatically by the Deco-G release code when running with `--model qwen3-8b --control_type decog`.
|
qwen3-8b/config.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"eos_token_id": 151645,
|
| 3 |
+
"hidden_states": 4096,
|
| 4 |
+
"vocab_size": 151936
|
| 5 |
+
}
|
qwen3-8b/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1877c11981c34685d851908844d1f17c0c5fc39a66ab54c20687674d5c7f76c3
|
| 3 |
+
size 2556444920
|