End of training
Browse files- README.md +88 -0
- adapter_config.json +28 -0
- adapter_model.safetensors +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
library_name: peft
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
base_model: openai-community/gpt2
|
7 |
+
model-index:
|
8 |
+
- name: GPT2_Pirate_2024_05_10_20_25_24_lora_weightTrue_loraR32_optim_adamw_torch_epoch2_lr3e-05
|
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 |
+
# GPT2_Pirate_2024_05_10_20_25_24_lora_weightTrue_loraR32_optim_adamw_torch_epoch2_lr3e-05
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [openai-community/gpt2](https://huggingface.co/openai-community/gpt2) on the None dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 1.7723
|
20 |
+
|
21 |
+
## Model description
|
22 |
+
|
23 |
+
More information needed
|
24 |
+
|
25 |
+
## Intended uses & limitations
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Training and evaluation data
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training procedure
|
34 |
+
|
35 |
+
### Training hyperparameters
|
36 |
+
|
37 |
+
The following hyperparameters were used during training:
|
38 |
+
- learning_rate: 3e-05
|
39 |
+
- train_batch_size: 8
|
40 |
+
- eval_batch_size: 8
|
41 |
+
- seed: 42
|
42 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
43 |
+
- lr_scheduler_type: linear
|
44 |
+
- num_epochs: 2
|
45 |
+
- mixed_precision_training: Native AMP
|
46 |
+
|
47 |
+
### Training results
|
48 |
+
|
49 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
50 |
+
|:-------------:|:------:|:-----:|:---------------:|
|
51 |
+
| 2.3874 | 0.0673 | 1000 | 1.9785 |
|
52 |
+
| 1.7367 | 0.1346 | 2000 | 1.8709 |
|
53 |
+
| 1.6208 | 0.2020 | 3000 | 1.8520 |
|
54 |
+
| 1.5521 | 0.2693 | 4000 | 1.8361 |
|
55 |
+
| 1.5165 | 0.3366 | 5000 | 1.8298 |
|
56 |
+
| 1.484 | 0.4039 | 6000 | 1.8227 |
|
57 |
+
| 1.4262 | 0.4712 | 7000 | 1.8078 |
|
58 |
+
| 1.4701 | 0.5385 | 8000 | 1.8000 |
|
59 |
+
| 1.4188 | 0.6059 | 9000 | 1.7938 |
|
60 |
+
| 1.403 | 0.6732 | 10000 | 1.7908 |
|
61 |
+
| 1.4115 | 0.7405 | 11000 | 1.7940 |
|
62 |
+
| 1.4153 | 0.8078 | 12000 | 1.7888 |
|
63 |
+
| 1.3903 | 0.8751 | 13000 | 1.7844 |
|
64 |
+
| 1.3918 | 0.9424 | 14000 | 1.7830 |
|
65 |
+
| 1.4018 | 1.0098 | 15000 | 1.7843 |
|
66 |
+
| 1.3579 | 1.0771 | 16000 | 1.7777 |
|
67 |
+
| 1.3803 | 1.1444 | 17000 | 1.7776 |
|
68 |
+
| 1.3545 | 1.2117 | 18000 | 1.7778 |
|
69 |
+
| 1.3557 | 1.2790 | 19000 | 1.7742 |
|
70 |
+
| 1.3739 | 1.3463 | 20000 | 1.7769 |
|
71 |
+
| 1.3538 | 1.4137 | 21000 | 1.7778 |
|
72 |
+
| 1.3761 | 1.4810 | 22000 | 1.7763 |
|
73 |
+
| 1.347 | 1.5483 | 23000 | 1.7735 |
|
74 |
+
| 1.3579 | 1.6156 | 24000 | 1.7729 |
|
75 |
+
| 1.3581 | 1.6829 | 25000 | 1.7734 |
|
76 |
+
| 1.3472 | 1.7503 | 26000 | 1.7726 |
|
77 |
+
| 1.3377 | 1.8176 | 27000 | 1.7752 |
|
78 |
+
| 1.3243 | 1.8849 | 28000 | 1.7732 |
|
79 |
+
| 1.369 | 1.9522 | 29000 | 1.7723 |
|
80 |
+
|
81 |
+
|
82 |
+
### Framework versions
|
83 |
+
|
84 |
+
- PEFT 0.10.0
|
85 |
+
- Transformers 4.40.2
|
86 |
+
- Pytorch 2.3.0+cu121
|
87 |
+
- Datasets 2.19.1
|
88 |
+
- Tokenizers 0.19.1
|
adapter_config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "openai-community/gpt2",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": true,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layer_replication": null,
|
10 |
+
"layers_pattern": null,
|
11 |
+
"layers_to_transform": null,
|
12 |
+
"loftq_config": {},
|
13 |
+
"lora_alpha": 24,
|
14 |
+
"lora_dropout": 0.05,
|
15 |
+
"megatron_config": null,
|
16 |
+
"megatron_core": "megatron.core",
|
17 |
+
"modules_to_save": null,
|
18 |
+
"peft_type": "LORA",
|
19 |
+
"r": 32,
|
20 |
+
"rank_pattern": {},
|
21 |
+
"revision": null,
|
22 |
+
"target_modules": [
|
23 |
+
"c_attn"
|
24 |
+
],
|
25 |
+
"task_type": "CAUSAL_LM",
|
26 |
+
"use_dora": false,
|
27 |
+
"use_rslora": false
|
28 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fb8fd7feeacb5ebfbf78c26ebc649d7c2c93b446389524f69b2fb7e449431824
|
3 |
+
size 4721680
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b8e02097f802a16ab2eab68273b94221efad5efa678c67acbaee38726e862d94
|
3 |
+
size 5112
|