add model
Browse files- .gitignore +1 -0
- README.md +70 -0
- config.json +36 -0
- pytorch_model.bin +3 -0
- runs/Dec29_23-28-20_DESKTOP-QEJTC97/1640816935.7341359/events.out.tfevents.1640816935.DESKTOP-QEJTC97.16524.1 +3 -0
- runs/Dec29_23-28-20_DESKTOP-QEJTC97/1640818824.9027493/events.out.tfevents.1640818824.DESKTOP-QEJTC97.16524.4 +3 -0
- runs/Dec29_23-28-20_DESKTOP-QEJTC97/events.out.tfevents.1640816935.DESKTOP-QEJTC97.16524.0 +3 -0
- runs/Dec29_23-28-20_DESKTOP-QEJTC97/events.out.tfevents.1640818741.DESKTOP-QEJTC97.16524.2 +3 -0
- runs/Dec29_23-28-20_DESKTOP-QEJTC97/events.out.tfevents.1640818824.DESKTOP-QEJTC97.16524.3 +3 -0
- runs/Dec29_23-28-20_DESKTOP-QEJTC97/events.out.tfevents.1640820655.DESKTOP-QEJTC97.16524.5 +3 -0
- special_tokens_map.json +1 -0
- tokenizer.json +0 -0
- tokenizer_config.json +1 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
checkpoint-*/
|
README.md
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- generated_from_trainer
|
4 |
+
metrics:
|
5 |
+
- spearmanr
|
6 |
+
model-index:
|
7 |
+
- name: koelectra-sts-v0.4
|
8 |
+
results:
|
9 |
+
- task:
|
10 |
+
name: Text Classification
|
11 |
+
type: text-classification
|
12 |
+
metrics:
|
13 |
+
- name: Spearmanr
|
14 |
+
type: spearmanr
|
15 |
+
value: 0.9286505242442783
|
16 |
+
---
|
17 |
+
|
18 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
19 |
+
should probably proofread and complete it, then remove this comment. -->
|
20 |
+
|
21 |
+
# koelectra-sts-v0.4
|
22 |
+
|
23 |
+
This model was trained from scratch on an unknown dataset.
|
24 |
+
It achieves the following results on the evaluation set:
|
25 |
+
- Loss: 0.3368
|
26 |
+
- Pearson: 0.9303
|
27 |
+
- Spearmanr: 0.9287
|
28 |
+
|
29 |
+
## Model description
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Intended uses & limitations
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training and evaluation data
|
38 |
+
|
39 |
+
More information needed
|
40 |
+
|
41 |
+
## Training procedure
|
42 |
+
|
43 |
+
### Training hyperparameters
|
44 |
+
|
45 |
+
The following hyperparameters were used during training:
|
46 |
+
- learning_rate: 2e-05
|
47 |
+
- train_batch_size: 16
|
48 |
+
- eval_batch_size: 16
|
49 |
+
- seed: 42
|
50 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
51 |
+
- lr_scheduler_type: linear
|
52 |
+
- num_epochs: 5
|
53 |
+
|
54 |
+
### Training results
|
55 |
+
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss | Pearson | Spearmanr |
|
57 |
+
|:-------------:|:-----:|:----:|:---------------:|:-------:|:---------:|
|
58 |
+
| 0.0345 | 1.0 | 730 | 0.3368 | 0.9303 | 0.9287 |
|
59 |
+
| 0.0343 | 2.0 | 1460 | 0.3368 | 0.9303 | 0.9287 |
|
60 |
+
| 0.0337 | 3.0 | 2190 | 0.3368 | 0.9303 | 0.9287 |
|
61 |
+
| 0.0345 | 4.0 | 2920 | 0.3368 | 0.9303 | 0.9287 |
|
62 |
+
| 0.0347 | 5.0 | 3650 | 0.3368 | 0.9303 | 0.9287 |
|
63 |
+
|
64 |
+
|
65 |
+
### Framework versions
|
66 |
+
|
67 |
+
- Transformers 4.10.0
|
68 |
+
- Pytorch 1.10.1+cu113
|
69 |
+
- Datasets 1.17.0
|
70 |
+
- Tokenizers 0.10.3
|
config.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "./koelectra-sts-v0.3/checkpoint-7560",
|
3 |
+
"architectures": [
|
4 |
+
"ElectraForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"embedding_size": 768,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"id2label": {
|
13 |
+
"0": "LABEL_0"
|
14 |
+
},
|
15 |
+
"initializer_range": 0.02,
|
16 |
+
"intermediate_size": 3072,
|
17 |
+
"label2id": {
|
18 |
+
"LABEL_0": 0
|
19 |
+
},
|
20 |
+
"layer_norm_eps": 1e-12,
|
21 |
+
"max_position_embeddings": 512,
|
22 |
+
"model_type": "electra",
|
23 |
+
"num_attention_heads": 12,
|
24 |
+
"num_hidden_layers": 12,
|
25 |
+
"pad_token_id": 0,
|
26 |
+
"position_embedding_type": "absolute",
|
27 |
+
"problem_type": "regression",
|
28 |
+
"summary_activation": "gelu",
|
29 |
+
"summary_last_dropout": 0.1,
|
30 |
+
"summary_type": "first",
|
31 |
+
"summary_use_proj": true,
|
32 |
+
"torch_dtype": "float32",
|
33 |
+
"transformers_version": "4.10.0",
|
34 |
+
"type_vocab_size": 2,
|
35 |
+
"vocab_size": 35000
|
36 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:21822f34855cc24298e12fc0208f4e013cfd2af01b540ad8554507d2c3d2deef
|
3 |
+
size 451773805
|
runs/Dec29_23-28-20_DESKTOP-QEJTC97/1640816935.7341359/events.out.tfevents.1640816935.DESKTOP-QEJTC97.16524.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:15302ab6d27f3e4e5f135bc3840e7decfad0107bcbf7f21a5f9c949fac144961
|
3 |
+
size 4218
|
runs/Dec29_23-28-20_DESKTOP-QEJTC97/1640818824.9027493/events.out.tfevents.1640818824.DESKTOP-QEJTC97.16524.4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c06ff6fdb86da714143319af68ff5c3789cd0023c607f3d742a5ca00e9590e46
|
3 |
+
size 4218
|
runs/Dec29_23-28-20_DESKTOP-QEJTC97/events.out.tfevents.1640816935.DESKTOP-QEJTC97.16524.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5e4557ac7758579037b44127979348e1349557aebeb9234e2865a3a7995928cf
|
3 |
+
size 6571
|
runs/Dec29_23-28-20_DESKTOP-QEJTC97/events.out.tfevents.1640818741.DESKTOP-QEJTC97.16524.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:32b6b6814beea4a0191528827d05dd1f48a3ee793ba13a024b25cc92b339d131
|
3 |
+
size 415
|
runs/Dec29_23-28-20_DESKTOP-QEJTC97/events.out.tfevents.1640818824.DESKTOP-QEJTC97.16524.3
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3029a7965fbe30377e97f06d87c4e9b91cf4ee8e96b69644ab07ed09e9bd8e46
|
3 |
+
size 6571
|
runs/Dec29_23-28-20_DESKTOP-QEJTC97/events.out.tfevents.1640820655.DESKTOP-QEJTC97.16524.5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2cb0cf75a0305e2858753b75e868782d4aeeac70f7f6749c9bba9b845a0923d5
|
3 |
+
size 415
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"do_lower_case": false, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "./koelectra-sts-v0.3/checkpoint-7560", "do_basic_tokenize": true, "never_split": null, "tokenizer_class": "ElectraTokenizer"}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e3bb9863e423c9fc0cb861ca5cdc430eb8d19f09f344ea51995ad8132991c18d
|
3 |
+
size 2671
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|