End of training
Browse files- README.md +53 -0
- config.json +36 -0
- generation_config.json +7 -0
- model.safetensors +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: bigcode-openrail-m
|
4 |
+
base_model: bigcode/santacoder
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
model-index:
|
8 |
+
- name: santacoder-finetuned-the-stack-bash
|
9 |
+
results: []
|
10 |
+
---
|
11 |
+
|
12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
13 |
+
should probably proofread and complete it, then remove this comment. -->
|
14 |
+
|
15 |
+
# santacoder-finetuned-the-stack-bash
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [bigcode/santacoder](https://huggingface.co/bigcode/santacoder) on an unknown dataset.
|
18 |
+
|
19 |
+
## Model description
|
20 |
+
|
21 |
+
More information needed
|
22 |
+
|
23 |
+
## Intended uses & limitations
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Training and evaluation data
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training procedure
|
32 |
+
|
33 |
+
### Training hyperparameters
|
34 |
+
|
35 |
+
The following hyperparameters were used during training:
|
36 |
+
- learning_rate: 5e-05
|
37 |
+
- train_batch_size: 1
|
38 |
+
- eval_batch_size: 1
|
39 |
+
- seed: 42
|
40 |
+
- gradient_accumulation_steps: 4
|
41 |
+
- total_train_batch_size: 4
|
42 |
+
- optimizer: Use OptimizerNames.ADAFACTOR and the args are:
|
43 |
+
No additional optimizer arguments
|
44 |
+
- lr_scheduler_type: cosine
|
45 |
+
- lr_scheduler_warmup_steps: 100
|
46 |
+
- training_steps: 5000
|
47 |
+
|
48 |
+
### Framework versions
|
49 |
+
|
50 |
+
- Transformers 4.51.3
|
51 |
+
- Pytorch 2.6.0+cu124
|
52 |
+
- Datasets 3.5.0
|
53 |
+
- Tokenizers 0.21.1
|
config.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"activation_function": "gelu_fast",
|
3 |
+
"architectures": [
|
4 |
+
"GPT2LMHeadCustomModel"
|
5 |
+
],
|
6 |
+
"attention_head_type": "multiquery",
|
7 |
+
"attn_pdrop": 0.1,
|
8 |
+
"auto_map": {
|
9 |
+
"AutoConfig": "bigcode/santacoder--configuration_gpt2_mq.GPT2CustomConfig",
|
10 |
+
"AutoModelForCausalLM": "bigcode/santacoder--modeling_gpt2_mq.GPT2LMHeadCustomModel"
|
11 |
+
},
|
12 |
+
"bos_token_id": 49152,
|
13 |
+
"embd_pdrop": 0.1,
|
14 |
+
"eos_token_id": 49152,
|
15 |
+
"initializer_range": 0.02,
|
16 |
+
"layer_norm_epsilon": 1e-05,
|
17 |
+
"model_type": "gpt2",
|
18 |
+
"n_embd": 2048,
|
19 |
+
"n_head": 16,
|
20 |
+
"n_inner": 8192,
|
21 |
+
"n_layer": 24,
|
22 |
+
"n_positions": 2048,
|
23 |
+
"reorder_and_upcast_attn": false,
|
24 |
+
"resid_pdrop": 0.1,
|
25 |
+
"scale_attn_by_inverse_layer_idx": false,
|
26 |
+
"scale_attn_weights": true,
|
27 |
+
"summary_activation": null,
|
28 |
+
"summary_first_dropout": 0.1,
|
29 |
+
"summary_proj_to_labels": true,
|
30 |
+
"summary_type": "cls_index",
|
31 |
+
"summary_use_proj": true,
|
32 |
+
"torch_dtype": "float32",
|
33 |
+
"transformers_version": "4.51.3",
|
34 |
+
"use_cache": false,
|
35 |
+
"vocab_size": 49280
|
36 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 49152,
|
4 |
+
"eos_token_id": 49152,
|
5 |
+
"transformers_version": "4.51.3",
|
6 |
+
"use_cache": false
|
7 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0d4b2b9874e7d9cdf1232969eac2e70302b1e9036d52113f9a19f0509a85e296
|
3 |
+
size 4600250264
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9a465e22de514ffa6613480a99cab4f446e45f6862f2e2b2b90d362e39eafb23
|
3 |
+
size 5368
|