shubhamgantayat
commited on
Commit
•
a8c278f
1
Parent(s):
2bf1dfc
End of training
Browse files- README.md +56 -0
- adapter_config.json +20 -0
- adapter_model.safetensors +3 -0
- merges.txt +0 -0
- runs/Nov03_05-34-24_bd7c3efb7b35/events.out.tfevents.1698989677.bd7c3efb7b35.4651.0 +3 -0
- runs/Nov03_05-36-04_bd7c3efb7b35/events.out.tfevents.1698989777.bd7c3efb7b35.5212.0 +3 -0
- runs/Nov03_05-37-23_bd7c3efb7b35/events.out.tfevents.1698989860.bd7c3efb7b35.5631.0 +3 -0
- runs/Nov03_05-42-36_bd7c3efb7b35/events.out.tfevents.1698990165.bd7c3efb7b35.6992.0 +3 -0
- runs/Nov03_05-43-52_bd7c3efb7b35/events.out.tfevents.1698990244.bd7c3efb7b35.7478.0 +3 -0
- special_tokens_map.json +6 -0
- tokenizer.json +0 -0
- tokenizer_config.json +20 -0
- training_args.bin +3 -0
- vocab.json +0 -0
README.md
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: gpt2-medium
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: gpt2-medium-custom-peft
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
12 |
+
should probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
# gpt2-medium-custom-peft
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [gpt2-medium](https://huggingface.co/gpt2-medium) on the None dataset.
|
17 |
+
|
18 |
+
## Model description
|
19 |
+
|
20 |
+
More information needed
|
21 |
+
|
22 |
+
## Intended uses & limitations
|
23 |
+
|
24 |
+
More information needed
|
25 |
+
|
26 |
+
## Training and evaluation data
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Training procedure
|
31 |
+
|
32 |
+
### Training hyperparameters
|
33 |
+
|
34 |
+
The following hyperparameters were used during training:
|
35 |
+
- learning_rate: 0.0005
|
36 |
+
- train_batch_size: 8
|
37 |
+
- eval_batch_size: 8
|
38 |
+
- seed: 42
|
39 |
+
- gradient_accumulation_steps: 8
|
40 |
+
- total_train_batch_size: 64
|
41 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
42 |
+
- lr_scheduler_type: cosine
|
43 |
+
- lr_scheduler_warmup_steps: 1000
|
44 |
+
- num_epochs: 100
|
45 |
+
- mixed_precision_training: Native AMP
|
46 |
+
|
47 |
+
### Training results
|
48 |
+
|
49 |
+
|
50 |
+
|
51 |
+
### Framework versions
|
52 |
+
|
53 |
+
- Transformers 4.35.0
|
54 |
+
- Pytorch 2.1.0+cu118
|
55 |
+
- Datasets 2.14.6
|
56 |
+
- Tokenizers 0.14.1
|
adapter_config.json
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"auto_mapping": null,
|
3 |
+
"base_model_name_or_path": "gpt2-medium",
|
4 |
+
"bias": "none",
|
5 |
+
"fan_in_fan_out": true,
|
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.05,
|
12 |
+
"modules_to_save": null,
|
13 |
+
"peft_type": "LORA",
|
14 |
+
"r": 16,
|
15 |
+
"revision": null,
|
16 |
+
"target_modules": [
|
17 |
+
"c_attn"
|
18 |
+
],
|
19 |
+
"task_type": "CAUSAL_LM"
|
20 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b8038a9ba40134351fdca1161288a717ffbf1b4f0bd63c48afbd5d8304ca7814
|
3 |
+
size 6297648
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
runs/Nov03_05-34-24_bd7c3efb7b35/events.out.tfevents.1698989677.bd7c3efb7b35.4651.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e3d8d05c0ee4aa3b62bfc20e05a730efb58332b9807613fc29c86a28846d87dd
|
3 |
+
size 4184
|
runs/Nov03_05-36-04_bd7c3efb7b35/events.out.tfevents.1698989777.bd7c3efb7b35.5212.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:26c14f386fb5dd313a2260d125468fd4ecb95c454909e215e1d56f858b4afbc5
|
3 |
+
size 4184
|
runs/Nov03_05-37-23_bd7c3efb7b35/events.out.tfevents.1698989860.bd7c3efb7b35.5631.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4574e0d3bb85afc11a10349783562f8c21a9f2d58313130a80c1995773c34060
|
3 |
+
size 4533
|
runs/Nov03_05-42-36_bd7c3efb7b35/events.out.tfevents.1698990165.bd7c3efb7b35.6992.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:960e1e249c2d7ffc653b1013f661162491e15e960afce1c439afbb88e661890f
|
3 |
+
size 4184
|
runs/Nov03_05-43-52_bd7c3efb7b35/events.out.tfevents.1698990244.bd7c3efb7b35.7478.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8f828693a14a73b00ca99e9dff3203be3f6f89b1b8d97ec2d2f9bacd607e485c
|
3 |
+
size 4885
|
special_tokens_map.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<|endoftext|>",
|
3 |
+
"eos_token": "<|endoftext|>",
|
4 |
+
"pad_token": "<|endoftext|>",
|
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,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"50256": {
|
5 |
+
"content": "<|endoftext|>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": true,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
}
|
12 |
+
},
|
13 |
+
"bos_token": "<|endoftext|>",
|
14 |
+
"clean_up_tokenization_spaces": true,
|
15 |
+
"eos_token": "<|endoftext|>",
|
16 |
+
"model_max_length": 1024,
|
17 |
+
"pad_token": "<|endoftext|>",
|
18 |
+
"tokenizer_class": "GPT2Tokenizer",
|
19 |
+
"unk_token": "<|endoftext|>"
|
20 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9396a0fe92e6b53bce4e8c1f7135abf203ca0fb4f25ab47c64fcad17d5681bb5
|
3 |
+
size 4600
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|