Upload model
Browse files- README.md +36 -1
- adapter_config.json +10 -24
- adapter_model.safetensors +2 -2
README.md
CHANGED
|
@@ -199,6 +199,41 @@ Carbon emissions can be estimated using the [Machine Learning Impact calculator]
|
|
| 199 |
[More Information Needed]
|
| 200 |
|
| 201 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 202 |
### Framework versions
|
| 203 |
|
| 204 |
-
|
|
|
|
|
|
| 199 |
[More Information Needed]
|
| 200 |
|
| 201 |
|
| 202 |
+
## Training procedure
|
| 203 |
+
|
| 204 |
+
|
| 205 |
+
The following `bitsandbytes` quantization config was used during training:
|
| 206 |
+
- quant_method: bitsandbytes
|
| 207 |
+
- load_in_8bit: False
|
| 208 |
+
- load_in_4bit: True
|
| 209 |
+
- llm_int8_threshold: 6.0
|
| 210 |
+
- llm_int8_skip_modules: None
|
| 211 |
+
- llm_int8_enable_fp32_cpu_offload: False
|
| 212 |
+
- llm_int8_has_fp16_weight: False
|
| 213 |
+
- bnb_4bit_quant_type: nf4
|
| 214 |
+
- bnb_4bit_use_double_quant: True
|
| 215 |
+
- bnb_4bit_compute_dtype: bfloat16
|
| 216 |
+
|
| 217 |
+
### Framework versions
|
| 218 |
+
|
| 219 |
+
|
| 220 |
+
- PEFT 0.6.2
|
| 221 |
+
## Training procedure
|
| 222 |
+
|
| 223 |
+
|
| 224 |
+
The following `bitsandbytes` quantization config was used during training:
|
| 225 |
+
- quant_method: bitsandbytes
|
| 226 |
+
- load_in_8bit: False
|
| 227 |
+
- load_in_4bit: True
|
| 228 |
+
- llm_int8_threshold: 6.0
|
| 229 |
+
- llm_int8_skip_modules: None
|
| 230 |
+
- llm_int8_enable_fp32_cpu_offload: False
|
| 231 |
+
- llm_int8_has_fp16_weight: False
|
| 232 |
+
- bnb_4bit_quant_type: nf4
|
| 233 |
+
- bnb_4bit_use_double_quant: True
|
| 234 |
+
- bnb_4bit_compute_dtype: bfloat16
|
| 235 |
+
|
| 236 |
### Framework versions
|
| 237 |
|
| 238 |
+
|
| 239 |
+
- PEFT 0.6.2
|
adapter_config.json
CHANGED
|
@@ -1,31 +1,17 @@
|
|
| 1 |
{
|
| 2 |
-
"alpha_pattern": {},
|
| 3 |
"auto_mapping": null,
|
| 4 |
"base_model_name_or_path": "deepseek-ai/deepseek-coder-1.3b-instruct",
|
| 5 |
-
"
|
| 6 |
-
"
|
|
|
|
|
|
|
| 7 |
"inference_mode": true,
|
| 8 |
-
"
|
| 9 |
-
"
|
| 10 |
-
"
|
| 11 |
-
"
|
| 12 |
-
"
|
| 13 |
-
"lora_dropout": 0.1,
|
| 14 |
-
"megatron_config": null,
|
| 15 |
-
"megatron_core": "megatron.core",
|
| 16 |
-
"modules_to_save": null,
|
| 17 |
-
"peft_type": "LORA",
|
| 18 |
-
"r": 64,
|
| 19 |
-
"rank_pattern": {},
|
| 20 |
"revision": null,
|
| 21 |
-
"target_modules": [
|
| 22 |
-
"up_proj",
|
| 23 |
-
"k_proj",
|
| 24 |
-
"gate_proj",
|
| 25 |
-
"q_proj",
|
| 26 |
-
"down_proj",
|
| 27 |
-
"v_proj"
|
| 28 |
-
],
|
| 29 |
"task_type": "CAUSAL_LM",
|
| 30 |
-
"
|
| 31 |
}
|
|
|
|
| 1 |
{
|
|
|
|
| 2 |
"auto_mapping": null,
|
| 3 |
"base_model_name_or_path": "deepseek-ai/deepseek-coder-1.3b-instruct",
|
| 4 |
+
"encoder_dropout": 0.0,
|
| 5 |
+
"encoder_hidden_size": 250,
|
| 6 |
+
"encoder_num_layers": 2,
|
| 7 |
+
"encoder_reparameterization_type": "MLP",
|
| 8 |
"inference_mode": true,
|
| 9 |
+
"num_attention_heads": 16,
|
| 10 |
+
"num_layers": 24,
|
| 11 |
+
"num_transformer_submodules": 1,
|
| 12 |
+
"num_virtual_tokens": 50,
|
| 13 |
+
"peft_type": "P_TUNING",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
"revision": null,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
"task_type": "CAUSAL_LM",
|
| 16 |
+
"token_dim": 2048
|
| 17 |
}
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:79acdcc1b8e57db310c2b04aab07db81dd60615a67b42d7a105b2b40f171d1e8
|
| 3 |
+
size 409720
|