Blaine-Mason commited on
Commit
3d8909b
1 Parent(s): 681f2b4
.gitignore ADDED
@@ -0,0 +1 @@
 
1
+ checkpoint-*/
README.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - generated_from_trainer
4
+ datasets:
5
+ - glue
6
+ metrics:
7
+ - accuracy
8
+ model_index:
9
+ - name: hackMIT-finetuned-sst2
10
+ results:
11
+ - task:
12
+ name: Text Classification
13
+ type: text-classification
14
+ dataset:
15
+ name: glue
16
+ type: glue
17
+ args: sst2
18
+ metric:
19
+ name: Accuracy
20
+ type: accuracy
21
+ value: 0.786697247706422
22
+ ---
23
+
24
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
25
+ should probably proofread and complete it, then remove this comment. -->
26
+
27
+ # hackMIT-finetuned-sst2
28
+
29
+ This model is a fine-tuned version of [HackMIT/double-agent](https://huggingface.co/HackMIT/double-agent) on the glue dataset.
30
+ It achieves the following results on the evaluation set:
31
+ - Loss: 1.3250
32
+ - Accuracy: 0.7867
33
+
34
+ ## Model description
35
+
36
+ More information needed
37
+
38
+ ## Intended uses & limitations
39
+
40
+ More information needed
41
+
42
+ ## Training and evaluation data
43
+
44
+ More information needed
45
+
46
+ ## Training procedure
47
+
48
+ ### Training hyperparameters
49
+
50
+ The following hyperparameters were used during training:
51
+ - learning_rate: 2e-05
52
+ - train_batch_size: 16
53
+ - eval_batch_size: 16
54
+ - seed: 42
55
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
56
+ - lr_scheduler_type: linear
57
+ - num_epochs: 5
58
+
59
+ ### Training results
60
+
61
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
62
+ |:-------------:|:-----:|:-----:|:---------------:|:--------:|
63
+ | 0.0673 | 1.0 | 4210 | 1.3312 | 0.7787 |
64
+ | 0.0804 | 2.0 | 8420 | 1.3250 | 0.7867 |
65
+ | 0.0594 | 3.0 | 12630 | 1.3437 | 0.7867 |
66
+ | 0.0602 | 4.0 | 16840 | 1.3437 | 0.7867 |
67
+ | 0.0627 | 5.0 | 21050 | 1.3437 | 0.7867 |
68
+
69
+
70
+ ### Framework versions
71
+
72
+ - Transformers 4.9.2
73
+ - Pytorch 1.9.0+cu102
74
+ - Datasets 1.11.0
75
+ - Tokenizers 0.10.3
config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "HackMIT/double-agent",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "gradient_checkpointing": false,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 128,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 512,
13
+ "layer_norm_eps": 1e-12,
14
+ "max_position_embeddings": 512,
15
+ "model_type": "bert",
16
+ "num_attention_heads": 2,
17
+ "num_hidden_layers": 2,
18
+ "pad_token_id": 0,
19
+ "position_embedding_type": "absolute",
20
+ "problem_type": "single_label_classification",
21
+ "torch_dtype": "float32",
22
+ "transformers_version": "4.9.2",
23
+ "type_vocab_size": 2,
24
+ "use_cache": true,
25
+ "vocab_size": 30522
26
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6fb3b39c9687b513dd7387ed5c0d5d37c8ba088a0e4cb2da8fbc8713eac22e57
3
+ size 17564583
runs/Aug23_01-54-17_a81d125a81bf/1629684030.3332376/events.out.tfevents.1629684030.a81d125a81bf.75.11 ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d4e486e4cf4565d4d0674bbc8cd71c51d902a039ba1d52dd13f0c4b9bfb7b447
3
+ size 4193
runs/Aug23_01-54-17_a81d125a81bf/1629684111.6883879/events.out.tfevents.1629684111.a81d125a81bf.75.13 ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b1c9733d2180a468e6df9abca2973c7112d7d97a4a21ef23d81a5f88a673333c
3
+ size 4193
runs/Aug23_01-54-17_a81d125a81bf/1629684300.576347/events.out.tfevents.1629684300.a81d125a81bf.75.15 ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e48f288a5f77ca507345bd032bc985ff2e798b8da6da4ca2c40ab6dda83948e7
3
+ size 4193
runs/Aug23_01-54-17_a81d125a81bf/events.out.tfevents.1629684030.a81d125a81bf.75.10 ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ff894a6086bd6facbf7a0e2ae4cf8efec56b0f537795ef173bd87f3123d009a
3
+ size 4268
runs/Aug23_01-54-17_a81d125a81bf/events.out.tfevents.1629684111.a81d125a81bf.75.12 ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:01337671f749d738ec1359fbe6b7ee5306d3084ec9f2faac6f2ee11c1cae8b68
3
+ size 4268
runs/Aug23_01-54-17_a81d125a81bf/events.out.tfevents.1629684300.a81d125a81bf.75.14 ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c277ab25c5eec829c6ae488f5d68161d5cc9fe3fc31f424fdc5babcfccc916a3
3
+ size 11623
runs/Aug23_01-54-17_a81d125a81bf/events.out.tfevents.1629684672.a81d125a81bf.75.16 ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f82cdc49a946e931fb11edc46455772cce02215841bd5a6e9ad131b2cc95e199
3
+ size 369
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": true, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "special_tokens_map_file": null, "name_or_path": "HackMIT/double-agent", "do_basic_tokenize": true, "never_split": null, "tokenizer_class": "BertTokenizer"}
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec69fef0beb204e2c8074d6b4172d00067b695337c24390e691e13cb77b03011
3
+ size 2671
vocab.txt ADDED
The diff for this file is too large to render. See raw diff