eskayML/interview_electra
Browse files- README.md +79 -0
- config.json +55 -0
- model.safetensors +3 -0
- runs/Jun03_14-02-02_ae93aebd6432/events.out.tfevents.1717423323.ae93aebd6432.154.1 +3 -0
- runs/Jun03_14-03-40_ae93aebd6432/events.out.tfevents.1717423421.ae93aebd6432.154.2 +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +58 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: mrm8488/electra-small-finetuned-squadv2
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
model-index:
|
9 |
+
- name: interview_electra
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# interview_electra
|
17 |
+
|
18 |
+
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.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 1.3918
|
21 |
+
- Accuracy: 0.7261
|
22 |
+
|
23 |
+
## Model description
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Intended uses & limitations
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training and evaluation data
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training procedure
|
36 |
+
|
37 |
+
### Training hyperparameters
|
38 |
+
|
39 |
+
The following hyperparameters were used during training:
|
40 |
+
- learning_rate: 2e-05
|
41 |
+
- train_batch_size: 2
|
42 |
+
- eval_batch_size: 2
|
43 |
+
- seed: 42
|
44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
+
- lr_scheduler_type: linear
|
46 |
+
- num_epochs: 20
|
47 |
+
|
48 |
+
### Training results
|
49 |
+
|
50 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
51 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
52 |
+
| No log | 1.0 | 79 | 2.2793 | 0.1720 |
|
53 |
+
| No log | 2.0 | 158 | 2.2569 | 0.2102 |
|
54 |
+
| No log | 3.0 | 237 | 2.2141 | 0.2866 |
|
55 |
+
| No log | 4.0 | 316 | 2.1554 | 0.3121 |
|
56 |
+
| No log | 5.0 | 395 | 2.0661 | 0.5096 |
|
57 |
+
| No log | 6.0 | 474 | 1.9949 | 0.5669 |
|
58 |
+
| 2.2016 | 7.0 | 553 | 1.9088 | 0.5987 |
|
59 |
+
| 2.2016 | 8.0 | 632 | 1.8361 | 0.5605 |
|
60 |
+
| 2.2016 | 9.0 | 711 | 1.7648 | 0.6306 |
|
61 |
+
| 2.2016 | 10.0 | 790 | 1.7013 | 0.6561 |
|
62 |
+
| 2.2016 | 11.0 | 869 | 1.6548 | 0.6115 |
|
63 |
+
| 2.2016 | 12.0 | 948 | 1.5916 | 0.6943 |
|
64 |
+
| 1.812 | 13.0 | 1027 | 1.5425 | 0.6943 |
|
65 |
+
| 1.812 | 14.0 | 1106 | 1.5137 | 0.7006 |
|
66 |
+
| 1.812 | 15.0 | 1185 | 1.4722 | 0.7261 |
|
67 |
+
| 1.812 | 16.0 | 1264 | 1.4426 | 0.7197 |
|
68 |
+
| 1.812 | 17.0 | 1343 | 1.4216 | 0.7197 |
|
69 |
+
| 1.812 | 18.0 | 1422 | 1.4061 | 0.7325 |
|
70 |
+
| 1.5304 | 19.0 | 1501 | 1.3961 | 0.7325 |
|
71 |
+
| 1.5304 | 20.0 | 1580 | 1.3918 | 0.7261 |
|
72 |
+
|
73 |
+
|
74 |
+
### Framework versions
|
75 |
+
|
76 |
+
- Transformers 4.41.1
|
77 |
+
- Pytorch 2.3.0+cu121
|
78 |
+
- Datasets 2.19.2
|
79 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "Value equation",
|
14 |
+
"1": "Credentialing / Quality Assurance Infrastructure",
|
15 |
+
"2": "Finanicial Impact",
|
16 |
+
"3": "Health System Characteristics",
|
17 |
+
"4": "Clinical utility & efficiency-Provider perspective",
|
18 |
+
"5": "Workflow related problems",
|
19 |
+
"6": "Provider Characteristics",
|
20 |
+
"7": "Training",
|
21 |
+
"8": "Patient/Physican interaction in LUS",
|
22 |
+
"9": "Imaging modalities in general"
|
23 |
+
},
|
24 |
+
"initializer_range": 0.02,
|
25 |
+
"intermediate_size": 1024,
|
26 |
+
"label2id": {
|
27 |
+
"Clinical utility & efficiency-Provider perspective": 4,
|
28 |
+
"Credentialing / Quality Assurance Infrastructure": 1,
|
29 |
+
"Finanicial Impact": 2,
|
30 |
+
"Health System Characteristics": 3,
|
31 |
+
"Imaging modalities in general": 9,
|
32 |
+
"Patient/Physican interaction in LUS": 8,
|
33 |
+
"Provider Characteristics": 6,
|
34 |
+
"Training": 7,
|
35 |
+
"Value equation": 0,
|
36 |
+
"Workflow related problems": 5
|
37 |
+
},
|
38 |
+
"layer_norm_eps": 1e-12,
|
39 |
+
"max_position_embeddings": 512,
|
40 |
+
"model_type": "electra",
|
41 |
+
"num_attention_heads": 4,
|
42 |
+
"num_hidden_layers": 12,
|
43 |
+
"pad_token_id": 0,
|
44 |
+
"position_embedding_type": "absolute",
|
45 |
+
"problem_type": "single_label_classification",
|
46 |
+
"summary_activation": "gelu",
|
47 |
+
"summary_last_dropout": 0.1,
|
48 |
+
"summary_type": "first",
|
49 |
+
"summary_use_proj": true,
|
50 |
+
"torch_dtype": "float32",
|
51 |
+
"transformers_version": "4.41.1",
|
52 |
+
"type_vocab_size": 2,
|
53 |
+
"use_cache": true,
|
54 |
+
"vocab_size": 30522
|
55 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3256ccee7c54ed91f76c0961e16713673deaa45fda905519bf0076b18b92385c
|
3 |
+
size 54229432
|
runs/Jun03_14-02-02_ae93aebd6432/events.out.tfevents.1717423323.ae93aebd6432.154.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:774e380d4be8d01eabcef9da0691b40fe6f579cc27de99937331e6ebde83e89e
|
3 |
+
size 6105
|
runs/Jun03_14-03-40_ae93aebd6432/events.out.tfevents.1717423421.ae93aebd6432.154.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:590ef32a1b7e250f4f4c3af56cb8b4a900e305d66504604630215e5919968691
|
3 |
+
size 13229
|
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:730a70e966adc43050536a96f84b724c667993f45cc633d476784af89f06405d
|
3 |
+
size 5112
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|