初始化项目,由ModelHub XC社区提供模型
Model: fpadovani/gf10_pret_on_shuff_dyck_4000_sm Source: Original Platform
This commit is contained in:
35
.gitattributes
vendored
Normal file
35
.gitattributes
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.arrow filter=lfs diff=lfs merge=lfs -text
|
||||
*.bin filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
||||
*.ftz filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.h5 filter=lfs diff=lfs merge=lfs -text
|
||||
*.joblib filter=lfs diff=lfs merge=lfs -text
|
||||
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
||||
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
||||
*.model filter=lfs diff=lfs merge=lfs -text
|
||||
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
||||
*.npy filter=lfs diff=lfs merge=lfs -text
|
||||
*.npz filter=lfs diff=lfs merge=lfs -text
|
||||
*.onnx filter=lfs diff=lfs merge=lfs -text
|
||||
*.ot filter=lfs diff=lfs merge=lfs -text
|
||||
*.parquet filter=lfs diff=lfs merge=lfs -text
|
||||
*.pb filter=lfs diff=lfs merge=lfs -text
|
||||
*.pickle filter=lfs diff=lfs merge=lfs -text
|
||||
*.pkl filter=lfs diff=lfs merge=lfs -text
|
||||
*.pt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pth filter=lfs diff=lfs merge=lfs -text
|
||||
*.rar filter=lfs diff=lfs merge=lfs -text
|
||||
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
||||
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
||||
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
||||
*.tar filter=lfs diff=lfs merge=lfs -text
|
||||
*.tflite filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.wasm filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
||||
57
README.md
Normal file
57
README.md
Normal file
@@ -0,0 +1,57 @@
|
||||
---
|
||||
library_name: transformers
|
||||
model_name: gf10_pret_on_shuff_dyck_4000_sm
|
||||
tags:
|
||||
- generated_from_trainer
|
||||
- sft
|
||||
- trl
|
||||
licence: license
|
||||
---
|
||||
|
||||
# Model Card for gf10_pret_on_shuff_dyck_4000_sm
|
||||
|
||||
This model is a fine-tuned version of [None](https://huggingface.co/None).
|
||||
It has been trained using [TRL](https://github.com/huggingface/trl).
|
||||
|
||||
## Quick start
|
||||
|
||||
```python
|
||||
from transformers import pipeline
|
||||
|
||||
question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
|
||||
generator = pipeline("text-generation", model="fpadovani/gf10_pret_on_shuff_dyck_4000_sm", device="cuda")
|
||||
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
|
||||
print(output["generated_text"])
|
||||
```
|
||||
|
||||
## Training procedure
|
||||
|
||||
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="150" height="24"/>](https://wandb.ai/f-padovani-university-of-groningen/pre_pretraining/runs/vayp73nx)
|
||||
|
||||
|
||||
|
||||
This model was trained with SFT.
|
||||
|
||||
### Framework versions
|
||||
|
||||
- TRL: 1.0.0
|
||||
- Transformers: 5.4.0
|
||||
- Pytorch: 2.11.0+cu128
|
||||
- Datasets: 4.8.4
|
||||
- Tokenizers: 0.22.2
|
||||
|
||||
## Citations
|
||||
|
||||
|
||||
|
||||
Cite TRL as:
|
||||
|
||||
```bibtex
|
||||
@software{vonwerra2020trl,
|
||||
title = {{TRL: Transformers Reinforcement Learning}},
|
||||
author = {von Werra, Leandro and Belkada, Younes and Tunstall, Lewis and Beeching, Edward and Thrush, Tristan and Lambert, Nathan and Huang, Shengyi and Rasul, Kashif and Gallouédec, Quentin},
|
||||
license = {Apache-2.0},
|
||||
url = {https://github.com/huggingface/trl},
|
||||
year = {2020}
|
||||
}
|
||||
```
|
||||
36
checkpoint-1000/config.json
Normal file
36
checkpoint-1000/config.json
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"activation_function": "gelu",
|
||||
"add_cross_attention": false,
|
||||
"architectures": [
|
||||
"GPT2LMHeadModel"
|
||||
],
|
||||
"attn_pdrop": 0.1,
|
||||
"bos_token_id": 50000,
|
||||
"dtype": "bfloat16",
|
||||
"embd_pdrop": 0.1,
|
||||
"eos_token_id": 50001,
|
||||
"initializer_range": 0.02,
|
||||
"layer_norm_epsilon": 1e-05,
|
||||
"model_type": "gpt2",
|
||||
"n_ctx": 2048,
|
||||
"n_embd": 512,
|
||||
"n_head": 8,
|
||||
"n_inner": 2048,
|
||||
"n_layer": 4,
|
||||
"n_positions": 2048,
|
||||
"pad_token_id": 50002,
|
||||
"prefix": "[CLS]",
|
||||
"reorder_and_upcast_attn": false,
|
||||
"resid_pdrop": 0.1,
|
||||
"scale_attn_by_inverse_layer_idx": false,
|
||||
"scale_attn_weights": true,
|
||||
"summary_activation": null,
|
||||
"summary_first_dropout": 0.1,
|
||||
"summary_proj_to_labels": true,
|
||||
"summary_type": "cls_index",
|
||||
"summary_use_proj": true,
|
||||
"tie_word_embeddings": true,
|
||||
"transformers_version": "5.4.0",
|
||||
"use_cache": false,
|
||||
"vocab_size": 51200
|
||||
}
|
||||
14
checkpoint-1000/generation_config.json
Normal file
14
checkpoint-1000/generation_config.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"_from_model_config": true,
|
||||
"bos_token_id": 50000,
|
||||
"eos_token_id": [
|
||||
50001,
|
||||
3,
|
||||
50001
|
||||
],
|
||||
"output_attentions": false,
|
||||
"output_hidden_states": false,
|
||||
"pad_token_id": 50002,
|
||||
"transformers_version": "5.4.0",
|
||||
"use_cache": true
|
||||
}
|
||||
3
checkpoint-1000/model.safetensors
Normal file
3
checkpoint-1000/model.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c5bcfe0d33311fa89cd34fce43c9ad5b0af12070ea49a3eafb81e01d916437e2
|
||||
size 79752272
|
||||
3
checkpoint-1000/optimizer.pt
Normal file
3
checkpoint-1000/optimizer.pt
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8f7bf975712d087761ef29f1345750b56d0942b347a2e45a62ded2284fb7905f
|
||||
size 159539211
|
||||
3
checkpoint-1000/rng_state.pth
Normal file
3
checkpoint-1000/rng_state.pth
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1f04335f976c49bf756da1a5441ecd6fe8eb16acf63e00492244ae827acc46a5
|
||||
size 14645
|
||||
3
checkpoint-1000/scheduler.pt
Normal file
3
checkpoint-1000/scheduler.pt
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:39a2857052a955a3bdb21c2d875a1592993a862cc3383fe11ecd490c2c971532
|
||||
size 1465
|
||||
210940
checkpoint-1000/tokenizer.json
Normal file
210940
checkpoint-1000/tokenizer.json
Normal file
File diff suppressed because one or more lines are too long
1219
checkpoint-1000/tokenizer_config.json
Normal file
1219
checkpoint-1000/tokenizer_config.json
Normal file
File diff suppressed because it is too large
Load Diff
2034
checkpoint-1000/trainer_state.json
Normal file
2034
checkpoint-1000/trainer_state.json
Normal file
File diff suppressed because it is too large
Load Diff
3
checkpoint-1000/training_args.bin
Normal file
3
checkpoint-1000/training_args.bin
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:51467be12158fe327f123a3ae1ce8889e538c054a1550da3272901ab8da64aa5
|
||||
size 5777
|
||||
36
checkpoint-2000/config.json
Normal file
36
checkpoint-2000/config.json
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"activation_function": "gelu",
|
||||
"add_cross_attention": false,
|
||||
"architectures": [
|
||||
"GPT2LMHeadModel"
|
||||
],
|
||||
"attn_pdrop": 0.1,
|
||||
"bos_token_id": 50000,
|
||||
"dtype": "bfloat16",
|
||||
"embd_pdrop": 0.1,
|
||||
"eos_token_id": 50001,
|
||||
"initializer_range": 0.02,
|
||||
"layer_norm_epsilon": 1e-05,
|
||||
"model_type": "gpt2",
|
||||
"n_ctx": 2048,
|
||||
"n_embd": 512,
|
||||
"n_head": 8,
|
||||
"n_inner": 2048,
|
||||
"n_layer": 4,
|
||||
"n_positions": 2048,
|
||||
"pad_token_id": 50002,
|
||||
"prefix": "[CLS]",
|
||||
"reorder_and_upcast_attn": false,
|
||||
"resid_pdrop": 0.1,
|
||||
"scale_attn_by_inverse_layer_idx": false,
|
||||
"scale_attn_weights": true,
|
||||
"summary_activation": null,
|
||||
"summary_first_dropout": 0.1,
|
||||
"summary_proj_to_labels": true,
|
||||
"summary_type": "cls_index",
|
||||
"summary_use_proj": true,
|
||||
"tie_word_embeddings": true,
|
||||
"transformers_version": "5.4.0",
|
||||
"use_cache": false,
|
||||
"vocab_size": 51200
|
||||
}
|
||||
14
checkpoint-2000/generation_config.json
Normal file
14
checkpoint-2000/generation_config.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"_from_model_config": true,
|
||||
"bos_token_id": 50000,
|
||||
"eos_token_id": [
|
||||
50001,
|
||||
3,
|
||||
50001
|
||||
],
|
||||
"output_attentions": false,
|
||||
"output_hidden_states": false,
|
||||
"pad_token_id": 50002,
|
||||
"transformers_version": "5.4.0",
|
||||
"use_cache": true
|
||||
}
|
||||
3
checkpoint-2000/model.safetensors
Normal file
3
checkpoint-2000/model.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:65ec1362e208f04d272e006e571c4b89375bdd5e203b8b3ea5843108924d6c2f
|
||||
size 79752272
|
||||
3
checkpoint-2000/optimizer.pt
Normal file
3
checkpoint-2000/optimizer.pt
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9ca2813585951c06fac9d670f84ec8215a6eb6b4e6281ed7cb284f67dd194087
|
||||
size 159539211
|
||||
3
checkpoint-2000/rng_state.pth
Normal file
3
checkpoint-2000/rng_state.pth
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:982edc232e27eb25c1ec08142884f58fecb0543b7140d20f2bb8e186bccdb268
|
||||
size 14645
|
||||
3
checkpoint-2000/scheduler.pt
Normal file
3
checkpoint-2000/scheduler.pt
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6ec4800d37cd8f54553460450d7688928251e3daf8ed708ebcb9d4daec3a9bbc
|
||||
size 1465
|
||||
210940
checkpoint-2000/tokenizer.json
Normal file
210940
checkpoint-2000/tokenizer.json
Normal file
File diff suppressed because one or more lines are too long
1219
checkpoint-2000/tokenizer_config.json
Normal file
1219
checkpoint-2000/tokenizer_config.json
Normal file
File diff suppressed because it is too large
Load Diff
4034
checkpoint-2000/trainer_state.json
Normal file
4034
checkpoint-2000/trainer_state.json
Normal file
File diff suppressed because it is too large
Load Diff
3
checkpoint-2000/training_args.bin
Normal file
3
checkpoint-2000/training_args.bin
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:51467be12158fe327f123a3ae1ce8889e538c054a1550da3272901ab8da64aa5
|
||||
size 5777
|
||||
36
checkpoint-3000/config.json
Normal file
36
checkpoint-3000/config.json
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"activation_function": "gelu",
|
||||
"add_cross_attention": false,
|
||||
"architectures": [
|
||||
"GPT2LMHeadModel"
|
||||
],
|
||||
"attn_pdrop": 0.1,
|
||||
"bos_token_id": 50000,
|
||||
"dtype": "bfloat16",
|
||||
"embd_pdrop": 0.1,
|
||||
"eos_token_id": 50001,
|
||||
"initializer_range": 0.02,
|
||||
"layer_norm_epsilon": 1e-05,
|
||||
"model_type": "gpt2",
|
||||
"n_ctx": 2048,
|
||||
"n_embd": 512,
|
||||
"n_head": 8,
|
||||
"n_inner": 2048,
|
||||
"n_layer": 4,
|
||||
"n_positions": 2048,
|
||||
"pad_token_id": 50002,
|
||||
"prefix": "[CLS]",
|
||||
"reorder_and_upcast_attn": false,
|
||||
"resid_pdrop": 0.1,
|
||||
"scale_attn_by_inverse_layer_idx": false,
|
||||
"scale_attn_weights": true,
|
||||
"summary_activation": null,
|
||||
"summary_first_dropout": 0.1,
|
||||
"summary_proj_to_labels": true,
|
||||
"summary_type": "cls_index",
|
||||
"summary_use_proj": true,
|
||||
"tie_word_embeddings": true,
|
||||
"transformers_version": "5.4.0",
|
||||
"use_cache": false,
|
||||
"vocab_size": 51200
|
||||
}
|
||||
14
checkpoint-3000/generation_config.json
Normal file
14
checkpoint-3000/generation_config.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"_from_model_config": true,
|
||||
"bos_token_id": 50000,
|
||||
"eos_token_id": [
|
||||
50001,
|
||||
3,
|
||||
50001
|
||||
],
|
||||
"output_attentions": false,
|
||||
"output_hidden_states": false,
|
||||
"pad_token_id": 50002,
|
||||
"transformers_version": "5.4.0",
|
||||
"use_cache": true
|
||||
}
|
||||
3
checkpoint-3000/model.safetensors
Normal file
3
checkpoint-3000/model.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:35d0a44dbf1ef0d24d99a169b72718c7f3c637529e0857c88d7ec768fd4d2552
|
||||
size 79752272
|
||||
3
checkpoint-3000/optimizer.pt
Normal file
3
checkpoint-3000/optimizer.pt
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1248fc9ac27d91ada1839babaa3f71756c8c985bd848d71e76e0b966ef01f7b4
|
||||
size 159539211
|
||||
3
checkpoint-3000/rng_state.pth
Normal file
3
checkpoint-3000/rng_state.pth
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cdf759e465b4071014f84bac5f29d3bce64b23dd8f04337c44353aab5dcf42c6
|
||||
size 14645
|
||||
3
checkpoint-3000/scheduler.pt
Normal file
3
checkpoint-3000/scheduler.pt
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:774312e393ccba07b65cb9ab0cbcfacf50aed0d8a4fb97f75a7a7b25847d3039
|
||||
size 1465
|
||||
210940
checkpoint-3000/tokenizer.json
Normal file
210940
checkpoint-3000/tokenizer.json
Normal file
File diff suppressed because one or more lines are too long
1219
checkpoint-3000/tokenizer_config.json
Normal file
1219
checkpoint-3000/tokenizer_config.json
Normal file
File diff suppressed because it is too large
Load Diff
6034
checkpoint-3000/trainer_state.json
Normal file
6034
checkpoint-3000/trainer_state.json
Normal file
File diff suppressed because it is too large
Load Diff
3
checkpoint-3000/training_args.bin
Normal file
3
checkpoint-3000/training_args.bin
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:51467be12158fe327f123a3ae1ce8889e538c054a1550da3272901ab8da64aa5
|
||||
size 5777
|
||||
36
checkpoint-4000/config.json
Normal file
36
checkpoint-4000/config.json
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"activation_function": "gelu",
|
||||
"add_cross_attention": false,
|
||||
"architectures": [
|
||||
"GPT2LMHeadModel"
|
||||
],
|
||||
"attn_pdrop": 0.1,
|
||||
"bos_token_id": 50000,
|
||||
"dtype": "bfloat16",
|
||||
"embd_pdrop": 0.1,
|
||||
"eos_token_id": 50001,
|
||||
"initializer_range": 0.02,
|
||||
"layer_norm_epsilon": 1e-05,
|
||||
"model_type": "gpt2",
|
||||
"n_ctx": 2048,
|
||||
"n_embd": 512,
|
||||
"n_head": 8,
|
||||
"n_inner": 2048,
|
||||
"n_layer": 4,
|
||||
"n_positions": 2048,
|
||||
"pad_token_id": 50002,
|
||||
"prefix": "[CLS]",
|
||||
"reorder_and_upcast_attn": false,
|
||||
"resid_pdrop": 0.1,
|
||||
"scale_attn_by_inverse_layer_idx": false,
|
||||
"scale_attn_weights": true,
|
||||
"summary_activation": null,
|
||||
"summary_first_dropout": 0.1,
|
||||
"summary_proj_to_labels": true,
|
||||
"summary_type": "cls_index",
|
||||
"summary_use_proj": true,
|
||||
"tie_word_embeddings": true,
|
||||
"transformers_version": "5.4.0",
|
||||
"use_cache": false,
|
||||
"vocab_size": 51200
|
||||
}
|
||||
14
checkpoint-4000/generation_config.json
Normal file
14
checkpoint-4000/generation_config.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"_from_model_config": true,
|
||||
"bos_token_id": 50000,
|
||||
"eos_token_id": [
|
||||
50001,
|
||||
3,
|
||||
50001
|
||||
],
|
||||
"output_attentions": false,
|
||||
"output_hidden_states": false,
|
||||
"pad_token_id": 50002,
|
||||
"transformers_version": "5.4.0",
|
||||
"use_cache": true
|
||||
}
|
||||
3
checkpoint-4000/model.safetensors
Normal file
3
checkpoint-4000/model.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d9168fcd317e78c2e85bd0f6610d8abb816d551604417f803de905a761a7ee52
|
||||
size 79752272
|
||||
3
checkpoint-4000/optimizer.pt
Normal file
3
checkpoint-4000/optimizer.pt
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:86fbd76ea629258bf2d8da4e41299c12ce17b3de5007abdb1e7aff4ce7adf9cd
|
||||
size 159539211
|
||||
3
checkpoint-4000/rng_state.pth
Normal file
3
checkpoint-4000/rng_state.pth
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1f0054e235af8bd8e53e82e56e67819b9669421cda944d7dbea6d808b9218991
|
||||
size 14645
|
||||
3
checkpoint-4000/scheduler.pt
Normal file
3
checkpoint-4000/scheduler.pt
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:97b8efae2d75d5fdbc5589408f05a21b6acba646c5fcb3ac3f0fe4e30a007e31
|
||||
size 1465
|
||||
210940
checkpoint-4000/tokenizer.json
Normal file
210940
checkpoint-4000/tokenizer.json
Normal file
File diff suppressed because one or more lines are too long
1219
checkpoint-4000/tokenizer_config.json
Normal file
1219
checkpoint-4000/tokenizer_config.json
Normal file
File diff suppressed because it is too large
Load Diff
8034
checkpoint-4000/trainer_state.json
Normal file
8034
checkpoint-4000/trainer_state.json
Normal file
File diff suppressed because it is too large
Load Diff
3
checkpoint-4000/training_args.bin
Normal file
3
checkpoint-4000/training_args.bin
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:51467be12158fe327f123a3ae1ce8889e538c054a1550da3272901ab8da64aa5
|
||||
size 5777
|
||||
36
checkpoint-4630/config.json
Normal file
36
checkpoint-4630/config.json
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"activation_function": "gelu",
|
||||
"add_cross_attention": false,
|
||||
"architectures": [
|
||||
"GPT2LMHeadModel"
|
||||
],
|
||||
"attn_pdrop": 0.1,
|
||||
"bos_token_id": 50000,
|
||||
"dtype": "bfloat16",
|
||||
"embd_pdrop": 0.1,
|
||||
"eos_token_id": 50001,
|
||||
"initializer_range": 0.02,
|
||||
"layer_norm_epsilon": 1e-05,
|
||||
"model_type": "gpt2",
|
||||
"n_ctx": 2048,
|
||||
"n_embd": 512,
|
||||
"n_head": 8,
|
||||
"n_inner": 2048,
|
||||
"n_layer": 4,
|
||||
"n_positions": 2048,
|
||||
"pad_token_id": 50002,
|
||||
"prefix": "[CLS]",
|
||||
"reorder_and_upcast_attn": false,
|
||||
"resid_pdrop": 0.1,
|
||||
"scale_attn_by_inverse_layer_idx": false,
|
||||
"scale_attn_weights": true,
|
||||
"summary_activation": null,
|
||||
"summary_first_dropout": 0.1,
|
||||
"summary_proj_to_labels": true,
|
||||
"summary_type": "cls_index",
|
||||
"summary_use_proj": true,
|
||||
"tie_word_embeddings": true,
|
||||
"transformers_version": "5.4.0",
|
||||
"use_cache": false,
|
||||
"vocab_size": 51200
|
||||
}
|
||||
14
checkpoint-4630/generation_config.json
Normal file
14
checkpoint-4630/generation_config.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"_from_model_config": true,
|
||||
"bos_token_id": 50000,
|
||||
"eos_token_id": [
|
||||
50001,
|
||||
3,
|
||||
50001
|
||||
],
|
||||
"output_attentions": false,
|
||||
"output_hidden_states": false,
|
||||
"pad_token_id": 50002,
|
||||
"transformers_version": "5.4.0",
|
||||
"use_cache": true
|
||||
}
|
||||
3
checkpoint-4630/model.safetensors
Normal file
3
checkpoint-4630/model.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5bf318255ef1118fb876bdd0f6f3c3a4ee9e8d6413e6e55455fdcd0771a01c57
|
||||
size 79752272
|
||||
3
checkpoint-4630/optimizer.pt
Normal file
3
checkpoint-4630/optimizer.pt
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:545502a81f967897800a0a29704479af1dbb89a97afa413d01e8e0894a65582e
|
||||
size 159539211
|
||||
3
checkpoint-4630/rng_state.pth
Normal file
3
checkpoint-4630/rng_state.pth
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:142941e96091b165c60351ace62ac18f54b4f074b37024d03845816de5d3a13f
|
||||
size 14645
|
||||
3
checkpoint-4630/scheduler.pt
Normal file
3
checkpoint-4630/scheduler.pt
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:555a2cfebc94625545c92c3a3e28373693e86e90d2245cbd91f2c4e58d7d5545
|
||||
size 1465
|
||||
210940
checkpoint-4630/tokenizer.json
Normal file
210940
checkpoint-4630/tokenizer.json
Normal file
File diff suppressed because one or more lines are too long
1219
checkpoint-4630/tokenizer_config.json
Normal file
1219
checkpoint-4630/tokenizer_config.json
Normal file
File diff suppressed because it is too large
Load Diff
9294
checkpoint-4630/trainer_state.json
Normal file
9294
checkpoint-4630/trainer_state.json
Normal file
File diff suppressed because it is too large
Load Diff
3
checkpoint-4630/training_args.bin
Normal file
3
checkpoint-4630/training_args.bin
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:51467be12158fe327f123a3ae1ce8889e538c054a1550da3272901ab8da64aa5
|
||||
size 5777
|
||||
36
config.json
Normal file
36
config.json
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"activation_function": "gelu",
|
||||
"add_cross_attention": false,
|
||||
"architectures": [
|
||||
"GPT2LMHeadModel"
|
||||
],
|
||||
"attn_pdrop": 0.1,
|
||||
"bos_token_id": 50000,
|
||||
"dtype": "bfloat16",
|
||||
"embd_pdrop": 0.1,
|
||||
"eos_token_id": 50001,
|
||||
"initializer_range": 0.02,
|
||||
"layer_norm_epsilon": 1e-05,
|
||||
"model_type": "gpt2",
|
||||
"n_ctx": 2048,
|
||||
"n_embd": 512,
|
||||
"n_head": 8,
|
||||
"n_inner": 2048,
|
||||
"n_layer": 4,
|
||||
"n_positions": 2048,
|
||||
"pad_token_id": 50002,
|
||||
"prefix": "[CLS]",
|
||||
"reorder_and_upcast_attn": false,
|
||||
"resid_pdrop": 0.1,
|
||||
"scale_attn_by_inverse_layer_idx": false,
|
||||
"scale_attn_weights": true,
|
||||
"summary_activation": null,
|
||||
"summary_first_dropout": 0.1,
|
||||
"summary_proj_to_labels": true,
|
||||
"summary_type": "cls_index",
|
||||
"summary_use_proj": true,
|
||||
"tie_word_embeddings": true,
|
||||
"transformers_version": "5.4.0",
|
||||
"use_cache": false,
|
||||
"vocab_size": 51200
|
||||
}
|
||||
14
generation_config.json
Normal file
14
generation_config.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"_from_model_config": true,
|
||||
"bos_token_id": 50000,
|
||||
"eos_token_id": [
|
||||
50001,
|
||||
3,
|
||||
50001
|
||||
],
|
||||
"output_attentions": false,
|
||||
"output_hidden_states": false,
|
||||
"pad_token_id": 50002,
|
||||
"transformers_version": "5.4.0",
|
||||
"use_cache": true
|
||||
}
|
||||
3
model.safetensors
Normal file
3
model.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5bf318255ef1118fb876bdd0f6f3c3a4ee9e8d6413e6e55455fdcd0771a01c57
|
||||
size 79752272
|
||||
210940
tokenizer.json
Normal file
210940
tokenizer.json
Normal file
File diff suppressed because one or more lines are too long
1219
tokenizer_config.json
Normal file
1219
tokenizer_config.json
Normal file
File diff suppressed because it is too large
Load Diff
3
training_args.bin
Normal file
3
training_args.bin
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:51467be12158fe327f123a3ae1ce8889e538c054a1550da3272901ab8da64aa5
|
||||
size 5777
|
||||
Reference in New Issue
Block a user