jialicheng
commited on
Commit
•
8a055ed
1
Parent(s):
60f34cd
Upload folder using huggingface_hub
Browse files- README.md +55 -0
- all_results.json +14 -0
- config.json +37 -0
- eval_results.json +8 -0
- merges.txt +0 -0
- pred_logit_eval.npy +3 -0
- pred_logit_test.npy +3 -0
- pred_logit_train.npy +3 -0
- pytorch_model.bin +3 -0
- runs/Apr17_12-17-05_clu/events.out.tfevents.1713356299.clu +3 -0
- runs/Apr21_15-20-00_clu/events.out.tfevents.1713712904.clu +3 -0
- runs/Apr21_16-02-15_clu/events.out.tfevents.1713715403.clu +3 -0
- runs/Mar18_08-01-48_clu/1710748936.2625425/events.out.tfevents.1710748936.clu +3 -0
- runs/Mar18_08-01-48_clu/events.out.tfevents.1710748936.clu +3 -0
- runs/Mar18_08-01-48_clu/events.out.tfevents.1710749738.clu +3 -0
- special_tokens_map.json +15 -0
- test_results.json +8 -0
- tokenizer.json +0 -0
- tokenizer_config.json +15 -0
- train_results.json +8 -0
- trainer_state.json +157 -0
- training_args.bin +3 -0
- vocab.json +0 -0
README.md
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: FacebookAI/roberta-base
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: imdb_42
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
12 |
+
should probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
# imdb_42
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [FacebookAI/roberta-base](https://huggingface.co/FacebookAI/roberta-base) on an unknown dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- eval_loss: 0.0110
|
19 |
+
- eval_accuracy: 0.9985
|
20 |
+
- eval_runtime: 53.5598
|
21 |
+
- eval_samples_per_second: 466.768
|
22 |
+
- eval_steps_per_second: 1.83
|
23 |
+
- step: 0
|
24 |
+
|
25 |
+
## Model description
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Intended uses & limitations
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training and evaluation data
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training procedure
|
38 |
+
|
39 |
+
### Training hyperparameters
|
40 |
+
|
41 |
+
The following hyperparameters were used during training:
|
42 |
+
- learning_rate: 5e-05
|
43 |
+
- train_batch_size: 32
|
44 |
+
- eval_batch_size: 256
|
45 |
+
- seed: 42
|
46 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
47 |
+
- lr_scheduler_type: linear
|
48 |
+
- num_epochs: 10
|
49 |
+
|
50 |
+
### Framework versions
|
51 |
+
|
52 |
+
- Transformers 4.39.3
|
53 |
+
- Pytorch 2.2.2+cu118
|
54 |
+
- Datasets 2.18.0
|
55 |
+
- Tokenizers 0.15.2
|
all_results.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 10.0,
|
3 |
+
"eval_accuracy": 0.99852,
|
4 |
+
"eval_loss": 0.010997462086379528,
|
5 |
+
"eval_runtime": 53.5598,
|
6 |
+
"eval_samples": 25000,
|
7 |
+
"eval_samples_per_second": 466.768,
|
8 |
+
"eval_steps_per_second": 1.83,
|
9 |
+
"train_loss": 0.09933292054764145,
|
10 |
+
"train_runtime": 786.2572,
|
11 |
+
"train_samples": 25000,
|
12 |
+
"train_samples_per_second": 317.962,
|
13 |
+
"train_steps_per_second": 9.946
|
14 |
+
}
|
config.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "FacebookAI/roberta-base",
|
3 |
+
"architectures": [
|
4 |
+
"RobertaForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"finetuning_task": "text-classification",
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_dropout_prob": 0.1,
|
13 |
+
"hidden_size": 768,
|
14 |
+
"id2label": {
|
15 |
+
"0": "0",
|
16 |
+
"1": "1"
|
17 |
+
},
|
18 |
+
"initializer_range": 0.02,
|
19 |
+
"intermediate_size": 3072,
|
20 |
+
"label2id": {
|
21 |
+
"0": 0,
|
22 |
+
"1": 1
|
23 |
+
},
|
24 |
+
"layer_norm_eps": 1e-05,
|
25 |
+
"max_position_embeddings": 514,
|
26 |
+
"model_type": "roberta",
|
27 |
+
"num_attention_heads": 12,
|
28 |
+
"num_hidden_layers": 12,
|
29 |
+
"pad_token_id": 1,
|
30 |
+
"position_embedding_type": "absolute",
|
31 |
+
"problem_type": "single_label_classification",
|
32 |
+
"torch_dtype": "float32",
|
33 |
+
"transformers_version": "4.28.0",
|
34 |
+
"type_vocab_size": 1,
|
35 |
+
"use_cache": true,
|
36 |
+
"vocab_size": 50265
|
37 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"eval_accuracy": 0.90452,
|
3 |
+
"eval_loss": 0.5969864726066589,
|
4 |
+
"eval_runtime": 58.5801,
|
5 |
+
"eval_samples": 25000,
|
6 |
+
"eval_samples_per_second": 426.766,
|
7 |
+
"eval_steps_per_second": 1.673
|
8 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
pred_logit_eval.npy
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4eaff8b93755060313577ea8fe208f1ab23b1d4b5cd805696bfc82f9acd968eb
|
3 |
+
size 200128
|
pred_logit_test.npy
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4eaff8b93755060313577ea8fe208f1ab23b1d4b5cd805696bfc82f9acd968eb
|
3 |
+
size 200128
|
pred_logit_train.npy
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:53f160dd906fa7e7f76652c228f3b14a569f926afae19079c8f8b058514b1911
|
3 |
+
size 200128
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fc68c463572fed1e3d80d95207cef3d4bf34ac2081126230528e55268a612168
|
3 |
+
size 498660333
|
runs/Apr17_12-17-05_clu/events.out.tfevents.1713356299.clu
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:659ceceacff6eaa1b2e232b979f39b12c61318664ca1c3a58d645b19fad16e26
|
3 |
+
size 298
|
runs/Apr21_15-20-00_clu/events.out.tfevents.1713712904.clu
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fa54ea778593112b3a835580c9b11c348c91d97d84dbde2e6c3a47e02b367214
|
3 |
+
size 814
|
runs/Apr21_16-02-15_clu/events.out.tfevents.1713715403.clu
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e6efe41cdacd466b2fcb060477fad2da955a4dd6e1932d88cbae4eea10ff918a
|
3 |
+
size 814
|
runs/Mar18_08-01-48_clu/1710748936.2625425/events.out.tfevents.1710748936.clu
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:26d74ec6401cb427b481e27da67a7bb81ede0fd0fc734923bdfa7590ddb2001c
|
3 |
+
size 5631
|
runs/Mar18_08-01-48_clu/events.out.tfevents.1710748936.clu
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:14ec6e3243e8a7f77f6cc06c6676a7f1c79e70d873de039dc5bb607da825dde3
|
3 |
+
size 8893
|
runs/Mar18_08-01-48_clu/events.out.tfevents.1710749738.clu
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2d7af0114695f29d96fa3eb77cda277b31e3bcc5f56ab763558d397aea9f718c
|
3 |
+
size 363
|
special_tokens_map.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"cls_token": "<s>",
|
4 |
+
"eos_token": "</s>",
|
5 |
+
"mask_token": {
|
6 |
+
"content": "<mask>",
|
7 |
+
"lstrip": true,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false
|
11 |
+
},
|
12 |
+
"pad_token": "<pad>",
|
13 |
+
"sep_token": "</s>",
|
14 |
+
"unk_token": "<unk>"
|
15 |
+
}
|
test_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"eval_accuracy": 0.90452,
|
3 |
+
"eval_loss": 0.5969864726066589,
|
4 |
+
"eval_runtime": 54.749,
|
5 |
+
"eval_samples": 25000,
|
6 |
+
"eval_samples_per_second": 456.629,
|
7 |
+
"eval_steps_per_second": 1.79
|
8 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"bos_token": "<s>",
|
4 |
+
"clean_up_tokenization_spaces": true,
|
5 |
+
"cls_token": "<s>",
|
6 |
+
"eos_token": "</s>",
|
7 |
+
"errors": "replace",
|
8 |
+
"mask_token": "<mask>",
|
9 |
+
"model_max_length": 512,
|
10 |
+
"pad_token": "<pad>",
|
11 |
+
"sep_token": "</s>",
|
12 |
+
"tokenizer_class": "RobertaTokenizer",
|
13 |
+
"trim_offsets": true,
|
14 |
+
"unk_token": "<unk>"
|
15 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"eval_accuracy": 0.99852,
|
3 |
+
"eval_loss": 0.010997462086379528,
|
4 |
+
"eval_runtime": 53.5598,
|
5 |
+
"eval_samples": 25000,
|
6 |
+
"eval_samples_per_second": 466.768,
|
7 |
+
"eval_steps_per_second": 1.83
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,157 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.90448,
|
3 |
+
"best_model_checkpoint": "checkpoint/roberta-base/imdb_42/checkpoint-7820",
|
4 |
+
"epoch": 10.0,
|
5 |
+
"global_step": 7820,
|
6 |
+
"is_hyper_param_search": false,
|
7 |
+
"is_local_process_zero": true,
|
8 |
+
"is_world_process_zero": true,
|
9 |
+
"log_history": [
|
10 |
+
{
|
11 |
+
"epoch": 1.0,
|
12 |
+
"eval_accuracy": 0.89504,
|
13 |
+
"eval_loss": 0.2561816871166229,
|
14 |
+
"eval_runtime": 15.2562,
|
15 |
+
"eval_samples_per_second": 1638.677,
|
16 |
+
"eval_steps_per_second": 6.424,
|
17 |
+
"step": 782
|
18 |
+
},
|
19 |
+
{
|
20 |
+
"epoch": 1.28,
|
21 |
+
"learning_rate": 4.360613810741688e-05,
|
22 |
+
"loss": 0.31,
|
23 |
+
"step": 1000
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 2.0,
|
27 |
+
"eval_accuracy": 0.88456,
|
28 |
+
"eval_loss": 0.27308961749076843,
|
29 |
+
"eval_runtime": 14.8397,
|
30 |
+
"eval_samples_per_second": 1684.673,
|
31 |
+
"eval_steps_per_second": 6.604,
|
32 |
+
"step": 1564
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 2.56,
|
36 |
+
"learning_rate": 3.721227621483376e-05,
|
37 |
+
"loss": 0.1868,
|
38 |
+
"step": 2000
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 3.0,
|
42 |
+
"eval_accuracy": 0.88904,
|
43 |
+
"eval_loss": 0.3969782292842865,
|
44 |
+
"eval_runtime": 14.8251,
|
45 |
+
"eval_samples_per_second": 1686.329,
|
46 |
+
"eval_steps_per_second": 6.61,
|
47 |
+
"step": 2346
|
48 |
+
},
|
49 |
+
{
|
50 |
+
"epoch": 3.84,
|
51 |
+
"learning_rate": 3.081841432225064e-05,
|
52 |
+
"loss": 0.1164,
|
53 |
+
"step": 3000
|
54 |
+
},
|
55 |
+
{
|
56 |
+
"epoch": 4.0,
|
57 |
+
"eval_accuracy": 0.89612,
|
58 |
+
"eval_loss": 0.41772395372390747,
|
59 |
+
"eval_runtime": 14.7947,
|
60 |
+
"eval_samples_per_second": 1689.796,
|
61 |
+
"eval_steps_per_second": 6.624,
|
62 |
+
"step": 3128
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"epoch": 5.0,
|
66 |
+
"eval_accuracy": 0.90036,
|
67 |
+
"eval_loss": 0.41006845235824585,
|
68 |
+
"eval_runtime": 14.7809,
|
69 |
+
"eval_samples_per_second": 1691.378,
|
70 |
+
"eval_steps_per_second": 6.63,
|
71 |
+
"step": 3910
|
72 |
+
},
|
73 |
+
{
|
74 |
+
"epoch": 5.12,
|
75 |
+
"learning_rate": 2.442455242966752e-05,
|
76 |
+
"loss": 0.0645,
|
77 |
+
"step": 4000
|
78 |
+
},
|
79 |
+
{
|
80 |
+
"epoch": 6.0,
|
81 |
+
"eval_accuracy": 0.90156,
|
82 |
+
"eval_loss": 0.4374634325504303,
|
83 |
+
"eval_runtime": 14.7992,
|
84 |
+
"eval_samples_per_second": 1689.277,
|
85 |
+
"eval_steps_per_second": 6.622,
|
86 |
+
"step": 4692
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 6.39,
|
90 |
+
"learning_rate": 1.80306905370844e-05,
|
91 |
+
"loss": 0.041,
|
92 |
+
"step": 5000
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"epoch": 7.0,
|
96 |
+
"eval_accuracy": 0.90168,
|
97 |
+
"eval_loss": 0.5321515202522278,
|
98 |
+
"eval_runtime": 14.7993,
|
99 |
+
"eval_samples_per_second": 1689.271,
|
100 |
+
"eval_steps_per_second": 6.622,
|
101 |
+
"step": 5474
|
102 |
+
},
|
103 |
+
{
|
104 |
+
"epoch": 7.67,
|
105 |
+
"learning_rate": 1.163682864450128e-05,
|
106 |
+
"loss": 0.0283,
|
107 |
+
"step": 6000
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 8.0,
|
111 |
+
"eval_accuracy": 0.90372,
|
112 |
+
"eval_loss": 0.5915437936782837,
|
113 |
+
"eval_runtime": 14.8252,
|
114 |
+
"eval_samples_per_second": 1686.323,
|
115 |
+
"eval_steps_per_second": 6.61,
|
116 |
+
"step": 6256
|
117 |
+
},
|
118 |
+
{
|
119 |
+
"epoch": 8.95,
|
120 |
+
"learning_rate": 5.242966751918159e-06,
|
121 |
+
"loss": 0.0167,
|
122 |
+
"step": 7000
|
123 |
+
},
|
124 |
+
{
|
125 |
+
"epoch": 9.0,
|
126 |
+
"eval_accuracy": 0.90312,
|
127 |
+
"eval_loss": 0.6018744707107544,
|
128 |
+
"eval_runtime": 14.825,
|
129 |
+
"eval_samples_per_second": 1686.339,
|
130 |
+
"eval_steps_per_second": 6.61,
|
131 |
+
"step": 7038
|
132 |
+
},
|
133 |
+
{
|
134 |
+
"epoch": 10.0,
|
135 |
+
"eval_accuracy": 0.90448,
|
136 |
+
"eval_loss": 0.5969827175140381,
|
137 |
+
"eval_runtime": 14.9088,
|
138 |
+
"eval_samples_per_second": 1676.864,
|
139 |
+
"eval_steps_per_second": 6.573,
|
140 |
+
"step": 7820
|
141 |
+
},
|
142 |
+
{
|
143 |
+
"epoch": 10.0,
|
144 |
+
"step": 7820,
|
145 |
+
"total_flos": 1.644444096e+16,
|
146 |
+
"train_loss": 0.09933292054764145,
|
147 |
+
"train_runtime": 786.2572,
|
148 |
+
"train_samples_per_second": 317.962,
|
149 |
+
"train_steps_per_second": 9.946
|
150 |
+
}
|
151 |
+
],
|
152 |
+
"max_steps": 7820,
|
153 |
+
"num_train_epochs": 10,
|
154 |
+
"total_flos": 1.644444096e+16,
|
155 |
+
"trial_name": null,
|
156 |
+
"trial_params": null
|
157 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b37bcf2bbf5ac57bab5ceb03aa8fc57ede5ec04390d1bcdfff0bb7f50e3b5515
|
3 |
+
size 3631
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|