Training in progress, epoch 1
Browse files- README.md +68 -0
- added_tokens.json +3 -0
- config.json +36 -0
- merges.txt +0 -0
- model.safetensors +3 -0
- special_tokens_map.json +10 -0
- tokenizer.json +0 -0
- tokenizer_config.json +28 -0
- training_args.bin +3 -0
- vocab.json +0 -0
README.md
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: mit
|
4 |
+
base_model: openai-gpt
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
metrics:
|
8 |
+
- accuracy
|
9 |
+
- recall
|
10 |
+
- precision
|
11 |
+
model-index:
|
12 |
+
- name: gpt1_sst2_right
|
13 |
+
results: []
|
14 |
+
---
|
15 |
+
|
16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
17 |
+
should probably proofread and complete it, then remove this comment. -->
|
18 |
+
|
19 |
+
# gpt1_sst2_right
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [openai-gpt](https://huggingface.co/openai-gpt) on an unknown dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.4037
|
24 |
+
- Accuracy: 0.9232
|
25 |
+
- Recall: 0.9459
|
26 |
+
- Precision: 0.9071
|
27 |
+
|
28 |
+
## Model description
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Intended uses & limitations
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training and evaluation data
|
37 |
+
|
38 |
+
More information needed
|
39 |
+
|
40 |
+
## Training procedure
|
41 |
+
|
42 |
+
### Training hyperparameters
|
43 |
+
|
44 |
+
The following hyperparameters were used during training:
|
45 |
+
- learning_rate: 2e-05
|
46 |
+
- train_batch_size: 16
|
47 |
+
- eval_batch_size: 16
|
48 |
+
- seed: 42
|
49 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
50 |
+
- lr_scheduler_type: linear
|
51 |
+
- num_epochs: 4
|
52 |
+
|
53 |
+
### Training results
|
54 |
+
|
55 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Recall | Precision |
|
56 |
+
|:-------------:|:-----:|:-----:|:---------------:|:--------:|:------:|:---------:|
|
57 |
+
| 0.2039 | 1.0 | 4210 | 0.2595 | 0.9266 | 0.9189 | 0.9358 |
|
58 |
+
| 0.1485 | 2.0 | 8420 | 0.3060 | 0.9220 | 0.9459 | 0.9052 |
|
59 |
+
| 0.0913 | 3.0 | 12630 | 0.3350 | 0.9289 | 0.9324 | 0.9283 |
|
60 |
+
| 0.0572 | 4.0 | 16840 | 0.4037 | 0.9232 | 0.9459 | 0.9071 |
|
61 |
+
|
62 |
+
|
63 |
+
### Framework versions
|
64 |
+
|
65 |
+
- Transformers 4.47.1
|
66 |
+
- Pytorch 2.5.1+cu124
|
67 |
+
- Datasets 3.2.0
|
68 |
+
- Tokenizers 0.21.0
|
added_tokens.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<pad>": 40478
|
3 |
+
}
|
config.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "openai-gpt",
|
3 |
+
"afn": "gelu",
|
4 |
+
"architectures": [
|
5 |
+
"OpenAIGPTForSequenceClassification"
|
6 |
+
],
|
7 |
+
"attn_pdrop": 0.1,
|
8 |
+
"embd_pdrop": 0.1,
|
9 |
+
"initializer_range": 0.02,
|
10 |
+
"layer_norm_epsilon": 1e-05,
|
11 |
+
"model_type": "openai-gpt",
|
12 |
+
"n_ctx": 512,
|
13 |
+
"n_embd": 768,
|
14 |
+
"n_head": 12,
|
15 |
+
"n_layer": 12,
|
16 |
+
"n_positions": 512,
|
17 |
+
"n_special": 0,
|
18 |
+
"pad_token_id": 40478,
|
19 |
+
"predict_special_tokens": true,
|
20 |
+
"problem_type": "single_label_classification",
|
21 |
+
"resid_pdrop": 0.1,
|
22 |
+
"summary_activation": null,
|
23 |
+
"summary_first_dropout": 0.1,
|
24 |
+
"summary_proj_to_labels": true,
|
25 |
+
"summary_type": "cls_index",
|
26 |
+
"summary_use_proj": true,
|
27 |
+
"task_specific_params": {
|
28 |
+
"text-generation": {
|
29 |
+
"do_sample": true,
|
30 |
+
"max_length": 50
|
31 |
+
}
|
32 |
+
},
|
33 |
+
"torch_dtype": "float32",
|
34 |
+
"transformers_version": "4.47.1",
|
35 |
+
"vocab_size": 40479
|
36 |
+
}
|
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:d2be230eb964b8a2a68d839594743fbd35e26c0bd65c70c1ee4651bcecad7ddc
|
3 |
+
size 466163240
|
special_tokens_map.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"pad_token": {
|
3 |
+
"content": "<pad>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"unk_token": "<unk>"
|
10 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "<unk>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"40478": {
|
12 |
+
"content": "<pad>",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
}
|
19 |
+
},
|
20 |
+
"clean_up_tokenization_spaces": false,
|
21 |
+
"extra_special_tokens": {},
|
22 |
+
"model_max_length": 512,
|
23 |
+
"pad_token": "<pad>",
|
24 |
+
"padding_side": "right",
|
25 |
+
"tokenizer_class": "OpenAIGPTTokenizer",
|
26 |
+
"truncation_side": "right",
|
27 |
+
"unk_token": "<unk>"
|
28 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ba5c2f4b59f019fbfc27c0d6030cff35cc40eff2fd9b819276ab912a9cfc184f
|
3 |
+
size 5304
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|