kennethge123
commited on
Model save
Browse files- README.md +94 -0
- config.json +41 -0
- model.safetensors +3 -0
- runs/Mar22_22-11-11_dsail2/events.out.tfevents.1711159873.dsail2.24990.0 +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: gpt2
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- bigbench
|
8 |
+
metrics:
|
9 |
+
- accuracy
|
10 |
+
model-index:
|
11 |
+
- name: bigbench_entailedpolarity-gpt2
|
12 |
+
results:
|
13 |
+
- task:
|
14 |
+
name: Text Classification
|
15 |
+
type: text-classification
|
16 |
+
dataset:
|
17 |
+
name: bigbench
|
18 |
+
type: bigbench
|
19 |
+
config: entailed_polarity
|
20 |
+
split: train
|
21 |
+
args: entailed_polarity
|
22 |
+
metrics:
|
23 |
+
- name: Accuracy
|
24 |
+
type: accuracy
|
25 |
+
value: 0.9166666666666666
|
26 |
+
---
|
27 |
+
|
28 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
29 |
+
should probably proofread and complete it, then remove this comment. -->
|
30 |
+
|
31 |
+
# bigbench_entailedpolarity-gpt2
|
32 |
+
|
33 |
+
This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on the bigbench dataset.
|
34 |
+
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 1.0213
|
36 |
+
- Accuracy: 0.9167
|
37 |
+
|
38 |
+
## Model description
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Intended uses & limitations
|
43 |
+
|
44 |
+
More information needed
|
45 |
+
|
46 |
+
## Training and evaluation data
|
47 |
+
|
48 |
+
More information needed
|
49 |
+
|
50 |
+
## Training procedure
|
51 |
+
|
52 |
+
### Training hyperparameters
|
53 |
+
|
54 |
+
The following hyperparameters were used during training:
|
55 |
+
- learning_rate: 5e-05
|
56 |
+
- train_batch_size: 4
|
57 |
+
- eval_batch_size: 32
|
58 |
+
- seed: 42
|
59 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
60 |
+
- lr_scheduler_type: linear
|
61 |
+
- num_epochs: 20
|
62 |
+
|
63 |
+
### Training results
|
64 |
+
|
65 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
66 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
67 |
+
| No log | 1.0 | 24 | 0.5201 | 0.875 |
|
68 |
+
| No log | 2.0 | 48 | 0.3512 | 0.875 |
|
69 |
+
| No log | 3.0 | 72 | 0.4245 | 0.8333 |
|
70 |
+
| No log | 4.0 | 96 | 0.3220 | 0.9167 |
|
71 |
+
| No log | 5.0 | 120 | 0.3962 | 0.875 |
|
72 |
+
| No log | 6.0 | 144 | 0.5551 | 0.875 |
|
73 |
+
| No log | 7.0 | 168 | 0.8597 | 0.875 |
|
74 |
+
| No log | 8.0 | 192 | 0.4610 | 0.9583 |
|
75 |
+
| No log | 9.0 | 216 | 0.9003 | 0.9167 |
|
76 |
+
| No log | 10.0 | 240 | 0.8778 | 0.9167 |
|
77 |
+
| No log | 11.0 | 264 | 0.9036 | 0.9167 |
|
78 |
+
| No log | 12.0 | 288 | 0.9188 | 0.9167 |
|
79 |
+
| No log | 13.0 | 312 | 1.0192 | 0.9167 |
|
80 |
+
| No log | 14.0 | 336 | 0.9984 | 0.9167 |
|
81 |
+
| No log | 15.0 | 360 | 0.9718 | 0.9167 |
|
82 |
+
| No log | 16.0 | 384 | 0.9882 | 0.9167 |
|
83 |
+
| No log | 17.0 | 408 | 1.0189 | 0.9167 |
|
84 |
+
| No log | 18.0 | 432 | 1.0210 | 0.9167 |
|
85 |
+
| No log | 19.0 | 456 | 1.0211 | 0.9167 |
|
86 |
+
| No log | 20.0 | 480 | 1.0213 | 0.9167 |
|
87 |
+
|
88 |
+
|
89 |
+
### Framework versions
|
90 |
+
|
91 |
+
- Transformers 4.35.2
|
92 |
+
- Pytorch 1.10.1+cu102
|
93 |
+
- Datasets 2.15.0
|
94 |
+
- Tokenizers 0.15.0
|
config.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "gpt2",
|
3 |
+
"activation_function": "gelu_new",
|
4 |
+
"architectures": [
|
5 |
+
"GPT2ForSequenceClassification"
|
6 |
+
],
|
7 |
+
"attn_pdrop": 0.1,
|
8 |
+
"bos_token_id": 50256,
|
9 |
+
"embd_pdrop": 0.1,
|
10 |
+
"eos_token_id": 50256,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"layer_norm_epsilon": 1e-05,
|
13 |
+
"model_type": "gpt2",
|
14 |
+
"n_ctx": 1024,
|
15 |
+
"n_embd": 768,
|
16 |
+
"n_head": 12,
|
17 |
+
"n_inner": null,
|
18 |
+
"n_layer": 12,
|
19 |
+
"n_positions": 1024,
|
20 |
+
"pad_token_id": 50256,
|
21 |
+
"problem_type": "single_label_classification",
|
22 |
+
"reorder_and_upcast_attn": false,
|
23 |
+
"resid_pdrop": 0.1,
|
24 |
+
"scale_attn_by_inverse_layer_idx": false,
|
25 |
+
"scale_attn_weights": true,
|
26 |
+
"summary_activation": null,
|
27 |
+
"summary_first_dropout": 0.1,
|
28 |
+
"summary_proj_to_labels": true,
|
29 |
+
"summary_type": "cls_index",
|
30 |
+
"summary_use_proj": true,
|
31 |
+
"task_specific_params": {
|
32 |
+
"text-generation": {
|
33 |
+
"do_sample": true,
|
34 |
+
"max_length": 50
|
35 |
+
}
|
36 |
+
},
|
37 |
+
"torch_dtype": "float32",
|
38 |
+
"transformers_version": "4.35.2",
|
39 |
+
"use_cache": true,
|
40 |
+
"vocab_size": 50257
|
41 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:693f2e504891d0847d7777f2da52d214100643582e665f7d826a8f2b482890be
|
3 |
+
size 497780432
|
runs/Mar22_22-11-11_dsail2/events.out.tfevents.1711159873.dsail2.24990.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:51223685250cba43455aacaa0e5d5d5b964b04d87c9f3d1b6ff821f8e1cdb66b
|
3 |
+
size 11269
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bca235d646340f8659bc38f2711001772e2c74862dc74c5e6ccc4eed93f69cfd
|
3 |
+
size 4207
|