mfuntowicz HF staff commited on
Commit
df9e522
1 Parent(s): c23ad3c

Initial commit

Browse files
.gitattributes CHANGED
@@ -6,3 +6,4 @@
6
  *.tar.gz filter=lfs diff=lfs merge=lfs -text
7
  *.ot filter=lfs diff=lfs merge=lfs -text
8
  *.onnx filter=lfs diff=lfs merge=lfs -text
 
 
6
  *.tar.gz filter=lfs diff=lfs merge=lfs -text
7
  *.ot filter=lfs diff=lfs merge=lfs -text
8
  *.onnx filter=lfs diff=lfs merge=lfs -text
9
+ pytorch_model.bin filter=lfs diff=lfs merge=lfs -text
config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bert-base-cased",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "finetuning_task": "sst2",
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 3072,
14
+ "layer_norm_eps": 1e-12,
15
+ "max_position_embeddings": 512,
16
+ "model_type": "bert",
17
+ "num_attention_heads": 12,
18
+ "num_hidden_layers": 12,
19
+ "pad_token_id": 0,
20
+ "position_embedding_type": "absolute",
21
+ "type_vocab_size": 2,
22
+ "vocab_size": 28996,
23
+ "id2label": {
24
+ 0: "NEGATIVE",
25
+ 1: "POSITIVE"
26
+ },
27
+ "label2id": {
28
+ "NEGATIVE": 0,
29
+ "POSITIVE": 1
30
+ }
31
+ }
eval_results_sst2.txt ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ epoch = 3.0
2
+ eval_accuracy = 0.9162844036697247
3
+ eval_loss = 0.27853715419769287
4
+ eval_runtime = 1.7949
5
+ eval_samples_per_second = 485.827
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4878e659aafaf7120d59ba2b3ff8fec90598f6a9cda3d747ee99c99765f28e9b
3
+ size 433336585
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_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, "name_or_path": "bert-base-cased"}
train_results.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ epoch = 3.0
2
+ train_runtime = 488.8595
3
+ train_samples_per_second = 6.462
trainer_state.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 3.0,
5
+ "global_step": 3159,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 0.4748338081671415,
12
+ "learning_rate": 1.6834441278885725e-05,
13
+ "loss": 0.2771715087890625,
14
+ "step": 500
15
+ },
16
+ {
17
+ "epoch": 0.949667616334283,
18
+ "learning_rate": 1.3668882557771448e-05,
19
+ "loss": 0.17857017517089843,
20
+ "step": 1000
21
+ },
22
+ {
23
+ "epoch": 1.4245014245014245,
24
+ "learning_rate": 1.0503323836657171e-05,
25
+ "loss": 0.1144794921875,
26
+ "step": 1500
27
+ },
28
+ {
29
+ "epoch": 1.899335232668566,
30
+ "learning_rate": 7.337765115542894e-06,
31
+ "loss": 0.11068717193603515,
32
+ "step": 2000
33
+ },
34
+ {
35
+ "epoch": 2.3741690408357075,
36
+ "learning_rate": 4.172206394428617e-06,
37
+ "loss": 0.08253809356689454,
38
+ "step": 2500
39
+ },
40
+ {
41
+ "epoch": 2.849002849002849,
42
+ "learning_rate": 1.00664767331434e-06,
43
+ "loss": 0.07098492431640625,
44
+ "step": 3000
45
+ },
46
+ {
47
+ "epoch": 3.0,
48
+ "step": 3159,
49
+ "train_runtime": 488.8595,
50
+ "train_samples_per_second": 6.462
51
+ }
52
+ ],
53
+ "max_steps": 3159,
54
+ "num_train_epochs": 3,
55
+ "total_flos": 16806970579253760,
56
+ "trial_name": null,
57
+ "trial_params": null
58
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ff23c39bfebf28e3a250908facd0f0befde2af0bd4a33a5b98f6992aeb17d9c
3
+ size 1839
vocab.txt ADDED
The diff for this file is too large to render. See raw diff