sirr
commited on
Commit
•
f2472c7
1
Parent(s):
d066b1b
End of training
Browse files- README.md +55 -0
- adapter_config.json +43 -0
- adapter_model.safetensors +3 -0
- added_tokens.json +3 -0
- merges.txt +0 -0
- special_tokens_map.json +6 -0
- tokenizer.json +0 -0
- tokenizer_config.json +10 -0
- training_args.bin +3 -0
- vocab.json +0 -0
README.md
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: gpt2-medium
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- piqa
|
8 |
+
model-index:
|
9 |
+
- name: platistil
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# platistil
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [gpt2-medium](https://huggingface.co/gpt2-medium) on the piqa dataset.
|
19 |
+
|
20 |
+
## Model description
|
21 |
+
|
22 |
+
More information needed
|
23 |
+
|
24 |
+
## Intended uses & limitations
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Training and evaluation data
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training procedure
|
33 |
+
|
34 |
+
### Training hyperparameters
|
35 |
+
|
36 |
+
The following hyperparameters were used during training:
|
37 |
+
- learning_rate: 0.001
|
38 |
+
- train_batch_size: 16
|
39 |
+
- eval_batch_size: 16
|
40 |
+
- seed: 42
|
41 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
42 |
+
- lr_scheduler_type: constant
|
43 |
+
- lr_scheduler_warmup_ratio: 0.25
|
44 |
+
- num_epochs: 3.0
|
45 |
+
|
46 |
+
### Training results
|
47 |
+
|
48 |
+
|
49 |
+
|
50 |
+
### Framework versions
|
51 |
+
|
52 |
+
- Transformers 4.32.1
|
53 |
+
- Pytorch 2.0.1+cu118
|
54 |
+
- Datasets 2.14.4
|
55 |
+
- Tokenizers 0.13.3
|
adapter_config.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"auto_mapping": null,
|
3 |
+
"base_model_name_or_path": "gpt2-medium",
|
4 |
+
"bias": "none",
|
5 |
+
"fan_in_fan_out": false,
|
6 |
+
"inference_mode": true,
|
7 |
+
"init_lora_weights": true,
|
8 |
+
"layers_pattern": null,
|
9 |
+
"layers_to_transform": null,
|
10 |
+
"lora_alpha": 32,
|
11 |
+
"lora_dropout": 0.1,
|
12 |
+
"modules_to_save": null,
|
13 |
+
"peft_type": "LORA",
|
14 |
+
"r": 8,
|
15 |
+
"revision": null,
|
16 |
+
"target_modules": [
|
17 |
+
"transformer.h.0.attn.c_attn",
|
18 |
+
"transformer.h.1.attn.c_attn",
|
19 |
+
"transformer.h.2.attn.c_attn",
|
20 |
+
"transformer.h.3.attn.c_attn",
|
21 |
+
"transformer.h.4.attn.c_attn",
|
22 |
+
"transformer.h.5.attn.c_attn",
|
23 |
+
"transformer.h.6.attn.c_attn",
|
24 |
+
"transformer.h.7.attn.c_attn",
|
25 |
+
"transformer.h.8.attn.c_attn",
|
26 |
+
"transformer.h.9.attn.c_attn",
|
27 |
+
"transformer.h.10.attn.c_attn",
|
28 |
+
"transformer.h.11.attn.c_attn",
|
29 |
+
"transformer.h.12.attn.c_attn",
|
30 |
+
"transformer.h.13.attn.c_attn",
|
31 |
+
"transformer.h.14.attn.c_attn",
|
32 |
+
"transformer.h.15.attn.c_attn",
|
33 |
+
"transformer.h.16.attn.c_attn",
|
34 |
+
"transformer.h.17.attn.c_attn",
|
35 |
+
"transformer.h.18.attn.c_attn",
|
36 |
+
"transformer.h.19.attn.c_attn",
|
37 |
+
"transformer.h.20.attn.c_attn",
|
38 |
+
"transformer.h.21.attn.c_attn",
|
39 |
+
"transformer.h.22.attn.c_attn",
|
40 |
+
"transformer.h.23.attn.c_attn"
|
41 |
+
],
|
42 |
+
"task_type": "CAUSAL_LM"
|
43 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bb9562ebb4eca660bc4028c9fca124a187c84c301e9bbb5bd16ccfef098325f8
|
3 |
+
size 3151856
|
added_tokens.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<pad>": 50257
|
3 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
special_tokens_map.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<|endoftext|>",
|
3 |
+
"eos_token": "<|endoftext|>",
|
4 |
+
"pad_token": "<pad>",
|
5 |
+
"unk_token": "<|endoftext|>"
|
6 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"bos_token": "<|endoftext|>",
|
4 |
+
"clean_up_tokenization_spaces": true,
|
5 |
+
"eos_token": "<|endoftext|>",
|
6 |
+
"model_max_length": 1024,
|
7 |
+
"pad_to_multiple_of": 8,
|
8 |
+
"tokenizer_class": "GPT2Tokenizer",
|
9 |
+
"unk_token": "<|endoftext|>"
|
10 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4d2d6cdb35b79718ff6544b529b6090c2cadb53d585bed5e0c767865bfe4601e
|
3 |
+
size 4091
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|