valerievloef
commited on
Commit
•
f0991fe
1
Parent(s):
c965e4c
Upload model
Browse files- README.md +6 -6
- adapter_config.json +5 -5
- adapter_model.safetensors +2 -2
- final_checkpoint/config.json +10 -9
- final_checkpoint/generation_config.json +3 -3
- final_checkpoint/model-00001-of-00003.safetensors +3 -0
- final_checkpoint/model-00002-of-00003.safetensors +3 -0
- final_checkpoint/model-00003-of-00003.safetensors +3 -0
- final_checkpoint/model.safetensors.index.json +0 -0
- training_args.bin +1 -1
README.md
CHANGED
@@ -5,7 +5,7 @@ tags:
|
|
5 |
- trl
|
6 |
- sft
|
7 |
- generated_from_trainer
|
8 |
-
base_model: bigcode/starcoder2-
|
9 |
model-index:
|
10 |
- name: finetune_starcoder2
|
11 |
results: []
|
@@ -14,10 +14,10 @@ model-index:
|
|
14 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
should probably proofread and complete it, then remove this comment. -->
|
16 |
|
17 |
-
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/vall-e/huggingface/runs/
|
18 |
# finetune_starcoder2
|
19 |
|
20 |
-
This model is a fine-tuned version of [bigcode/starcoder2-
|
21 |
|
22 |
## Model description
|
23 |
|
@@ -54,8 +54,8 @@ The following hyperparameters were used during training:
|
|
54 |
|
55 |
### Framework versions
|
56 |
|
57 |
-
- PEFT 0.
|
58 |
-
- Transformers 4.
|
59 |
-
- Pytorch 2.
|
60 |
- Datasets 2.19.1
|
61 |
- Tokenizers 0.19.1
|
|
|
5 |
- trl
|
6 |
- sft
|
7 |
- generated_from_trainer
|
8 |
+
base_model: bigcode/starcoder2-15b
|
9 |
model-index:
|
10 |
- name: finetune_starcoder2
|
11 |
results: []
|
|
|
14 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
should probably proofread and complete it, then remove this comment. -->
|
16 |
|
17 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/vall-e/huggingface/runs/pflx7g43)
|
18 |
# finetune_starcoder2
|
19 |
|
20 |
+
This model is a fine-tuned version of [bigcode/starcoder2-15b](https://huggingface.co/bigcode/starcoder2-15b) on an unknown dataset.
|
21 |
|
22 |
## Model description
|
23 |
|
|
|
54 |
|
55 |
### Framework versions
|
56 |
|
57 |
+
- PEFT 0.11.1
|
58 |
+
- Transformers 4.42.0.dev0
|
59 |
+
- Pytorch 2.3.0+cu121
|
60 |
- Datasets 2.19.1
|
61 |
- Tokenizers 0.19.1
|
adapter_config.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"alpha_pattern": {},
|
3 |
"auto_mapping": null,
|
4 |
-
"base_model_name_or_path": "bigcode/starcoder2-
|
5 |
"bias": "none",
|
6 |
"fan_in_fan_out": false,
|
7 |
"inference_mode": true,
|
@@ -20,12 +20,12 @@
|
|
20 |
"rank_pattern": {},
|
21 |
"revision": null,
|
22 |
"target_modules": [
|
23 |
-
"
|
24 |
-
"o_proj",
|
25 |
-
"q_proj",
|
26 |
"v_proj",
|
|
|
27 |
"up_proj",
|
28 |
-
"
|
|
|
29 |
"down_proj"
|
30 |
],
|
31 |
"task_type": "CAUSAL_LM",
|
|
|
1 |
{
|
2 |
"alpha_pattern": {},
|
3 |
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "bigcode/starcoder2-15b",
|
5 |
"bias": "none",
|
6 |
"fan_in_fan_out": false,
|
7 |
"inference_mode": true,
|
|
|
20 |
"rank_pattern": {},
|
21 |
"revision": null,
|
22 |
"target_modules": [
|
23 |
+
"k_proj",
|
|
|
|
|
24 |
"v_proj",
|
25 |
+
"o_proj",
|
26 |
"up_proj",
|
27 |
+
"gate_proj",
|
28 |
+
"q_proj",
|
29 |
"down_proj"
|
30 |
],
|
31 |
"task_type": "CAUSAL_LM",
|
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:9287a32a3396d0bd4d372e0c90796c32761ed4f7c2a9b59560f8f32e306b6fbf
|
3 |
+
size 48539256
|
final_checkpoint/config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "bigcode/starcoder2-
|
3 |
"architectures": [
|
4 |
"Starcoder2ForCausalLM"
|
5 |
],
|
@@ -8,17 +8,17 @@
|
|
8 |
"embedding_dropout": 0.1,
|
9 |
"eos_token_id": 0,
|
10 |
"hidden_act": "gelu_pytorch_tanh",
|
11 |
-
"hidden_size":
|
12 |
-
"initializer_range": 0.
|
13 |
-
"intermediate_size":
|
14 |
"max_position_embeddings": 16384,
|
15 |
"mlp_type": "default",
|
16 |
"model_type": "starcoder2",
|
17 |
"norm_epsilon": 1e-05,
|
18 |
"norm_type": "layer_norm",
|
19 |
-
"num_attention_heads":
|
20 |
-
"num_hidden_layers":
|
21 |
-
"num_key_value_heads":
|
22 |
"quantization_config": {
|
23 |
"_load_in_4bit": true,
|
24 |
"_load_in_8bit": false,
|
@@ -35,10 +35,11 @@
|
|
35 |
"quant_method": "bitsandbytes"
|
36 |
},
|
37 |
"residual_dropout": 0.1,
|
38 |
-
"rope_theta":
|
39 |
"sliding_window": 4096,
|
|
|
40 |
"torch_dtype": "float32",
|
41 |
-
"transformers_version": "4.
|
42 |
"use_bias": true,
|
43 |
"use_cache": true,
|
44 |
"vocab_size": 49152
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "bigcode/starcoder2-15b",
|
3 |
"architectures": [
|
4 |
"Starcoder2ForCausalLM"
|
5 |
],
|
|
|
8 |
"embedding_dropout": 0.1,
|
9 |
"eos_token_id": 0,
|
10 |
"hidden_act": "gelu_pytorch_tanh",
|
11 |
+
"hidden_size": 6144,
|
12 |
+
"initializer_range": 0.01275,
|
13 |
+
"intermediate_size": 24576,
|
14 |
"max_position_embeddings": 16384,
|
15 |
"mlp_type": "default",
|
16 |
"model_type": "starcoder2",
|
17 |
"norm_epsilon": 1e-05,
|
18 |
"norm_type": "layer_norm",
|
19 |
+
"num_attention_heads": 48,
|
20 |
+
"num_hidden_layers": 40,
|
21 |
+
"num_key_value_heads": 4,
|
22 |
"quantization_config": {
|
23 |
"_load_in_4bit": true,
|
24 |
"_load_in_8bit": false,
|
|
|
35 |
"quant_method": "bitsandbytes"
|
36 |
},
|
37 |
"residual_dropout": 0.1,
|
38 |
+
"rope_theta": 100000,
|
39 |
"sliding_window": 4096,
|
40 |
+
"tie_word_embeddings": false,
|
41 |
"torch_dtype": "float32",
|
42 |
+
"transformers_version": "4.42.0.dev0",
|
43 |
"use_bias": true,
|
44 |
"use_cache": true,
|
45 |
"vocab_size": 49152
|
final_checkpoint/generation_config.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
-
"bos_token_id":
|
4 |
-
"eos_token_id":
|
5 |
-
"transformers_version": "4.
|
6 |
}
|
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
+
"bos_token_id": 50256,
|
4 |
+
"eos_token_id": 50256,
|
5 |
+
"transformers_version": "4.42.0.dev0"
|
6 |
}
|
final_checkpoint/model-00001-of-00003.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:50f444c7f2952ebfc56ace73cce35b9422ca6c2deeac45776a897e571ff9e7de
|
3 |
+
size 4950280112
|
final_checkpoint/model-00002-of-00003.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:81726e7af63cab3a8e8a7ec6d35e3216b7e38b19074bd121beaaab6014a3eee6
|
3 |
+
size 4951978560
|
final_checkpoint/model-00003-of-00003.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e8cf600df2701898434e15f495df429d54421618ab52daf150ca73b519223f0e
|
3 |
+
size 1207959680
|
final_checkpoint/model.safetensors.index.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 5112
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:237fa6df610231b92c1bf8704ec441693524b8f0958486b43eb6dd5d2c63340c
|
3 |
size 5112
|