Dataset=togethercomputer/RedPajama-Data-1T/github, baseline=True, samples=1000000, bs=8, epochs=3, lr=5e-05
Browse files- .gitattributes +16 -0
- README.md +65 -0
- config.json +38 -0
- generation_config.json +6 -0
- instgpu-03_1795787.1745668705867758477.pt.trace.json +3 -0
- instgpu-03_1795788.1745668705859014422.pt.trace.json +3 -0
- instgpu-03_1795789.1745668705809938858.pt.trace.json +3 -0
- instgpu-03_1795790.1745668705899264751.pt.trace.json +3 -0
- instgpu-03_1795792.1745668705868155997.pt.trace.json +3 -0
- instgpu-03_1795793.1745668705930905711.pt.trace.json +3 -0
- instgpu-03_1795794.1745668705835796238.pt.trace.json +3 -0
- instgpu-03_1795795.1745668705867679151.pt.trace.json +3 -0
- instgpu-03_2132717.1745696507191483577.pt.trace.json +3 -0
- instgpu-03_2132718.1745696507103473353.pt.trace.json +3 -0
- instgpu-03_2132719.1745696507148687858.pt.trace.json +3 -0
- instgpu-03_2132722.1745696507099390806.pt.trace.json +3 -0
- instgpu-03_2132724.1745696507041367537.pt.trace.json +3 -0
- instgpu-03_2132725.1745696507040881320.pt.trace.json +3 -0
- instgpu-03_2132727.1745696507099575603.pt.trace.json +3 -0
- instgpu-03_2132729.1745696507157804959.pt.trace.json +3 -0
- merges.txt +0 -0
- model.safetensors +3 -0
- special_tokens_map.json +6 -0
- tokenizer.json +0 -0
- tokenizer_config.json +21 -0
- training_args.bin +3 -0
- vocab.json +0 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,19 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
instgpu-03_1795787.1745668705867758477.pt.trace.json filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
instgpu-03_1795788.1745668705859014422.pt.trace.json filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
instgpu-03_1795789.1745668705809938858.pt.trace.json filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
instgpu-03_1795790.1745668705899264751.pt.trace.json filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
instgpu-03_1795792.1745668705868155997.pt.trace.json filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
instgpu-03_1795793.1745668705930905711.pt.trace.json filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
instgpu-03_1795794.1745668705835796238.pt.trace.json filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
instgpu-03_1795795.1745668705867679151.pt.trace.json filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
instgpu-03_2132717.1745696507191483577.pt.trace.json filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
instgpu-03_2132718.1745696507103473353.pt.trace.json filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
instgpu-03_2132719.1745696507148687858.pt.trace.json filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
instgpu-03_2132722.1745696507099390806.pt.trace.json filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
instgpu-03_2132724.1745696507041367537.pt.trace.json filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
instgpu-03_2132725.1745696507040881320.pt.trace.json filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
instgpu-03_2132727.1745696507099575603.pt.trace.json filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
instgpu-03_2132729.1745696507157804959.pt.trace.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: mit
|
| 4 |
+
base_model: gpt2
|
| 5 |
+
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
model-index:
|
| 8 |
+
- name: gpt2-finetune-github-baseline-1M
|
| 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-finetune-github-baseline-1M
|
| 16 |
+
|
| 17 |
+
This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on the None dataset.
|
| 18 |
+
It achieves the following results on the evaluation set:
|
| 19 |
+
- Loss: 1.1483
|
| 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: 5e-05
|
| 39 |
+
- train_batch_size: 8
|
| 40 |
+
- eval_batch_size: 8
|
| 41 |
+
- seed: 42
|
| 42 |
+
- distributed_type: multi-GPU
|
| 43 |
+
- num_devices: 8
|
| 44 |
+
- total_train_batch_size: 64
|
| 45 |
+
- total_eval_batch_size: 64
|
| 46 |
+
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 47 |
+
- lr_scheduler_type: linear
|
| 48 |
+
- num_epochs: 3
|
| 49 |
+
- mixed_precision_training: Native AMP
|
| 50 |
+
|
| 51 |
+
### Training results
|
| 52 |
+
|
| 53 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
| 54 |
+
|:-------------:|:-----:|:-----:|:---------------:|
|
| 55 |
+
| 1.2864 | 1.0 | 15469 | 1.2212 |
|
| 56 |
+
| 1.2255 | 2.0 | 30938 | 1.1654 |
|
| 57 |
+
| 1.1992 | 3.0 | 46407 | 1.1483 |
|
| 58 |
+
|
| 59 |
+
|
| 60 |
+
### Framework versions
|
| 61 |
+
|
| 62 |
+
- Transformers 4.51.3
|
| 63 |
+
- Pytorch 2.6.0+cu124
|
| 64 |
+
- Datasets 3.5.0
|
| 65 |
+
- Tokenizers 0.21.1
|
config.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"activation_function": "gelu_new",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"GPT2LMHeadModel"
|
| 5 |
+
],
|
| 6 |
+
"attn_pdrop": 0.1,
|
| 7 |
+
"bos_token_id": 50256,
|
| 8 |
+
"embd_pdrop": 0.1,
|
| 9 |
+
"eos_token_id": 50256,
|
| 10 |
+
"initializer_range": 0.02,
|
| 11 |
+
"layer_norm_epsilon": 1e-05,
|
| 12 |
+
"model_type": "gpt2",
|
| 13 |
+
"n_ctx": 1024,
|
| 14 |
+
"n_embd": 768,
|
| 15 |
+
"n_head": 12,
|
| 16 |
+
"n_inner": null,
|
| 17 |
+
"n_layer": 12,
|
| 18 |
+
"n_positions": 1024,
|
| 19 |
+
"reorder_and_upcast_attn": false,
|
| 20 |
+
"resid_pdrop": 0.1,
|
| 21 |
+
"scale_attn_by_inverse_layer_idx": false,
|
| 22 |
+
"scale_attn_weights": true,
|
| 23 |
+
"summary_activation": null,
|
| 24 |
+
"summary_first_dropout": 0.1,
|
| 25 |
+
"summary_proj_to_labels": true,
|
| 26 |
+
"summary_type": "cls_index",
|
| 27 |
+
"summary_use_proj": true,
|
| 28 |
+
"task_specific_params": {
|
| 29 |
+
"text-generation": {
|
| 30 |
+
"do_sample": true,
|
| 31 |
+
"max_length": 50
|
| 32 |
+
}
|
| 33 |
+
},
|
| 34 |
+
"torch_dtype": "float32",
|
| 35 |
+
"transformers_version": "4.51.3",
|
| 36 |
+
"use_cache": true,
|
| 37 |
+
"vocab_size": 50257
|
| 38 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 50256,
|
| 4 |
+
"eos_token_id": 50256,
|
| 5 |
+
"transformers_version": "4.51.3"
|
| 6 |
+
}
|
instgpu-03_1795787.1745668705867758477.pt.trace.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ec10a027d6445115b1ce362c4930deaaed2ccefa27d9d318654e26ef7acd3779
|
| 3 |
+
size 48970530
|
instgpu-03_1795788.1745668705859014422.pt.trace.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4d6fc2790a7b9186981ad60c991081c423a7ce647017cbb5ef8f43780362e9a4
|
| 3 |
+
size 48054724
|
instgpu-03_1795789.1745668705809938858.pt.trace.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:86f1177884267aa4c0146fe8c25fea9cb6aba57c06b1b10ce1316e2fd5be6982
|
| 3 |
+
size 48054214
|
instgpu-03_1795790.1745668705899264751.pt.trace.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6abe366b52eb16145eb5e0ebb97fe6886c8ee0b0e7dabc30c86e3ab987af9a5b
|
| 3 |
+
size 48076136
|
instgpu-03_1795792.1745668705868155997.pt.trace.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e3fea377b4305d0753f210e725a446c5f5fa077e53228c574511ec19d7d818f3
|
| 3 |
+
size 48078212
|
instgpu-03_1795793.1745668705930905711.pt.trace.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:77dcf8c30e52e5551675f2e51470f14046d273f2cabc0b11fece221eb1298e63
|
| 3 |
+
size 48074209
|
instgpu-03_1795794.1745668705835796238.pt.trace.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0d3a723422891518be1559ff362b509a81f06c9bfc0bd90c867251c31c69f6f9
|
| 3 |
+
size 48057771
|
instgpu-03_1795795.1745668705867679151.pt.trace.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ecbe35ef9bfed7585251a44246415c7a5e44a9b77879a67e5635450082070081
|
| 3 |
+
size 48054530
|
instgpu-03_2132717.1745696507191483577.pt.trace.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:02b5ac40734cd692cc1bfe4cbc52b02c78e0a91e88def1e0b1e7ca31f57e697f
|
| 3 |
+
size 49001272
|
instgpu-03_2132718.1745696507103473353.pt.trace.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b7a25b8a337ff99a64e28ac193aedb8921e128a7016085da3d2a565d18c7ae47
|
| 3 |
+
size 48060326
|
instgpu-03_2132719.1745696507148687858.pt.trace.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ecb6000a66da6d0b3c2a9d3de4ca02c1f61fb04721b7f60b643ce49ab4786673
|
| 3 |
+
size 48060324
|
instgpu-03_2132722.1745696507099390806.pt.trace.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:42927b18d2fd95b50fb94ff137f302cbd247d0cd67c8943bae51a7b6e26fe7f2
|
| 3 |
+
size 48060338
|
instgpu-03_2132724.1745696507041367537.pt.trace.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:70a33f2a5bb0f33c7f6077ef3459d97fb64885508a1a87787c567d6b35697887
|
| 3 |
+
size 48061506
|
instgpu-03_2132725.1745696507040881320.pt.trace.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2a1d52f05c3dc81f311e447f7fb101a4987322db0bfcd9ed20cf2245ef4613bc
|
| 3 |
+
size 48060331
|
instgpu-03_2132727.1745696507099575603.pt.trace.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d7c710d810adf044db626a8799e399bd6ebdcb98a28b89ddea7e9ad8d8aa389c
|
| 3 |
+
size 48057320
|
instgpu-03_2132729.1745696507157804959.pt.trace.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4ef523006ec5258674bba131742f6b9997c063eff5a97352ba95679fb2c53df3
|
| 3 |
+
size 48056995
|
merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8c2b5dd7a8451101a76db3087b7432c0573ad81eae9ebe65917ef967539a82f3
|
| 3 |
+
size 497774208
|
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,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": false,
|
| 15 |
+
"eos_token": "<|endoftext|>",
|
| 16 |
+
"extra_special_tokens": {},
|
| 17 |
+
"model_max_length": 1024,
|
| 18 |
+
"pad_token": "<|endoftext|>",
|
| 19 |
+
"tokenizer_class": "GPT2Tokenizer",
|
| 20 |
+
"unk_token": "<|endoftext|>"
|
| 21 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5a75619dc0ab47532e3996d11238ee8734264754572881d8ec32209ed7b081a0
|
| 3 |
+
size 5304
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|