Model save
Browse files- README.md +48 -0
- generation_config.json +9 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: lvwerra/gpt2-imdb
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
model-index:
|
6 |
+
- name: gpt-imdb-kto-beta_0.1
|
7 |
+
results: []
|
8 |
+
---
|
9 |
+
|
10 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
11 |
+
should probably proofread and complete it, then remove this comment. -->
|
12 |
+
|
13 |
+
# gpt-imdb-kto-beta_0.1
|
14 |
+
|
15 |
+
This model is a fine-tuned version of [lvwerra/gpt2-imdb](https://huggingface.co/lvwerra/gpt2-imdb) on an unknown dataset.
|
16 |
+
|
17 |
+
## Model description
|
18 |
+
|
19 |
+
More information needed
|
20 |
+
|
21 |
+
## Intended uses & limitations
|
22 |
+
|
23 |
+
More information needed
|
24 |
+
|
25 |
+
## Training and evaluation data
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Training procedure
|
30 |
+
|
31 |
+
### Training hyperparameters
|
32 |
+
|
33 |
+
The following hyperparameters were used during training:
|
34 |
+
- learning_rate: 1e-05
|
35 |
+
- train_batch_size: 24
|
36 |
+
- eval_batch_size: 24
|
37 |
+
- seed: 42
|
38 |
+
- optimizer: Adam with betas=(0.9,0.99) and epsilon=1e-08
|
39 |
+
- lr_scheduler_type: cosine
|
40 |
+
- lr_scheduler_warmup_steps: 150
|
41 |
+
- training_steps: 7197
|
42 |
+
|
43 |
+
### Framework versions
|
44 |
+
|
45 |
+
- Transformers 4.35.2
|
46 |
+
- Pytorch 2.1.1
|
47 |
+
- Datasets 2.15.0
|
48 |
+
- Tokenizers 0.15.0
|
generation_config.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 50256,
|
4 |
+
"decoder_start_token_id": 50256,
|
5 |
+
"eos_token_id": 50256,
|
6 |
+
"pad_token_id": 50256,
|
7 |
+
"transformers_version": "4.35.2",
|
8 |
+
"use_cache": false
|
9 |
+
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 497774208
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:89600801b4089574e3d31cbaec8f426f267aaef042a6e7fdccd4e30fef358a54
|
3 |
size 497774208
|