Upload 9 files
Browse files- README.md +78 -0
- config.json +40 -0
- generation_config.json +5 -0
- model.safetensors +3 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +5 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: juancopi81/lmd-8bars-2048-epochs30_v4
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
model-index:
|
6 |
+
- name: lmd-8bars-2048-epochs40_v4
|
7 |
+
results: []
|
8 |
+
---
|
9 |
+
|
10 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
11 |
+
should probably proofread and complete it, then remove this comment. -->
|
12 |
+
|
13 |
+
# lmd-8bars-2048-epochs40_v4
|
14 |
+
|
15 |
+
This model is a fine-tuned version of [juancopi81/lmd-8bars-2048-epochs30_v4](https://huggingface.co/juancopi81/lmd-8bars-2048-epochs30_v4) on an unknown dataset.
|
16 |
+
It achieves the following results on the evaluation set:
|
17 |
+
- Loss: 0.9128
|
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: 0.0005
|
37 |
+
- train_batch_size: 8
|
38 |
+
- eval_batch_size: 4
|
39 |
+
- seed: 1
|
40 |
+
- gradient_accumulation_steps: 2
|
41 |
+
- total_train_batch_size: 16
|
42 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
43 |
+
- lr_scheduler_type: cosine
|
44 |
+
- lr_scheduler_warmup_ratio: 0.01
|
45 |
+
- num_epochs: 10
|
46 |
+
|
47 |
+
### Training results
|
48 |
+
|
49 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
50 |
+
|:-------------:|:-----:|:-----:|:---------------:|
|
51 |
+
| 0.959 | 0.5 | 4994 | 0.9735 |
|
52 |
+
| 0.9841 | 1.0 | 9988 | 0.9691 |
|
53 |
+
| 0.9779 | 1.5 | 14982 | 0.9632 |
|
54 |
+
| 0.9818 | 2.0 | 19976 | 0.9590 |
|
55 |
+
| 0.9736 | 2.5 | 24970 | 0.9610 |
|
56 |
+
| 0.9715 | 3.0 | 29964 | 0.9552 |
|
57 |
+
| 0.9629 | 3.5 | 34958 | 0.9520 |
|
58 |
+
| 0.9623 | 4.0 | 39952 | 0.9435 |
|
59 |
+
| 0.9509 | 4.5 | 44946 | 0.9442 |
|
60 |
+
| 0.9499 | 5.0 | 49940 | 0.9404 |
|
61 |
+
| 0.9367 | 5.5 | 54934 | 0.9334 |
|
62 |
+
| 0.9376 | 6.0 | 59928 | 0.9308 |
|
63 |
+
| 0.9247 | 6.5 | 64922 | 0.9270 |
|
64 |
+
| 0.9255 | 7.0 | 69916 | 0.9200 |
|
65 |
+
| 0.9163 | 7.5 | 74910 | 0.9184 |
|
66 |
+
| 0.9123 | 8.0 | 79904 | 0.9160 |
|
67 |
+
| 0.9071 | 8.5 | 84898 | 0.9147 |
|
68 |
+
| 0.9042 | 9.0 | 89892 | 0.9132 |
|
69 |
+
| 0.9026 | 9.5 | 94886 | 0.9124 |
|
70 |
+
| 0.9012 | 10.0 | 99880 | 0.9128 |
|
71 |
+
|
72 |
+
|
73 |
+
### Framework versions
|
74 |
+
|
75 |
+
- Transformers 4.31.0
|
76 |
+
- Pytorch 2.0.1+cu118
|
77 |
+
- Datasets 2.14.4
|
78 |
+
- Tokenizers 0.13.3
|
config.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "juancopi81/lmd-8bars-2048-epochs30_v4",
|
3 |
+
"activation_function": "gelu_new",
|
4 |
+
"architectures": [
|
5 |
+
"GPT2LMHeadModel"
|
6 |
+
],
|
7 |
+
"attn_pdrop": 0.1,
|
8 |
+
"bos_token_id": null,
|
9 |
+
"embd_pdrop": 0.1,
|
10 |
+
"eos_token_id": null,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"layer_norm_epsilon": 1e-05,
|
13 |
+
"model_type": "gpt2",
|
14 |
+
"n_ctx": 1024,
|
15 |
+
"n_embd": 512,
|
16 |
+
"n_head": 8,
|
17 |
+
"n_inner": null,
|
18 |
+
"n_layer": 6,
|
19 |
+
"n_positions": 2048,
|
20 |
+
"pad_token_id": 3,
|
21 |
+
"reorder_and_upcast_attn": false,
|
22 |
+
"resid_pdrop": 0.1,
|
23 |
+
"scale_attn_by_inverse_layer_idx": false,
|
24 |
+
"scale_attn_weights": true,
|
25 |
+
"summary_activation": null,
|
26 |
+
"summary_first_dropout": 0.1,
|
27 |
+
"summary_proj_to_labels": true,
|
28 |
+
"summary_type": "cls_index",
|
29 |
+
"summary_use_proj": true,
|
30 |
+
"task_specific_params": {
|
31 |
+
"text-generation": {
|
32 |
+
"do_sample": true,
|
33 |
+
"max_length": 50
|
34 |
+
}
|
35 |
+
},
|
36 |
+
"torch_dtype": "float32",
|
37 |
+
"transformers_version": "4.31.0",
|
38 |
+
"use_cache": true,
|
39 |
+
"vocab_size": 13925
|
40 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"pad_token_id": 3,
|
4 |
+
"transformers_version": "4.31.0"
|
5 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7c414f35f134f85d3f041e1caa99b9ce352c696984d6d577c8bb5cd34eab2a8a
|
3 |
+
size 108381576
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:05cb4fc1d95f727c8e700390ee25790d28fa6c6cb29a39207d9a075034fa6383
|
3 |
+
size 108398485
|
special_tokens_map.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"pad_token": "[PAD]"
|
3 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"clean_up_tokenization_spaces": true,
|
3 |
+
"model_max_length": 1000000000000000019884624838656,
|
4 |
+
"tokenizer_class": "PreTrainedTokenizerFast"
|
5 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:109addd46432f357568f83cd787dc7e68ab70dc8ef2c0aed37c8a58a948023da
|
3 |
+
size 3963
|