eskayML commited on
Commit
9f57adb
1 Parent(s): 7cd7a5d

eskayML/electra_interview_new

Browse files
README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: mrm8488/electra-small-finetuned-squadv2
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ model-index:
10
+ - name: electra_interview_new
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # electra_interview_new
18
+
19
+ This model is a fine-tuned version of [mrm8488/electra-small-finetuned-squadv2](https://huggingface.co/mrm8488/electra-small-finetuned-squadv2) on the None dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 1.4404
22
+ - Accuracy: 0.5658
23
+
24
+ ## Model description
25
+
26
+ More information needed
27
+
28
+ ## Intended uses & limitations
29
+
30
+ More information needed
31
+
32
+ ## Training and evaluation data
33
+
34
+ More information needed
35
+
36
+ ## Training procedure
37
+
38
+ ### Training hyperparameters
39
+
40
+ The following hyperparameters were used during training:
41
+ - learning_rate: 2e-05
42
+ - train_batch_size: 2
43
+ - eval_batch_size: 2
44
+ - seed: 42
45
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
46
+ - lr_scheduler_type: linear
47
+ - num_epochs: 10
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
52
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
53
+ | 2.7407 | 1.0 | 759 | 2.4745 | 0.2270 |
54
+ | 2.4522 | 2.0 | 1518 | 2.4164 | 0.2270 |
55
+ | 2.4115 | 3.0 | 2277 | 2.3080 | 0.25 |
56
+ | 2.2666 | 4.0 | 3036 | 2.1030 | 0.3947 |
57
+ | 2.1421 | 5.0 | 3795 | 1.9180 | 0.4342 |
58
+ | 1.9628 | 6.0 | 4554 | 1.7503 | 0.4836 |
59
+ | 1.8452 | 7.0 | 5313 | 1.5931 | 0.5164 |
60
+ | 1.7014 | 8.0 | 6072 | 1.5194 | 0.5691 |
61
+ | 1.6226 | 9.0 | 6831 | 1.4557 | 0.5592 |
62
+ | 1.5557 | 10.0 | 7590 | 1.4404 | 0.5658 |
63
+
64
+
65
+ ### Framework versions
66
+
67
+ - Transformers 4.44.2
68
+ - Pytorch 2.4.0+cu121
69
+ - Datasets 3.0.0
70
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "mrm8488/electra-small-finetuned-squadv2",
3
+ "architectures": [
4
+ "ElectraForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "embedding_size": 128,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 256,
12
+ "id2label": {
13
+ "0": "ALGORITHM",
14
+ "1": "COMANAGEMENT",
15
+ "2": "COMPETING PRIORITIES",
16
+ "3": "COST",
17
+ "4": "COVID",
18
+ "5": "EHR",
19
+ "6": "GUIDELINES",
20
+ "7": "HFREF COMFORT MANAGING",
21
+ "8": "INFO NEEDS",
22
+ "9": "INTERNAL & EXTERNAL SUPPORT BAR",
23
+ "10": "JUICY QUOTE",
24
+ "11": "MAGIC WAND",
25
+ "12": "MED MANAGEMENT",
26
+ "13": "OTHER",
27
+ "14": "PATIENT DIGITAL TOOLS",
28
+ "15": "PATIENTS",
29
+ "16": "PROVIDER EDUCATION",
30
+ "17": "ROLE OF OTHER STAFF",
31
+ "18": "TIME CONSTRAINTS",
32
+ "19": "WORKFLOW"
33
+ },
34
+ "initializer_range": 0.02,
35
+ "intermediate_size": 1024,
36
+ "label2id": {
37
+ "ALGORITHM": 0,
38
+ "COMANAGEMENT": 1,
39
+ "COMPETING PRIORITIES": 2,
40
+ "COST": 3,
41
+ "COVID": 4,
42
+ "EHR": 5,
43
+ "GUIDELINES": 6,
44
+ "HFREF COMFORT MANAGING": 7,
45
+ "INFO NEEDS": 8,
46
+ "INTERNAL & EXTERNAL SUPPORT BAR": 9,
47
+ "JUICY QUOTE": 10,
48
+ "MAGIC WAND": 11,
49
+ "MED MANAGEMENT": 12,
50
+ "OTHER": 13,
51
+ "PATIENT DIGITAL TOOLS": 14,
52
+ "PATIENTS": 15,
53
+ "PROVIDER EDUCATION": 16,
54
+ "ROLE OF OTHER STAFF": 17,
55
+ "TIME CONSTRAINTS": 18,
56
+ "WORKFLOW": 19
57
+ },
58
+ "layer_norm_eps": 1e-12,
59
+ "max_position_embeddings": 512,
60
+ "model_type": "electra",
61
+ "num_attention_heads": 4,
62
+ "num_hidden_layers": 12,
63
+ "pad_token_id": 0,
64
+ "position_embedding_type": "absolute",
65
+ "problem_type": "single_label_classification",
66
+ "summary_activation": "gelu",
67
+ "summary_last_dropout": 0.1,
68
+ "summary_type": "first",
69
+ "summary_use_proj": true,
70
+ "torch_dtype": "float32",
71
+ "transformers_version": "4.44.2",
72
+ "type_vocab_size": 2,
73
+ "use_cache": true,
74
+ "vocab_size": 30522
75
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ade0e6a5e7dc819af1684a872a6e37e93904d90f4914e91584f8700fc9416d48
3
+ size 54239712
runs/Sep13_14-20-46_0294381cf3b7/events.out.tfevents.1726237247.0294381cf3b7.540.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b93ac2f4423569287e5d90f98ea1d8380003a17b9e4b83f6103e5a8fca79cb9
3
+ size 6328
runs/Sep13_14-21-18_0294381cf3b7/events.out.tfevents.1726237279.0294381cf3b7.540.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c01f7f335cd40707d546eaca6d2444d3facb7f002032ca633f247cca1fcef657
3
+ size 6117
runs/Sep13_14-21-34_0294381cf3b7/events.out.tfevents.1726237295.0294381cf3b7.540.4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:45faed65c34dfff1f2723ca23836d0cf9d165c52cfb964fd7c255dc80bc1826d
3
+ size 12866
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": true,
48
+ "mask_token": "[MASK]",
49
+ "max_length": 512,
50
+ "model_max_length": 512,
51
+ "never_split": null,
52
+ "pad_token": "[PAD]",
53
+ "sep_token": "[SEP]",
54
+ "strip_accents": null,
55
+ "tokenize_chinese_chars": true,
56
+ "tokenizer_class": "ElectraTokenizer",
57
+ "unk_token": "[UNK]"
58
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd4923ee8086281547d04101798c05f16b4dabaf8621510e6bd400c47b107600
3
+ size 5240
vocab.txt ADDED
The diff for this file is too large to render. See raw diff