初始化项目,由ModelHub XC社区提供模型
Model: fpadovani/tur-latn-10mb-ppt-Dp-10mb_seed3407 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
|
||||
58
README.md
Normal file
58
README.md
Normal file
@@ -0,0 +1,58 @@
|
||||
---
|
||||
base_model: goldfish-models/tur_latn_10mb
|
||||
library_name: transformers
|
||||
model_name: tur-latn-10mb-ppt-Dp-10mb_seed3407
|
||||
tags:
|
||||
- generated_from_trainer
|
||||
- trl
|
||||
- sft
|
||||
licence: license
|
||||
---
|
||||
|
||||
# Model Card for tur-latn-10mb-ppt-Dp-10mb_seed3407
|
||||
|
||||
This model is a fine-tuned version of [goldfish-models/tur_latn_10mb](https://huggingface.co/goldfish-models/tur_latn_10mb).
|
||||
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/tur-latn-10mb-ppt-Dp-10mb_seed3407", 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/new_tokenizers/runs/sc718k8c)
|
||||
|
||||
|
||||
This model was trained with SFT.
|
||||
|
||||
### Framework versions
|
||||
|
||||
- TRL: 0.23.0
|
||||
- Transformers: 4.56.2
|
||||
- Pytorch: 2.11.0
|
||||
- Datasets: 4.8.4
|
||||
- Tokenizers: 0.22.1
|
||||
|
||||
## Citations
|
||||
|
||||
|
||||
|
||||
Cite TRL as:
|
||||
|
||||
```bibtex
|
||||
@misc{vonwerra2022trl,
|
||||
title = {{TRL: Transformer Reinforcement Learning}},
|
||||
author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallou{\'e}dec},
|
||||
year = 2020,
|
||||
journal = {GitHub repository},
|
||||
publisher = {GitHub},
|
||||
howpublished = {\url{https://github.com/huggingface/trl}}
|
||||
}
|
||||
```
|
||||
1202
added_tokens.json
Normal file
1202
added_tokens.json
Normal file
File diff suppressed because it is too large
Load Diff
1202
checkpoint-1000/added_tokens.json
Normal file
1202
checkpoint-1000/added_tokens.json
Normal file
File diff suppressed because it is too large
Load Diff
34
checkpoint-1000/config.json
Normal file
34
checkpoint-1000/config.json
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"activation_function": "gelu",
|
||||
"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": 512,
|
||||
"n_embd": 512,
|
||||
"n_head": 8,
|
||||
"n_inner": 2048,
|
||||
"n_layer": 4,
|
||||
"n_positions": 512,
|
||||
"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,
|
||||
"transformers_version": "4.56.2",
|
||||
"use_cache": true,
|
||||
"vocab_size": 51200
|
||||
}
|
||||
9
checkpoint-1000/generation_config.json
Normal file
9
checkpoint-1000/generation_config.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"_from_model_config": true,
|
||||
"bos_token_id": 50000,
|
||||
"eos_token_id": [
|
||||
50001
|
||||
],
|
||||
"pad_token_id": 50002,
|
||||
"transformers_version": "4.56.2"
|
||||
}
|
||||
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:650b6eb531232f42f73adb8ba177334fbc0cd9817640fbdfda6c49ea3eefff52
|
||||
size 78179408
|
||||
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:a227c9fa962a060e977cddd70d2c24e2fe26e899a89685359f252e51aa2de3d4
|
||||
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:618287fe103fe7d01735a8bb51de1de8ec4be7eb21df903ce98eceb226078b15
|
||||
size 1465
|
||||
1249
checkpoint-1000/special_tokens_map.json
Normal file
1249
checkpoint-1000/special_tokens_map.json
Normal file
File diff suppressed because it is too large
Load Diff
3
checkpoint-1000/spiece.model
Normal file
3
checkpoint-1000/spiece.model
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9bc049efcf029ba7a2a2417149c387e629a10bfcfae7158004fe5319936c480f
|
||||
size 1202823
|
||||
10825
checkpoint-1000/tokenizer_config.json
Normal file
10825
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:6442cc33c3835f876f00c254697fb56adb14202f12c52d72f94a3990243bee1a
|
||||
size 6289
|
||||
1202
checkpoint-500/added_tokens.json
Normal file
1202
checkpoint-500/added_tokens.json
Normal file
File diff suppressed because it is too large
Load Diff
34
checkpoint-500/config.json
Normal file
34
checkpoint-500/config.json
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"activation_function": "gelu",
|
||||
"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": 512,
|
||||
"n_embd": 512,
|
||||
"n_head": 8,
|
||||
"n_inner": 2048,
|
||||
"n_layer": 4,
|
||||
"n_positions": 512,
|
||||
"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,
|
||||
"transformers_version": "4.56.2",
|
||||
"use_cache": true,
|
||||
"vocab_size": 51200
|
||||
}
|
||||
9
checkpoint-500/generation_config.json
Normal file
9
checkpoint-500/generation_config.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"_from_model_config": true,
|
||||
"bos_token_id": 50000,
|
||||
"eos_token_id": [
|
||||
50001
|
||||
],
|
||||
"pad_token_id": 50002,
|
||||
"transformers_version": "4.56.2"
|
||||
}
|
||||
3
checkpoint-500/model.safetensors
Normal file
3
checkpoint-500/model.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f340aa9da7fba19c10e1601b445b6c6e8ab353917ea859f012a62592b91ed077
|
||||
size 78179408
|
||||
3
checkpoint-500/rng_state.pth
Normal file
3
checkpoint-500/rng_state.pth
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:529c2af2b6502ecdeeb64d5d2ef880845bb89a53dc404094635220c5f53d5846
|
||||
size 14645
|
||||
3
checkpoint-500/scheduler.pt
Normal file
3
checkpoint-500/scheduler.pt
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e057792b1df18d996422b806c4e473a04cc82d351de50a4b980cff37dd1c0972
|
||||
size 1465
|
||||
1249
checkpoint-500/special_tokens_map.json
Normal file
1249
checkpoint-500/special_tokens_map.json
Normal file
File diff suppressed because it is too large
Load Diff
3
checkpoint-500/spiece.model
Normal file
3
checkpoint-500/spiece.model
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9bc049efcf029ba7a2a2417149c387e629a10bfcfae7158004fe5319936c480f
|
||||
size 1202823
|
||||
10825
checkpoint-500/tokenizer_config.json
Normal file
10825
checkpoint-500/tokenizer_config.json
Normal file
File diff suppressed because it is too large
Load Diff
1034
checkpoint-500/trainer_state.json
Normal file
1034
checkpoint-500/trainer_state.json
Normal file
File diff suppressed because it is too large
Load Diff
3
checkpoint-500/training_args.bin
Normal file
3
checkpoint-500/training_args.bin
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6442cc33c3835f876f00c254697fb56adb14202f12c52d72f94a3990243bee1a
|
||||
size 6289
|
||||
34
config.json
Normal file
34
config.json
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"activation_function": "gelu",
|
||||
"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": 512,
|
||||
"n_embd": 512,
|
||||
"n_head": 8,
|
||||
"n_inner": 2048,
|
||||
"n_layer": 4,
|
||||
"n_positions": 512,
|
||||
"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,
|
||||
"transformers_version": "4.56.2",
|
||||
"use_cache": true,
|
||||
"vocab_size": 51200
|
||||
}
|
||||
3
model.safetensors
Normal file
3
model.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ca2f867b165e55f9371a1484f11f35d9e71e56902b7277d11cfd9908d6f088bf
|
||||
size 78179408
|
||||
1249
special_tokens_map.json
Normal file
1249
special_tokens_map.json
Normal file
File diff suppressed because it is too large
Load Diff
3
spiece.model
Normal file
3
spiece.model
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9bc049efcf029ba7a2a2417149c387e629a10bfcfae7158004fe5319936c480f
|
||||
size 1202823
|
||||
10825
tokenizer_config.json
Normal file
10825
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:6442cc33c3835f876f00c254697fb56adb14202f12c52d72f94a3990243bee1a
|
||||
size 6289
|
||||
Reference in New Issue
Block a user